Eric Blake
754da86714
cutils: Fix size_to_str() on 32-bit platforms
...
When extracting a human-readable size formatter, we changed 'uint64_t
div' pre-patch to 'unsigned long div' post-patch. Which breaks on
32-bit platforms, resulting in 'inf' instead of intended values larger
than 999GB.
Fixes: 22951aaa
CC: qemu-stable@nongnu.org
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2019-04-30 15:29:00 +02:00
..
2019-02-25 15:03:19 +01:00
2018-09-25 15:50:15 +02:00
2019-01-14 14:09:41 +00:00
2017-02-21 11:14:07 +00:00
2018-09-25 15:50:15 +02:00
2018-10-02 18:47:55 +02:00
2017-09-22 14:11:25 +02:00
2019-01-11 15:46:56 +01:00
2017-07-24 12:42:55 +01:00
2018-10-02 18:47:55 +02:00
2017-03-03 16:40:02 +01:00
2018-03-12 08:59:03 +01:00
2019-04-30 15:29:00 +02:00
2018-08-27 10:51:44 +02:00
2017-05-07 09:57:51 +03:00
2019-04-17 19:15:39 +02:00
2018-01-24 19:20:19 +02:00
2018-01-24 19:20:19 +02:00
2019-04-02 13:52:02 +01:00
2019-04-02 13:52:02 +01:00
2019-01-15 18:26:50 -05:00
2017-02-21 11:14:07 +00:00
2018-06-29 12:22:28 +01:00
2018-05-04 08:27:53 +02:00
2018-05-15 14:58:44 +01:00
2019-03-07 12:46:31 +01:00
2019-04-18 22:18:59 +02:00
2019-03-11 17:17:01 -03:00
2019-04-25 14:17:36 -03:00
2018-08-23 18:46:25 +02:00
2019-02-07 15:49:08 +02:00
2019-04-25 14:17:36 -03:00
2019-03-11 10:44:19 -03:00
2017-10-10 09:45:00 -07:00
2017-03-14 13:26:37 +01:00
2018-06-15 14:49:44 +02:00
2018-03-27 13:05:28 +01:00
2019-01-24 10:05:16 +00:00
2018-09-25 15:50:15 +02:00
2019-04-18 22:18:59 +02:00
2019-01-11 15:46:55 +01:00
2019-04-18 22:18:59 +02:00
2017-04-28 18:48:11 +02:00
2019-01-11 15:46:56 +01:00
2018-12-20 10:29:08 +01:00
2019-01-08 12:34:46 +00:00
2019-01-11 13:57:25 +01:00
2018-10-19 13:44:03 +02:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2019-01-30 10:51:20 +01:00
2018-03-12 16:12:47 +01:00
2018-02-05 13:54:39 +01:00
2017-11-15 09:34:51 +01:00
2018-04-05 14:37:38 +02:00
2017-03-19 11:12:12 +01:00
2017-03-17 12:54:21 +01:00
2017-09-26 14:46:23 +02:00
2019-04-02 13:52:02 +01:00
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00
2019-02-01 13:46:45 +01:00
2019-03-06 10:49:17 +00:00