mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
00f060000f
or "+" (these are invalid, because there is no preceding operand). When bsdgrep attempts to emulate GNU grep in discarding and ignoring the invalid ? or + operators, some later logic in tre_compile_fast() goes beyond the end of the buffer, leading to a crash. Fix this by bailing out, and reporting a bad pattern instead. Reported by: Steve Kargl MFC after: 1 week |
||
---|---|---|
.. | ||
nls | ||
regex | ||
tests | ||
file.c | ||
grep.1 | ||
grep.c | ||
grep.h | ||
Makefile | ||
Makefile.depend | ||
queue.c | ||
util.c |