[libvirt] [PATCH] tests: utils: Fix out-of-bounds access to memory in virTestCompareToFile
Michal Privoznik
mprivozn at redhat.com
Wed Apr 4 09:30:48 UTC 2018
On 04/03/2018 04:18 PM, Peter Krempa wrote:
> Similarly to 3506f1ecfde, the contents of 'cmpcontent' may be an empty
> string so the following code would access memory out of the array.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> tests/testutils.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
ACK
Michal
More information about the libvir-list
mailing list