aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/sys_string.h
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2013-06-14 16:43:19 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-06-14 16:43:19 +0100
commit77c0829fa751f052f7b8ec08287aef6e7ba97bc5 (patch)
tree2b49a74d202a6014faebbcfc8279169f2a5cab8f /tools/lib/sys_string.h
parentb06e277b1fc08c7da3befeb3ac3950e1d941585d (diff)
downloadxen-77c0829fa751f052f7b8ec08287aef6e7ba97bc5.tar.gz
xen-77c0829fa751f052f7b8ec08287aef6e7ba97bc5.tar.bz2
xen-77c0829fa751f052f7b8ec08287aef6e7ba97bc5.zip
libxc: check failure of xc_dom_*_to_ptr, xc_map_foreign_range
The return values from xc_dom_*_to_ptr and xc_map_foreign_range are sometimes dereferenced, or subjected to pointer arithmetic, without checking whether the relevant function failed and returned NULL. Add an appropriate error check at every call site. Changes in the 4.2 backport of this series: * Fix tools/libxc/xc_dom_x86.c:setup_pgtables_x86_32. * Fix tools/libxc/xc_dom_ia64.c:start_info_ia64. * Fix tools/libxc/ia64/xc_ia64_dom_fwloader.c:xc_dom_load_fw_kernel. This is part of the fix to a security issue, XSA-55. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions