FreeBSD Bugzilla – Attachment 237834 Details for
Bug 267537
contrib/nvi: Fix core dump when tags file pattern has a trailing '\'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.txt (text/plain), 416 bytes, created by
Craig Leres
on 2022-11-03 06:29:09 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2022-11-03 06:29:09 UTC
Size:
416 bytes
patch
obsolete
>Index: contrib/nvi/ex/ex_subst.c >=================================================================== >--- contrib/nvi/ex/ex_subst.c (revision 8) >+++ contrib/nvi/ex/ex_subst.c (working copy) >@@ -1195,7 +1195,8 @@ > for (; len > 0; --len) { > if (p[0] == '\\' && (p[1] == '/' || p[1] == '?')) { > ++p; >- --len; >+ if (len > 1) >+ --len; > } else if (STRCHR(L("^.[]$*"), p[0])) > *t++ = '\\'; > *t++ = *p++;
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 267537
: 237834