From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LHeny-00054p-2W for garchives@archives.gentoo.org; Tue, 30 Dec 2008 13:38:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B18FAE0521; Tue, 30 Dec 2008 13:38:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D39EEE0521 for ; Tue, 30 Dec 2008 13:38:37 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id F26176457F for ; Tue, 30 Dec 2008 13:38:35 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LHenr-0002QG-Mo for gentoo-commits@lists.gentoo.org; Tue, 30 Dec 2008 13:38:35 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c X-VCS-Repository: gentoo-projects X-VCS-Files: scanelf.c X-VCS-Directories: pax-utils X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Tue, 30 Dec 2008 13:38:35 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: de910fa9-7ce8-4464-aa2e-8b7b443b45cd X-Archives-Hash: 579810e237e5fad18d7780469960952e vapier 08/12/30 13:38:35 Modified: scanelf.c Log: use __PAX_UTILS_PATH_MAX, not BUFSIZ, when dealing with paths Revision Changes Path 1.207 pax-utils/scanelf.c file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.207&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.207&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?r1=3D1.206&r2=3D1.207 Index: scanelf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v retrieving revision 1.206 retrieving revision 1.207 diff -u -r1.206 -r1.207 --- scanelf.c 30 Dec 2008 13:34:46 -0000 1.206 +++ scanelf.c 30 Dec 2008 13:38:35 -0000 1.207 @@ -1,13 +1,13 @@ /* * Copyright 2003-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.206 200= 8/12/30 13:34:46 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.207 200= 8/12/30 13:38:35 vapier Exp $ * * Copyright 2003-2007 Ned Ludd - * Copyright 2004-2007 Mike Frysinger - */ =20 -static const char *rcsid =3D "$Id: scanelf.c,v 1.206 2008/12/30 13:34:46= vapier Exp $"; +static const char *rcsid =3D "$Id: scanelf.c,v 1.207 2008/12/30 13:38:35= vapier Exp $"; const char * const argv0 =3D "scanelf"; =20 #include "paxinc.h" @@ -81,7 +81,7 @@ /* find the path to a file by name */ static char *which(const char *fname) { - static char fullpath[BUFSIZ]; + static char fullpath[__PAX_UTILS_PATH_MAX]; char *path, *p; =20 path =3D getenv("PATH");