[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gawk 3.1.3 crash in POSIX RE
From: |
Patrick TJ McPhee |
Subject: |
gawk 3.1.3 crash in POSIX RE |
Date: |
Thu, 11 Sep 2003 13:42:18 -0400 (EDT) |
The attached awk script acronyms.awk crashes during parsing with gawk
3.1.3. It works with gawk 3.0.6. regexpatch contains a context diff for
a fix. In words: it crashes when RE_TRANSLATE_TYPE is defined as char *,
but not if it's defined as unsigned char *.
The actual crash is in the macro BUILD_CHARCLASS_LOOP in regcomp.c, in
circumstances where trans is non-NULL.
The patched executable passes `make check'. I tried this on FreeBSD
4.6.0 with gcc 2.95.3.
Have a good day.
--
Patrick TJ McPhee
East York Canada
address@hidden
acronyms.awk
Description: application/awk
regexpatch
Description: Text document
- gawk 3.1.3 crash in POSIX RE,
Patrick TJ McPhee <=