]> git.ipfire.org Git - thirdparty/qemu.git/commit
sm501: Convert printf + abort to qemu_log_mask
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 21 May 2020 19:39:44 +0000 (21:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 May 2020 09:38:57 +0000 (11:38 +0200)
commite29da77e5fddf6480e3a0e80b63d703edaec751b
treecf6483539db0d5e395b9b8edcc7d3fe1f20a345f
parentb3a7e2416fb867d047723da251b8960228dcc9f4
sm501: Convert printf + abort to qemu_log_mask

Some places already use qemu_log_mask() to log unimplemented features
or errors but some others have printf() then abort(). Convert these to
qemu_log_mask() and avoid aborting to prevent guests to easily cause
denial of service.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 305af87f59d81e92f2aaff09eb8a3603b8baa322.1590089984.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/sm501.c