Skip to content

Fix: Missing return if F_DUPFD return TST_RET < min_fd #1235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

htb511
Copy link

@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 [email protected]

@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
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.

1 participant