From owner-cvs-all Mon Apr 9 10:24:34 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4944137B424; Mon, 9 Apr 2001 10:24:30 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f39HOUq07390; Mon, 9 Apr 2001 10:24:30 -0700 (PDT) (envelope-from sobomax) Message-Id: <200104091724.f39HOUq07390@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 9 Apr 2001 10:24:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/vidcontrol decode.c decode.h vidcontrol.1 vidcontrol.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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