Skip to content

[2.12+2.13] collapse_log(): avoid accidently initializing aa[profile]

... or calling is_known_rule() on events for non-existing hats.

It's the usual hasher() "fun" again - accessing a non-existing element will create its parent.

In theory this commit might be worth a backport. In practise, it doesn't cause any visible problem.

However, starting with the next commit, it will cause lots of test errors.

Also add a missing is_known_rule() call for dbus rules, which might have caused similar hasher() "fun".

(Backported from 9f1b2f40)

I propose this patch for 2.12 and 2.13. (Master will get it via MR 537.)

Merge request reports