HomeFreeBSD

vt: fix splash_cpu logos use of vd_drawrect

Description

vt: fix splash_cpu logos use of vd_drawrect

In the (extremely unlikely) case of vd->vd_height ==
vt_logo_sprite_height the vd_drawrect code would write outside of
frame-buffer memory.

MFC after: 1 week
Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D34220

Details

Provenance
sg2342_googlemail.comAuthored on Feb 9 2022, 3:15 AM
emasteCommitted on Feb 9 2022, 3:22 AM
Reviewer
cem
Differential Revision
D34220: vt: fix splash_cpu logos use of vd_drawrect
Parents
rGd940e9412148: bmake: make opt-debug-x-trace broken on Linux
Branches
Unknown
Tags
Unknown