]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add sanity checking to argument for -# and -i. Require these
authorWarner Losh <imp@FreeBSD.org>
Wed, 6 Jan 1999 08:25:56 +0000 (08:25 +0000)
committerWarner Losh <imp@FreeBSD.org>
Wed, 6 Jan 1999 08:25:56 +0000 (08:25 +0000)
commit65073469e36071200264c1cd8514b0eb94e23369
tree7925dbaab4b53efe6b86d2f0572b04cd3ccae46d
parentbe47d628ca2b76dbe98cc9e4447b61171adc4317
Add sanity checking to argument for -# and -i.  Require these
arguments to be numbers.  Also use '0' base to allow hex, octal or
decimal numbers.

This was done by me based on ideas in pr 3556, submitted by Uwe
Laubenstein and commented upon by j@uriah.heep.sax.de (J Wunsch).

PR: 3556
usr.sbin/lpr/lpr/lpr.c