Date: Mon, 9 Apr 2001 10:24:30 -0700 (PDT) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/vidcontrol decode.c decode.h vidcontrol.1 vidcontrol.c Message-ID: <200104091724.f39HOUq07390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2001/04/09 10:24:30 PDT
Modified files:
usr.sbin/vidcontrol decode.c decode.h vidcontrol.1
vidcontrol.c
Log:
Allow user to omit font size specification when loading a font. In addition
the following fixes had been made:
- check the size of the font being loaded and compare it with possible sizes
to minimise possibility of loading something that is not a fontfile at all
and turning console screen into garbage;
- prevent buffer overflow (and coredump as a result ) when loading valid
uuencoded file with size that exceeds allocated buffer;
- correct and improve several error messages.
Approved by: -audit, -hackers (silently)
Revision Changes Path
1.9 +29 -10 src/usr.sbin/vidcontrol/decode.c
1.2 +3 -1 src/usr.sbin/vidcontrol/decode.h
1.31 +13 -3 src/usr.sbin/vidcontrol/vidcontrol.1
1.35 +88 -31 src/usr.sbin/vidcontrol/vidcontrol.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104091724.f39HOUq07390>
