Files
xen/tools/libxl
Ian Jackson 38e7e0d6a8 libxl: Avoid realloc(,0) when libxl__xs_directory returns empty list
If the named path is a leaf node, libxl__xs_directory can succeed,
returning non-null, but set *nb to 0.

In three places in libxl this may result in a zero size argument being
passed to malloc() or realloc(), which is not adviseable.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
(cherry picked from commit 48249a1403)
2013-11-25 13:48:34 +00:00
..
2013-10-10 16:06:13 +01:00
2011-04-04 14:54:46 +01:00
2012-10-05 14:34:30 +01:00
2012-07-06 13:17:40 +01:00
2012-07-06 13:17:40 +01:00
2012-09-17 11:17:00 +01:00
2013-04-12 12:21:02 +01:00
2012-05-30 08:57:49 +01:00
2013-06-26 17:46:49 +01:00
2012-08-24 12:38:16 +01:00
2012-08-24 12:38:18 +01:00
2012-07-26 10:35:35 +01:00
2013-10-10 16:06:13 +01:00
2013-05-07 13:37:56 +01:00
2011-10-12 16:21:32 +01:00
2012-09-17 11:17:01 +01:00