]> git.cameronkatri.com Git - bsdgames-darwin.git/commit
Check that -w width is not above maximum. (It already checks for zero or
authorreed <reed@NetBSD.org>
Wed, 22 Nov 2006 16:15:42 +0000 (16:15 +0000)
committerreed <reed@NetBSD.org>
Wed, 22 Nov 2006 16:15:42 +0000 (16:15 +0000)
commit0d5fa63d481044587e4dec7907c85afc2adc6d2a
tree8d292d117148f2773db1d87745fb67a2bcf3a7e9
parent29485e36d6f4635d51ffcc6db604cca181e19a98
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.
banner/banner.c