]> git.ipfire.org Git - thirdparty/qemu.git/commit
hbitmap: Fix merge when b is empty, and result is not an alias of a
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:53 +0000 (16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:02 +0000 (16:28 -0400)
commit3bde4b010e7510061dd8055b336c0148610a7dff
tree9b8e754e0cbef911868146afca366ce085bcd1bf
parentcf0cd293c6311e0714739a95d022b262e1d9d798
hbitmap: Fix merge when b is empty, and result is not an alias of a

Nobody calls the function like this currently, but we neither prohibit
or cope with this behavior. I decided to make the function cope with it.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190709232550.10724-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
util/hbitmap.c