Eric Blake
404bac14ab
virsh: fix broken code in freepages
...
Commit 9e3efe53 broke the build under valgrind or clang, by writing
8 bytes through an allocation of 4 bytes. It also risks multiplication
overflow when mallocing (that's a pervasive problem that needs an
audit in the rest of the code, but we might as well fix this one while
we are here), and had a typo.
* tools/virsh-host.c (cmdFreepages): Avoid integer overflow and
undefined behavior.
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-06-19 09:21:08 -06:00
..
2014-03-25 14:58:41 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2014-01-09 09:32:55 +01:00
2014-04-07 12:51:05 +02:00
2012-03-05 13:18:24 +01:00
2014-04-01 10:38:14 -06:00
2009-09-21 14:41:45 +01:00
2014-03-25 14:58:41 +01:00
2013-09-03 14:06:11 +02:00
2014-05-19 17:07:47 -06:00
2012-09-20 16:30:55 -06:00
2014-06-19 07:07:25 -06:00
2012-09-20 16:30:55 -06:00
2014-03-25 14:58:41 +01:00
2014-06-19 09:21:08 -06:00
2012-09-20 16:30:55 -06:00
2014-03-25 14:58:41 +01:00
2014-03-10 14:26:04 +01:00
2014-03-31 08:37:39 -06:00
2014-03-10 14:26:04 +01:00
2014-06-02 18:09:09 +02:00
2012-09-20 16:30:55 -06:00
2014-03-25 14:58:41 +01:00
2012-09-20 16:30:55 -06:00
2014-05-14 10:18:35 -06:00
2012-09-20 16:30:55 -06:00
2014-05-16 00:22:18 -06:00
2012-09-20 16:30:55 -06:00
2014-03-25 14:58:41 +01:00
2012-09-20 16:30:55 -06:00
2014-06-12 14:06:21 +02:00
2012-09-20 16:30:55 -06:00
2014-06-12 14:06:21 +02:00
2014-06-12 14:06:21 +02:00
2014-06-19 15:10:50 +02:00
2013-07-10 11:07:31 +02:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2014-03-10 14:26:04 +01:00
2014-03-25 14:58:41 +01:00
2013-08-08 16:36:31 +01:00
2014-03-03 12:40:32 -07:00
2013-08-19 20:25:53 -06:00
2013-08-28 13:50:10 +02:00
2013-09-13 14:57:52 +02:00