Github user robertamarton commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1721#discussion_r225014750
  
    --- Diff: core/sql/executor/ExExeUtilLoad.cpp ---
    @@ -3288,6 +3288,45 @@ short ExExeUtilLobExtractTcb::work()
       return 0;
     }
     
    +
    +short ExExeUtilLobExtractLibrary(ExeCliInterface *cliInterface,char 
*libHandle, char *cachedLibName,ComDiagsArea *toDiags)
    +{
    +  char buf[1000];
    --- End diff --
    
    I assume that cachedLibName won't be greater than 1000 bytes.  You could:  
char buf[strlen(cachedLibName) + strlen(libHandle) + 200] so you have a better 
indication of the size.


---

Reply via email to