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

(cherry picked from commit 06296f77c5bc5ec1710a28b68b9410d192163087)

Details

Provenance
sg2342_googlemail.comAuthored on Feb 9 2022, 3:15 AM
emasteCommitted on Feb 16 2022, 12:39 AM
Reviewer
cem
Differential Revision
D34220: vt: fix splash_cpu logos use of vd_drawrect
Parents
rGbf02faa1ae7b: In GEOM debugging output, show consumer for cloned and duplicated bio's.
Branches
Unknown
Tags
Unknown