This fixes a memory corruption (author clearly did not intend to write to a non-existing
pixel column).
In the (extremely unlikely) case of vd->vd_height == vt_logo_sprite_height ; the
vd_drawrect code will write outside of frame-buffer memory.
Differential D34220
vt: fix splash_cpu logos use of vd_drawrect sg2342_googlemail.com on Feb 9 2022, 1:27 AM. Authored by Tags None Referenced Files
Subscribers
Details This fixes a memory corruption (author clearly did not intend to write to a non-existing In the (extremely unlikely) case of vd->vd_height == vt_logo_sprite_height ; the
Diff Detail
Event Timeline
Comment Actions i was glad that there was no dimension validation in vt_fb_drawrect(), otherwise https://reviews.freebsd.org/D34221 would be more complicated to do. |