NetBSD/sys/dev/wsfont
chris fea7c6a78b Fix range to check to avoid a static buffer overrun, when
font->encoding == 4, which would cause access past the end of the encodings
array.

Fixes Coverity CID 1446.

Note that perhaps we should actually have an encoding line for
WSDISPLAY_FONTENC_ISO2 which is encoding 4.
2006-03-17 03:21:57 +00:00
..
bold8x16.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
files.wsfont merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
gallant12x22.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
lucida16x29.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
omron12x20.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
qvss8x15.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
sony8x16.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
sony12x24.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
vt220iso8x16.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
vt220koi8x10.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
vt220l8x8.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
vt220l8x10.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
vt220l8x16.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
wsfont.c Fix range to check to avoid a static buffer overrun, when 2006-03-17 03:21:57 +00:00
wsfont.h make 'name' and 'data' of struct wsdisplay_font const, mark data arrays 2003-02-09 10:29:35 +00:00
wsfontdev.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00