mirror of
https://github.com/apache/nuttx.git
synced 2026-03-24 07:35:07 +08:00
In file_dup3, the file descriptor is initialized with the O_NONBLOCK flag. If the inode's ioctl(FIONBIO) call fails with a result other than OK or ENOTTY, the file may be mistakenly released. Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>