Github user sandhyasun commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/1006#discussion_r105758126
--- Diff: core/sql/cli/Cli.cpp ---
@@ -9717,7 +9717,7 @@ Lng32 SQLCLI_LOBcliInterface
// set parserflags to allow ghost table
currContext.setSqlParserFlags(0x1);
- Int64 numChunks = 0;
+ Lng32 numChunks = 0;
--- End diff --
This can cause corruption. The len coming back will be 8. So there is a
potential for corruption. The rowcount which is the container needed to hold
the return value needs to be large enough to hold the return value always.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---