diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2007-12-18 10:53:14 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2007-12-18 10:53:14 (GMT) |
| commit | 1e4241b66d80f231438178c54425898425e76a5c (patch) | |
| tree | 73535333530cb8bb79ed8d41856c01d0f6dc4fd0 /generic/regex.h | |
| parent | 48f85f530bf4666c34f4de56457b09ed8069a7b1 (diff) | |
| download | tcl-1e4241b66d80f231438178c54425898425e76a5c.zip tcl-1e4241b66d80f231438178c54425898425e76a5c.tar.gz tcl-1e4241b66d80f231438178c54425898425e76a5c.tar.bz2 | |
Fixes for problems created when processing regular expressions that
generate very large automata. An enormous number of thanks to Will
Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom
Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in
tracking these problems down. [Bug 1810264]
Diffstat (limited to 'generic/regex.h')
| -rw-r--r-- | generic/regex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/regex.h b/generic/regex.h index b8498ab..fa86092 100644 --- a/generic/regex.h +++ b/generic/regex.h @@ -277,6 +277,7 @@ typedef struct { #define REG_INVARG 16 /* invalid argument to regex function */ #define REG_MIXED 17 /* character widths of regex and string differ */ #define REG_BADOPT 18 /* invalid embedded option */ +#define REG_ETOOBIG 19 /* nfa has too many states */ /* two specials for debugging and testing */ #define REG_ATOI 101 /* convert error-code name to number */ #define REG_ITOA 102 /* convert error-code number to name */ |
