Subject: CVS commit: src/games/banner
To: None <source-changes@NetBSD.org>
From: Jeremy C. Reed <reed@netbsd.org>
List: source-changes
Date: 11/22/2006 16:15:42
Module Name:	src
Committed By:	reed
Date:		Wed Nov 22 16:15:42 UTC 2006

Modified Files:
	src/games/banner: banner.c

Log Message:
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.

While here replace one use of 132 with DWIDTH.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/games/banner/banner.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.