From owner-cvs-all Tue Sep 4 12:28:51 2001 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-54.dsl.lsan03.pacbell.net [63.207.60.54]) by hub.freebsd.org (Postfix) with ESMTP id 2BA8237B405; Tue, 4 Sep 2001 12:28:44 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4F4FD66D0A; Tue, 4 Sep 2001 12:28:43 -0700 (PDT) Date: Tue, 4 Sep 2001 12:28:43 -0700 From: Kris Kennaway To: Matt Dillon Cc: Mark Peek , "Andrey A. Chernov" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib strtol.3 strtol.c strtoll.c strtoq.c strtoul.3 strtoul.c strtoull.c strtouq.c Message-ID: <20010904122843.A56085@xor.obsecurity.org> References: <200109041639.f84GdBm87501@freefall.freebsd.org> <20010904204454.A32114@nagual.pp.ru> <200109041705.f84H5W692572@earth.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109041705.f84H5W692572@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Sep 04, 2001 at 10:05:32AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 04, 2001 at 10:05:32AM -0700, Matt Dillon wrote: >=20 > : > :At 8:44 PM +0400 9/4/01, Andrey A. Chernov wrote: > :>On Tue, Sep 04, 2001 at 09:39:11 -0700, Andrey A. Chernov wrote: > :>> ache 2001/09/04 09:39:11 PDT > :>> > :>> Modified files: > :>> lib/libc/stdlib strtol.3 strtol.c strtoll.c strtoq.c > :>> strtoul.3 strtoul.c strtoull.c strtouq.c > :> > :>Forget "Reviewed by: audit silence" > : > :Wow, less than 24 hours is considered "audit silence"? I'd like to=20 > :think an acceptable wait period is a bit longer than that! > : > :Mark >=20 > Is there any reason we are keeping the rcsid in some of the source > files? Can we just scrap these? (Also strhash.c uses the wrong > declaration for rcsid. But I'd just assume wipe them out completely). Having rcsid[] visible in source files is very useful from my point of view in determining whether a binary is vulnerable to a security vulnerability. If we have rcsids in everything (especially libraries), then it would be trivial to write scanning software which identifies all vulnerable binaries on the system, dynamically and statically linked. If the vulnerable source file has no rcsid, the best you can do is play ugly games and try and hunt for another hopefully-unique string embedded in the static binary. Perhaps it would be better to stick these in an ELF section which could be stripped out by people who don't want them. Kris --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7lStqWry0BWjoQKURAlRcAJ9liQv/USqVUDdQe/lw0r8UkPq1KACghAw/ Q8wwuRfgU5YXpQ5KiM4vyMA= =k27U -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message