Skip to content

pnet_sys: change visibility of FileDesc.fd from public to private - #768

Open
yilin0518 wants to merge 1 commit into
libpnet:mainfrom
yilin0518:main
Open

pnet_sys: change visibility of FileDesc.fd from public to private#768
yilin0518 wants to merge 1 commit into
libpnet:mainfrom
yilin0518:main

Conversation

@yilin0518

Copy link
Copy Markdown

This PR fixes the issue #761 which mentions that public field of FileDesc may result in Double close or file description hijack. The solution is change the visibility of pnet_sys::FileDesc.fd from public to private.

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