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

net: context: connect: Make sure local end is bound before connecting #817

Merged
merged 1 commit into from Jul 17, 2017

Commits on Jul 17, 2017

  1. net: context: connect: Make sure local end is bound before connecting

    Introduce net_context_bind_default() to ensure that local address is
    set for context if not yet (via explict bind() call). This fixes
    dereferences of NULL pointer to local address which was exposed when
    MMU was enabled for qemu_x86.
    
    Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
    pfalcon committed Jul 17, 2017
    Configuration menu
    Copy the full SHA
    e1aeb28 View commit details
    Browse the repository at this point in the history