cvs commit: src/usr.sbin/lpr/lpc lpc.c
Tim J. Robbins
tjr at FreeBSD.org
Tue May 11 20:14:01 PDT 2004
tjr 2004/05/11 20:14:00 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4_10)
usr.sbin/lpr/lpc lpc.c
Log:
MFS rev. 1.13.2.13: 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 margv[].
Approved by: re (kensmith)
Revision Changes Path
1.13.2.12.4.1 +2 -2 src/usr.sbin/lpr/lpc/lpc.c
More information about the cvs-src
mailing list