mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 15:30:25 +08:00
6c37217c36
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>