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

libselinux: make threadsafe for discover_class_cache #336

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

Commits on Dec 17, 2021

  1. libselinux: make threadsafe for discover_class_cache

    Crash is observed in process dbus-daemon while accessing name
    from discover_class_cache structure variable,
    discover_class_cache->name variable found NULL
    during backtrace analysis.
    Add mutex lock for the discover_class_cache to handle multiple
    threads for the function which uses discover_class_cache
    This avoids variable corruption during parallel access
    in the multiple thread environment.
    purushottamc committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    3cbddf9 View commit details
    Browse the repository at this point in the history