nuttx-apps icon indicating copy to clipboard operation
nuttx-apps copied to clipboard

Open flags and mode in calls to open().

Open fjpanag opened this issue 2 years ago • 0 comments

There are some cases that open() is called with wrong arguments.

Here are some examples that I managed to find:

In NSH, here a file is opened without oflags (e.g. O_RDWR).

In file testing/ostest/aio.c several calls are made to open() with the flag O_CREAT, but no mode is passed. Example here.

fjpanag avatar Aug 01 '23 23:08 fjpanag