fjpanag opened a new issue, #1879:
URL: https://github.com/apache/nuttx-apps/issues/1879

   There are some cases that `open()` is called with wrong arguments.
   
   Here are some examples that I managed to find:
   
   In NSH, 
[here](https://github.com/apache/nuttx-apps/blob/master/nshlib/nsh_script.c#L54)
 a file is opened without oflags (e.g. `O_RDWR`).
   
   In file 
[testing/ostest/aio.c](https://github.com/apache/nuttx-apps/blob/master/testing/ostest/aio.c)
 several calls are made to `open()` with the flag `O_CREAT`, but no mode is 
passed. Example 
[here](https://github.com/apache/nuttx-apps/blob/master/testing/ostest/aio.c#L300).


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