xiaoxiang781216 commented on PR #7318:
URL: https://github.com/apache/incubator-nuttx/pull/7318#issuecomment-1281088276

   @masayuki2009 the problem is fixed by:
   
https://github.com/apache/incubator-nuttx/pull/7318/commits/859d58406cedef1c875f25966e5086aab711f9e6
   binfmt_copyargv return NULL in case *argv == NULL, so the caller can't 
distinguish this case from the out of memory, and then report -ENOMEM 
improperly. This issue can be fixed by changing the prototype of 
binfmt_copyargv to return the error code instead.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to