dbus2 / zbus-old

Rust D-Bus crate.
https://gitlab.freedesktop.org/dbus/zbus
Other
49 stars 13 forks source link

Handle hash collisions in subscribe_signal #191

Closed zeenix closed 1 year ago

zeenix commented 3 years ago

In GitLab by @danieldg on Jul 31, 2021, 03:23

After calling calc_hash, there is no confirmation that the resulting hash actually matches the found signal. This will cause the function to skip registering the signal if there ever is a collision.

zeenix commented 3 years ago

mentioned in commit ae8c5f26421e5e1e29db4e8c8bd3455efbd8c1c7