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

Zero-out the sockaddr struct before using it #51

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

Commits on Mar 28, 2020

  1. Zero-out the sockaddr struct before using it

    The sockaddr union struct must be zero-out
    before usage at least for IPv6.
    
    IEEE Std 1003.1, 2004 Edition says:
    ---
    The sockaddr_in6 structure shall be set to zero by an
    application prior to using it, since implementations
    are free to have additional, implementation-defined
    fields in sockaddr_in6.
    rosorio committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    0b04283 View commit details
    Browse the repository at this point in the history