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

Fix a panic in Linkaddr::addr #1675

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Fix a panic in Linkaddr::addr #1675

merged 1 commit into from
Mar 13, 2022

Commits on Mar 13, 2022

  1. Fix a panic in Linkaddr::addr

    The function assumed something about the values of the sockaddr_dl's
    fields.  But because the inner type is public, we musn't do that.  The
    only solution is to change the function's signature to return an Option.
    asomers committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    f0f6795 View commit details
    Browse the repository at this point in the history