]> git.ipfire.org Git - thirdparty/libvirt.git/commit
uml: fix logic bug in checking reply length
authorEric Blake <eblake@redhat.com>
Mon, 16 Aug 2010 21:21:38 +0000 (15:21 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 19 Aug 2010 20:50:22 +0000 (14:50 -0600)
commit3223871e2e40c1426cbabe07b7c52f2a5ccc4e96
treead3c8fb883c6f1c582fd15807a5e45cba82318ed
parent52baf647ca05585af1dab4e80d2c61d82d475e93
uml: fix logic bug in checking reply length

* src/uml/uml_driver.c (umlMonitorCommand): Validate that enough
bytes were read to dereference both res.length, and that many
bytes from res.data.
Reported by Soren Hansen.
src/uml/uml_driver.c