Date: Tue, 16 Dec 1997 16:19:26 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp command.c route.c Message-ID: <199712170019.QAA18083@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/12/16 16:19:26 PST
Modified files:
usr.sbin/ppp command.c route.c
Log:
Fix a potential overflow where, if the label passed on the command
line is > LINE_LEN (512 bytes), we scribble (*blush*).
Hinted at by: Theo de Raadt <deraadt@cvs.openbsd.org>
Change sprintf(buf, "fixedstring") to strcpy(buf, "fixedstring").
Revision Changes Path
1.111 +3 -2 src/usr.sbin/ppp/command.c
1.33 +3 -3 src/usr.sbin/ppp/route.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712170019.QAA18083>
