Skip to content

Conversation

@htb511
Copy link
Contributor

@htb511 htb511 commented Apr 18, 2025

Fix: Missing return if F_DUPFD return TST_RET < min_fd

In fcntl02.c, if fcntl return TST_RET < min_fd, both tst_res(TFAIL) and tst_res(TPASS) will be running.

Signed-off-by: Binh Hoang htb511@gmail.com

Signed-off-by: Binh Hoang <htb511@gmail.com>
@htb511 htb511 changed the title Fix: Missing return if return TST_RET < min_fd Fix: Missing return if F_DUPFD return TST_RET < min_fd Apr 18, 2025
@metan-ucw
Copy link
Member

Good catch, applied, thanks.

@metan-ucw metan-ucw closed this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants