robertamarton commented on a change in pull request #1784: [TRAFODION-3268] 
[TRAFODION-3269] [TRAFODION-3269] Library manager fixes and LOB alter fix
URL: https://github.com/apache/trafodion/pull/1784#discussion_r252446891
 
 

 ##########
 File path: core/sql/optimizer/UdfDllInteraction.cpp
 ##########
 @@ -158,12 +158,10 @@ NABoolean 
TMUDFDllInteraction::describeParamsAndMaxOutputs(
                                   dummyUser,
                                      cachedLibName, cachedLibPath))
         {
-           NAString cachedFullName = cachedLibPath+"/"+cachedLibName;
            char errString[200];
            NAString errNAString;
-           sprintf(errString , "Error %d creating directory :",errno); 
+           sprintf(errString , "Error %d creating directory : %s", err, 
cachedLibPath.data()); 
 
 Review comment:
   If cachedLibPath > 200 bytes, it will overflow errString.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to