Bug#355966: mawk segfaults on invalid regexp

2010-03-01 Thread Jonathan Nieder
Jonathan Nieder wrote: > For context, it is probably worth mentioning that is_string_split() > already returns NULL when its argument is a regexp that does not > represent a literal string. In that case, Here by “In that case” I mean not the case of a regexp that does not represent a literal str

Bug#355966: mawk segfaults on invalid regexp

2010-03-01 Thread Jonathan Nieder
retitle 355966 mawk: segfault setting RS to invalid regexp tags 355966 + patch thanks Hi, Devin Bayer wrote: > $ mawk -v RS='\n|' > mawk: line 0: regular expression compile failed (missing operand) > > | > Segmentation fault (core dumped) Jörgen Tegnér wrote: --- rexp2.c.orig2009-01-0

Bug#355966: mawk segfaults on invalid regexp

2006-03-08 Thread Devin Bayer
Package: mawk Version: 1.3.3-11 Severity: normal $ mawk -v RS='\n|' mawk: line 0: regular expression compile failed (missing operand) | Segmentation fault (core dumped) backtrace: #0 0x08057f46 in matherr () #1 0x080537f0 in ?? () #2 0x in ?? () -- System Information: Debian Release: