From e8ad3186addd82e0bff58ac2b650810d9444f86e Mon Sep 17 00:00:00 2001 From: jason <> Date: Tue, 10 Apr 2001 19:06:23 +0000 Subject: [PATCH] Pull in patches from current: Errata 025: glob(3) contains multiple buffer overflows. Fix (deraadt,millert) --- src/include/glob.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/glob.h b/src/include/glob.h index f1410221..ea9b5f5b 100644 --- a/src/include/glob.h +++ b/src/include/glob.h @@ -1,4 +1,4 @@ -/* $OpenBSD: glob.h,v 1.4 1998/01/31 17:06:26 millert Exp $ */ +/* $OpenBSD: glob.h,v 1.4.12.1 2001/04/10 19:06:23 jason Exp $ */ /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ /* @@ -82,6 +82,7 @@ typedef struct { #define GLOB_QUOTE 0x0400 /* Quote special chars with \. */ #define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */ #define GLOB_NOESCAPE 0x1000 /* Disable backslash escaping. */ +#define GLOB_LIMIT 0x2000 /* Limit pattern match output to ARG_MAX */ #endif /* Error values returned by glob(3) */