Mark Nelson
e28ffe90fd
util/guest-random: Fix size arg to tail memcpy
...
We know that in the body of this if statement i is less than len, so
we really should be copying len - i bytes not i - len bytes.
Fix this typo.
Fixes: 8d8404f1564 ("util: Add qemu_guest_getrandom and associated routines")
Signed-off-by: Mark Nelson <mdnelson8@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210709120600.11080-1-mdnelson8@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-07-09 18:42:46 +02:00
..
2020-10-09 07:08:20 +02:00
2020-03-09 16:45:16 +00:00
2020-09-23 16:07:44 +01:00
2020-11-03 16:24:56 +01:00
2021-07-05 11:40:32 +01:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2020-10-23 13:42:16 +01:00
2020-10-23 13:42:16 +01:00
2020-11-15 17:04:40 +01:00
2020-04-01 14:24:03 -04:00
2021-01-21 13:00:41 +01:00
2021-01-07 05:09:41 -10:00
2021-05-14 12:28:01 +02:00
2021-01-26 14:36:37 +01:00
2020-07-13 11:40:52 +02:00
2019-06-12 13:20:20 +02:00
2021-01-24 20:10:54 +01:00
2021-05-13 18:06:40 +02:00
2020-01-06 18:41:32 +04:00
2020-07-13 14:36:10 +01:00
2019-06-12 13:20:20 +02:00
2019-12-18 08:36:16 +01:00
2021-02-16 17:15:39 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 13:45:52 +01:00
2021-02-07 20:38:20 +00:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2020-06-26 06:45:29 -04:00
2021-07-09 18:42:46 +02:00
2020-03-18 14:03:46 -04:00
2020-09-29 02:14:30 -04:00
2021-03-09 21:47:45 +01:00
2021-02-03 08:00:33 -06:00
2021-07-06 08:33:51 +02:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2021-07-05 11:40:32 +01:00
2019-09-11 08:46:17 +02:00
2021-07-06 08:33:51 +02:00
2021-06-15 20:27:38 +02:00
2021-05-10 13:55:28 +02:00
2019-09-24 12:18:47 +01:00
2020-12-10 17:16:44 +01:00
2021-06-13 17:42:40 -07:00
2021-06-15 20:27:38 +02:00
2021-06-19 14:51:51 -07:00
2019-06-24 22:19:30 +02:00
2021-06-25 14:24:24 +03:00
2021-06-15 17:17:09 +02:00
2019-10-25 14:38:29 +02:00
2021-03-31 10:44:21 +01:00
2021-05-21 18:22:33 +01:00
2020-09-23 16:07:44 +01:00
2021-02-01 10:50:55 +00:00
2020-07-13 14:36:09 +01:00
2021-07-09 18:42:46 +02:00
2020-10-09 07:08:19 +02:00
2020-09-17 20:38:42 +02:00
2021-06-18 10:59:53 -05:00
2021-06-16 15:03:26 +02:00
2021-06-16 15:03:26 +02:00
2021-01-18 10:05:06 +00:00
2021-04-12 12:27:14 +10:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-01-04 11:13:39 +00:00
2020-04-07 16:19:49 +01:00
2020-09-23 16:07:44 +01:00
2020-05-04 14:54:35 -05:00
2020-05-04 16:07:43 +01:00
2021-01-08 15:13:38 +00:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:18:24 -04:00
2021-04-30 12:27:47 +02:00
2021-02-08 11:19:51 +00:00
2019-06-12 13:20:20 +02:00
2021-05-13 18:21:13 +01:00
2020-10-23 13:42:16 +01:00
2021-04-01 15:27:44 +04:00