cvs commit: src/usr.sbin/lpr/lpc lpc.c
Tim J. Robbins
tjr at FreeBSD.org
Tue May 11 19:11:34 PDT 2004
tjr 2004/05/11 19:11:33 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
usr.sbin/lpr/lpc lpc.c
Log:
MFC rev. 1.28: 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[].
Revision Changes Path
1.13.2.13 +2 -2 src/usr.sbin/lpr/lpc/lpc.c
More information about the cvs-src
mailing list