diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2018-04-12 23:31:37 +0200 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2018-04-18 08:34:20 +0000 |
commit | 52d1b36e3738b7117c5ecf0a83ceba1438fad68a (patch) | |
tree | f155b4473c4f4123429fa2886f4dce56aa6e1c2d /glusterfsd/src/glusterfsd-mgmt.c | |
parent | 9a1ae47c8d60836ae0628a04a153f28c1085c0e8 (diff) |
libglusterfs: fix comparison of a NULL dict with a non-NULL dict
Function are_dicts_equal() had a bug when the first argument was NULL and
the second one wasn't NULL. In this case it incorrectly returned that the
dicts were different when they could be equal.
Fixes: bz#1566732
Change-Id: I0fc245c2e7d1395865a76405dbd05e5d34db3273
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'glusterfsd/src/glusterfsd-mgmt.c')
0 files changed, 0 insertions, 0 deletions