patacongo opened a new pull request #3294:
URL: https://github.com/apache/incubator-nuttx/pull/3294


   ## Summary
   
   Found a place in getopt_common() where the option string is used before it 
is checked if it is NULL.  This can happen because the short option string is 
optional for getopt_long() and getopt_long_only()
   
   If optstring is NULL, that would be an ERROR for getopt(), but not for the 
getopt_long() versions.
   
   ## Impact
   
   Should effect only the getopt() APIs
   
   ## Testing
   
   Tested on the simulator using apps/testing/ostest.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to