yuchenlin 5ef40828ba dmg: fix binary search
There is a possible hang in original binary search implementation. That is
if chunk1 = 4, chunk2 = 5, chunk3 = 4, and we go else case.

The chunk1 will be still 4, and so on.

Signed-off-by: yuchenlin <npes87184@gmail.com>
Message-id: 20190103114700.9686-2-npes87184@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-01-04 11:15:09 +00:00
..
2018-07-10 16:01:52 +02:00
2018-08-31 16:28:33 +02:00
2018-11-05 15:09:55 +01:00
2019-01-04 11:15:09 +00:00
2018-09-25 15:50:15 +02:00
2018-11-05 15:09:55 +01:00
2018-08-15 12:50:39 +02:00
2018-10-12 09:46:14 +08:00
2018-12-14 11:52:41 +01:00
2018-08-15 12:50:39 +02:00
2018-07-10 16:01:52 +02:00
2018-11-05 15:09:54 +01:00
2018-11-19 12:51:40 +01:00