kdbus: fix computing bloom filters 65/210465/1 accepted/tizen/unified/20190722.074825 submit/tizen/20190719.104741
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Jul 2019 08:23:27 +0000 (10:23 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Jul 2019 08:23:27 +0000 (10:23 +0200)
commit19feaf09d3bd71f6339f51651936ca9c40e1a805
tree40b09ea71332daa7158ee14a8fac79313fa5b6e3
parent64a1c8f469c1d5375e343b2dffa50f5168ed3f45
kdbus: fix computing bloom filters

The bloom filters computing had been implemented in the past, basing
on systemd. However, the reimplementation introduced two bugs:
- no clearing of 'p' variable;
- clearing of hash_index variable in a wrong place.

This fixes the bugs.

The same applies to glib.

Change-Id: Ie7c602c6bc881e38c62f41d482ab3785b03c5503
dbus/kdbus-common.c