freebsd-dev/sys/dev/vt/hw/fb
Ed Maste 2efe3be95e vt: avoid overrun when stride is not a multiple of bytes per pixel
The reporter is developing a frame buffer driver for hardware using
3 bytes per pixel, but a stride that's a multiple of 256.  Previously
this resulted in writing beyond the end of each stride.  On the last
row this attempted to write past the end of the frame buffer, triggering
the assertion in vt_fb_mem_wr1().

PR:		243533
MFC after:	2 weeks
Submitted by:	Thomas Skibo
2020-04-04 00:31:30 +00:00
..
vt_early_fb.c Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
vt_fb.c vt: avoid overrun when stride is not a multiple of bytes per pixel 2020-04-04 00:31:30 +00:00
vt_fb.h Speed up vt(4) by keeping a record of the most recently drawn character and 2018-08-25 16:14:56 +00:00