From owner-cvs-all Mon Jan 24 17:51:26 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1763B15351; Mon, 24 Jan 2000 17:51:24 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA95628; Mon, 24 Jan 2000 17:51:23 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <200001250151.RAA95628@freefall.freebsd.org> From: Matt Dillon Date: Mon, 24 Jan 2000 17:51:23 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd lpd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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