]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockPeek: Enforce buffer filling
authorPeter Krempa <pkrempa@redhat.com>
Mon, 18 Sep 2017 14:08:40 +0000 (16:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 19 Sep 2017 15:26:48 +0000 (17:26 +0200)
commit8de85386dbccdc181bda6b2d206ddd163acd1722
treed0284d0bd6d1c99767506a8ab877f90cdb431cc9
parentf767d53dbe484f33d71c173b3fa890515a91103b
qemu: blockPeek: Enforce buffer filling

Documentation states:

"'offset' and 'size' represent an area which must lie entirely within
the device or file." Enforce the that the buffer lies within fully.
src/qemu/qemu_driver.c