There is an access after free during polkitagentlistener shutdown. 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)'
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.
https://fedorapeople.org/groups/cockpit/logs/pull-3936-18f9f980-verify-fedora-atomic/TestSession-testBasic-10.111.119.102-FAIL.log
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.