From owner-freebsd-bugs Wed Apr 18 0:31:46 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A59537B422; Wed, 18 Apr 2001 00:31:44 -0700 (PDT) (envelope-from roam@FreeBSD.org) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3I7ViR22380; Wed, 18 Apr 2001 00:31:44 -0700 (PDT) (envelope-from roam) Date: Wed, 18 Apr 2001 00:31:44 -0700 (PDT) From: Message-Id: <200104180731.f3I7ViR22380@freefall.freebsd.org> To: roelof@nisser.com, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/26659: `GLOB_LIMIT' undeclared Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: `GLOB_LIMIT' undeclared State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Wed Apr 18 00:29:11 PDT 2001 State-Changed-Why: This has been discussed on the -security list, a new advisory shall be issued shortly. In the meantime, try applying this patch too: =================================================================== RCS file: /home/ncvs/src/include/glob.h,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -u -p -r1.3 -r1.3.6.1 --- src/include/glob.h 1998/02/25 02:15:59 1.3 +++ src/include/glob.h 2001/03/21 14:33:56 1.3.6.1 @@ -34,6 +34,7 @@ * SUCH DAMAGE. * * @(#)glob.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD: /home/ncvs/src/include/glob.h,v 1.3.6.1 2001/03/21 14:33:56 jlemon Exp $ */ #ifndef _GLOB_H_ @@ -76,9 +77,11 @@ typedef struct { #define GLOB_NOMAGIC 0x0200 /* GLOB_NOCHECK without magic chars (csh). */ #define GLOB_QUOTE 0x0400 /* Quote special chars with \. */ #define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */ +#define GLOB_MAXPATH 0x1000 /* limit number of returned paths */ #define GLOB_NOSPACE (-1) /* Malloc call failed. */ #define GLOB_ABEND (-2) /* Unignored error. */ +#define GLOB_LIMIT (-3) /* Path limit was hit. */ __BEGIN_DECLS int glob __P((const char *, int, int (*)(const char *, int), glob_t *)); http://www.freebsd.org/cgi/query-pr.cgi?pr=26659 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message