JianyuWang0623 opened a new pull request, #16490: URL: https://github.com/apache/nuttx/pull/16490
## Summary Check if all `iov_base` are inside accessible address space. e.g. ``` ret = write(fd, NULL, 3); ``` The `iov.iov_base` is NULL but `iov.iov_len` is NOT zero. https://github.com/apache/nuttx/blob/dd07367f4eeb5ebe785c601e84143cfaf6ad411a/fs/vfs/fs_write.c#L425-L432 And, if `iov.iov_base` is not NULL but `iov.iov_len` is zero, skipped (same as Linux). ## Impact fs/vfs ## Testing CI -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org