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

wpa_supplicant: Fix crash on unexpected restarts of wpa_supplicant #931

Merged

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    7ab5711 View commit details
    Browse the repository at this point in the history
  2. wpa-supplicant: Add refcount for ni_wpa_nif_t

    Each call on DBus can result in async receving of DBus signals.
    Thus we need to protect our current working object, that it
    do not get removed because of such a signal.
    
    Signed-off-by: Clemens Famulla-Conrad <[email protected]>
    cfconrad committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    d128eab View commit details
    Browse the repository at this point in the history
  3. wpa-supplicant: Add refcounting for ni_wpa_bss_t

    Each call on DBus can result in async receving of DBus signals.
    Thus we need to protect our current working object, that it
    do not get removed because of such a signal.
    cfconrad committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    7d356ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c493ea View commit details
    Browse the repository at this point in the history
  5. wpa-supplicant: Fix error code translation on wpa_supp restart

    If the wpa_supplicant restart (e.g. segfault), the restart handler cleanup
    all internal data structures associated to this wpa_supplicant instance.
    With this, the ni_wpa_wif_t->client is set to NULL and we need to cover
    this stage in each translate error call.
    cfconrad committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    2ea60e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7ee347 View commit details
    Browse the repository at this point in the history