Skip to content
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

Sets uninitialized socket file descriptors to -1 #248

Merged

Conversation

italo-sampaio
Copy link
Collaborator

Sets the value of uninitialized file descriptors on io.c to -1 instead of 0.

amendelzon
amendelzon previously approved these changes Jan 10, 2025
Sets the value of uninitialized file descriptors on io.c to -1 instead of 0.
@italo-sampaio italo-sampaio force-pushed the enhancement/241-fix-uninitialized-socket-fd branch from 3937a2b to efe80b5 Compare January 17, 2025 11:56
Returning -1 instead of 0 from start_server function
@italo-sampaio italo-sampaio force-pushed the enhancement/241-fix-uninitialized-socket-fd branch from efe80b5 to 355ff20 Compare January 17, 2025 12:05
Copy link
Collaborator

@amendelzon amendelzon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@italo-sampaio italo-sampaio merged commit 6073949 into feature/sgx Jan 17, 2025
5 checks passed
@italo-sampaio italo-sampaio deleted the enhancement/241-fix-uninitialized-socket-fd branch January 17, 2025 13:20
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.

3 participants