aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp/rregexec.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-02libregexp: various fixesDavid du Colombier1-1/+0
- Check before dereference. - Fix memory leak - Remove duplicate if statement. - Remove trailing spaces. Change-Id: I140a05c8f7006493dddae753aebfa5b4577c65ef Reviewed-on: https://plan9port-review.googlesource.com/1301 Reviewed-by: Neven Sajko <nsajko@gmail.com> Reviewed-by: Russ Cox <rsc@swtch.com>
2015-06-03libregexp: fix copy-paste errorDavid du Colombier1-1/+1
Change-Id: I042d63ea62e2abd599bf9767acb3374bb39ddc7d Reviewed-on: https://plan9port-review.googlesource.com/1050 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@google.com>
2008-01-10libregexp: fix match choice bugRuss Cox1-1/+1
This bug fix allows some pathological regular expressions to cause the regexp library to report a stack overflow (really a stack filling; safe) but it also fixes the behavior of some common regexps. It is too hard to satisfy both.
2007-12-07libregexp: revert regexp fixRuss Cox1-35/+26
2007-12-07libregexp: fix ambiguous match selectionRuss Cox1-26/+35
echo SYSSYSR1 | sed 's/SYS.+/sysr1/' was producing SYSsysr1 instead of sysr1. Bug was introduced during overflow cleanup earlier this year. Also bring regexec.c and rregexec.c into sync again. Also allocate large enough lists in the regexec2/rregexec2 case.
2007-06-09anotherrsc1-1/+1
2007-05-21fix pointer comparison (Ramon de Vera)rsc1-1/+1
2007-05-18Match leading ^ in regexp with embedded newlines (Roger Peppe)rsc1-10/+9
2004-03-05Update libregexp with recent bug fixes from Plan 9.rsc1-10/+10
2003-09-30Initial revisionrsc1-0/+213