Dmitry Frolov <fro...@swemel.ru> wrote: > qemu_ram_block_from_host() may return NULL, which will be dereferenced w/o > check. Usualy return value is checked for this function. > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: c7c0e72408df5e7821c0e995122fb2fe0ac001f1 ("migration/ram: Handle RAM > block resizes during precopy") > Signed-off-by: Dmitry Frolov <fro...@swemel.ru>
Reviewed-by: Juan Quintela <quint...@redhat.com>