Home
last modified time | relevance | path

Searched hist:"82 a628f887409f8a863482627c6d6ea6f208d3b2" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-edid.c82a628f887409f8a863482627c6d6ea6f208d3b2 Tue Oct 11 15:12:16 UTC 2022 Sebastian Mitterle <smitterl@redhat.com> qemu-edid: Restrict input parameter -d to avoid division by zero

A zero value for dpi will lead to a division by zero in qemu_edid_dpi_to_mm().
Tested by runnig qemu-edid -dX, X = 0, 100.

Resolves: qemu-project/qemu#1249

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Sebastian Mitterle <smitterl@redhat.com>
Message-Id: <20221011151216.64897-1-smitterl@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>