FreeBSD Bugzilla – Attachment 147624 Details for
Bug 167921
bsdgrep(1) segfaults with "\\."
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
grep-pr167921.diff (text/plain), 506 bytes, created by
Pedro F. Giffuni
on 2014-09-23 20:32:14 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2014-09-23 20:32:14 UTC
Size:
506 bytes
patch
obsolete
>Index: usr.bin/grep/regex/tre-fastmatch.c >=================================================================== >--- usr.bin/grep/regex/tre-fastmatch.c (revision 272033) >+++ usr.bin/grep/regex/tre-fastmatch.c (working copy) >@@ -727,7 +727,7 @@ > for (unsigned int i = 0; i < fg->len; i++) > if (fg->pattern[i] == '\\') > escaped = !escaped; >- else if (fg->pattern[i] == '.' && escaped) >+ else if (fg->pattern[i] == '.' && fg->escmap && escaped) > { > fg->escmap[i] = true; > escaped = false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167921
: 147624