Files
xen/tools
Andrew Cooper ddb4aa5dfa tools/libxl: Fix free() of wild pointer in libxl__initiate_device_remove()
libxl__initiate_device_remove() had a preexisting error path issue where
libxl_dominfo_dispose() could be called on a libxl_dominfo object before it
had been initialised with libxl_dominfo_init().

This was safe until c/s ab44401 added the pointer ssid_label, which point
libxl_dominfo_dispose() free()s.

Unconditionally initialise info in libxl__initiate_device_remove() before
taking an error path which will free it.

Coverity-ID: 1223212
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
2014-06-23 18:10:58 +01:00
..
2013-08-20 15:34:03 +01:00
2014-06-18 17:18:45 +01:00
2014-05-02 13:34:35 +01:00
2014-04-10 12:09:22 +01:00
2014-06-18 17:19:10 +01:00
2013-05-08 12:14:32 +01:00
2014-06-05 13:53:35 +01:00
2013-05-21 10:16:30 +02:00