[libvirt] [PATCH] qemu: domain: Fix potential NULL deref when parsing job private data

Erik Skultety eskultet at redhat.com
Mon Sep 2 15:02:01 UTC 2019


On Mon, Sep 02, 2019 at 04:13:55PM +0200, Peter Krempa wrote:
> A specially crafted XML which would reference a non-existing disk but
> request the mirror to be registered with the blockjob could potentially
> make the parser dereference NULL. Fix it by moving the code slightly and
> just treat it as a wrong job XML. Found by Coverity.
>
> Reported-by: John Ferlan <jferlan at redhat.com>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>

safe for freeze




More information about the libvir-list mailing list