aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp/regexec.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-02libregexp: various fixesDavid du Colombier1-1/+1
- 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>
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-20/+28
2007-12-07libregexp: fix ambiguous match selectionRuss Cox1-28/+20
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-09day one bug in sam regexp codersc1-1/+1
2007-05-18Match leading ^ in regexp with embedded newlines (Roger Peppe)rsc1-1/+1
2004-03-05Update libregexp with recent bug fixes from Plan 9.rsc1-15/+27
2003-09-30Initial revisionrsc1-0/+219