mirror of
https://github.com/mii443/qemu.git
synced 2025-08-24 07:59:42 +00:00
This checks that s->chr is not NULL before using it.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit af52fe862f
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>