From owner-cvs-all Wed Jan 17 12:51:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8DAE437B6F4; Wed, 17 Jan 2001 12:51:16 -0800 (PST) Received: (from jedgar@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0HKpGb98412; Wed, 17 Jan 2001 12:51:16 -0800 (PST) (envelope-from jedgar) Message-Id: <200101172051.f0HKpGb98412@freefall.freebsd.org> From: "Chris D. Faulhaber" Date: Wed, 17 Jan 2001 12:51:16 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/string strlcat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jedgar 2001/01/17 12:51:16 PST Modified files: lib/libc/string strlcat.c Log: - Reverse the order of two loop invariant to ensure strlcat() does not attempt to read memory when siz is 0 - Clarify comments referring to strlcat() usage PR: 24278, 24295 Submitted by: Tony Finch Richard Kettlewell Reviewed by: -audit Revision Changes Path 1.3 +6 -3 src/lib/libc/string/strlcat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message