Github user prashanth-vasudev commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/909#discussion_r98937516
--- Diff: core/sql/arkcmp/CompException.cpp ---
@@ -113,11 +114,21 @@ FatalException::FatalException(const char *msg,
else {
msg_[0] = 0;
}
+ if(stackTrace) {
+ strncpy(stackTrace_, stackTrace, sizeof(stackTrace_));
+ stackTrace_[sizeof(stackTrace_)-1] = 0;
--- End diff --
Yes. stackTrace_ and msg_ are declared as stackTrace_[max len] and msg_[max len] in core/sql/arkcmp/CompException.h.
This is part of the diffs in this PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
|