[Pkg-utopia-maintainers] Bug#766860: polkit-1: Read after free when duplicate rules exist
Laurent Bigonville
bigon at debian.org
Sun Oct 26 11:29:54 UTC 2014
Package: policykit-1
Version: 0.105-3
Severity: important
Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=83590
Hello,
When starting the daemon, I get the following message:
** (polkitd:21926): WARNING **: Unknown action_id '<random string>'
This is due to a read after free condition when a rule is being present
twice.
The solution seems quite trivial:
- g_hash_table_insert (priv->parsed_actions, action->action_id,
action);
+ g_hash_table_replace (priv->parsed_actions, action->action_id,
action);
We maybe want to fix this before the jessie release
Cheers,
Laurent Bigonville
More information about the Pkg-utopia-maintainers
mailing list