diff options
| author | Gianni Tedesco <gianni.tedesco@citrix.com> | 2010-08-09 17:43:18 +0100 |
|---|---|---|
| committer | Gianni Tedesco <gianni.tedesco@citrix.com> | 2010-08-09 17:43:18 +0100 |
| commit | 8493e199f833705eb480e91b2dd4d0328202e525 (patch) | |
| tree | 1c2a473bbecf517fa3d32a44bdbfbac1ea2c8579 /tools/flask/libflask | |
| parent | 6d7a71986d206dcfea48a936b02401097572bf8d (diff) | |
| download | xen-8493e199f833705eb480e91b2dd4d0328202e525.tar.gz xen-8493e199f833705eb480e91b2dd4d0328202e525.tar.bz2 xen-8493e199f833705eb480e91b2dd4d0328202e525.zip | |
xc: fix segfault in pv domain create if kernel is an invalid image
If libelf calls elf_err() or elf_msg() before elf_set_log() has been
called then it could potentially read an uninitialised log handling
callback function pointer from struct elf_binary. Fix this in libxc by
zeroing the structure before calling elf_init().
Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/flask/libflask')
0 files changed, 0 insertions, 0 deletions
