Summary: | Access after free during polkitagentlistener shutdown | ||
---|---|---|---|
Product: | PolicyKit | Reporter: | Stef Walter <stefw> |
Component: | libpolkit | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED FIXED | QA Contact: | David Zeuthen (not reading bugmail) <zeuthen> |
Severity: | normal | ||
Priority: | medium | CC: | stefw, walters |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | polkitagent: Fix access after dereference on hashtable |
Description
Stef Walter
2016-03-11 09:08:13 UTC
Created attachment 122217 [details] [review] polkitagent: Fix access after dereference on hashtable If an authentication is going on while the agent listener is going away, then we access memory that has been freed. g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0)' Happens to cockpit's agent listener. Looks reasonable to me. Yes, a clear improvement. Committed, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.