Date: Mon, 24 Jan 2000 17:51:23 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd lpd.c Message-ID: <200001250151.RAA95628@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2000/01/24 17:51:23 PST Modified files: usr.sbin/lpr/lpd lpd.c Log: Type-o, change from[...] = 0 to fromb[...] = 0. The incorrect buffer was having its last element zero'd. It turns out not to be a security hole or to have any real effect on the code because 'from' was previously pointing to a buffer of the same size as 'fromb', and the last element in fromb is already 0 anyway due to the use of sizeof(fromb)-1 in the strncpy() call. But I'm not pressing my luck so only the type-o is being fixed. Revision Changes Path 1.12 +2 -2 src/usr.sbin/lpr/lpd/lpd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001250151.RAA95628>