kdbus: fix computing bloom filters 66/210466/1 accepted/tizen/unified/20190722.074829 submit/tizen/20190719.104741
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Jul 2019 08:27:28 +0000 (10:27 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Jul 2019 08:27:28 +0000 (10:27 +0200)
commitb391d3702b98bbbc2fe21831e84dd469ebadf6fc
tree4af17e906e3c8ae8372b03cd2f3a9e9445f08624
parentf10cc6a01b9e28fc977696d71dadb7e5e16e45dd
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 libdbus.

Change-Id: I92d5fe7f270306c96e8a38c96d0a06d38b8e59b1
gio/gkdbus.c