cvs commit: src/usr.sbin/lpr/lpc lpc.c
David Rhodus
drhodus at crater.dragonflybsd.org
Tue Nov 4 09:03:56 PST 2003
drhodus 2003/11/04 09:03:11 PST
DragonFly src repository
Modified files:
usr.sbin/lpr/lpc lpc.c
Log:
* Fix two buffer overflows caused by off-by-one errors: avoid writing
a null character 1 byte past the end of cmdline[] when libedit is
being used for input, and avoid writing a null pointer 1 element
past the end of margvp[].
Obtained from: FreeBSD
Revision Changes Path
1.3 +3 -3 src/usr.sbin/lpr/lpc/lpc.c
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lpr/lpc/lpc.c.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list