You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2018/01/22 15:53:30 UTC
[3/4] trafodion git commit: fix the bufoverrun Critical error checked
by TScanCode
fix the bufoverrun Critical error checked by TScanCode
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/1fe88907
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/1fe88907
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/1fe88907
Branch: refs/heads/master
Commit: 1fe8890705310df729c35401d53d55531e8e8398
Parents: d6573f9
Author: Kenny <xi...@esgyn.cn>
Authored: Fri Jan 12 04:02:26 2018 +0000
Committer: Kenny <xi...@esgyn.cn>
Committed: Fri Jan 12 04:02:26 2018 +0000
----------------------------------------------------------------------
core/sql/arkcmp/CompException.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/1fe88907/core/sql/arkcmp/CompException.h
----------------------------------------------------------------------
diff --git a/core/sql/arkcmp/CompException.h b/core/sql/arkcmp/CompException.h
index f2cd872..36eb3dd 100644
--- a/core/sql/arkcmp/CompException.h
+++ b/core/sql/arkcmp/CompException.h
@@ -113,8 +113,8 @@ public:
const char * getStackTrace();
virtual void throwException();
private:
- char condition_[EXCEPTION_CONDITION_SIZE];
- char stackTrace_[STACK_TRACE_SIZE];
+ char condition_[EXCEPTION_CONDITION_SIZE + 1];
+ char stackTrace_[STACK_TRACE_SIZE + 1];
};
class OsimLogException : public BaseException{