FreeBSD Bugzilla – Attachment 177565 Details for
Bug 214973
bmake segfault on parenthesized variables.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes segfault in bmake. Possibly sketchy.
bmake-segfault.patch (text/plain), 435 bytes, created by
Ori Bernstein
on 2016-12-01 04:27:40 UTC
(
hide
)
Description:
Fixes segfault in bmake. Possibly sketchy.
Filename:
MIME Type:
Creator:
Ori Bernstein
Created:
2016-12-01 04:27:40 UTC
Size:
435 bytes
patch
obsolete
>--- parse.c 2016-11-30 20:19:31.789154000 -0800 >+++ parse.c.orig 2016-09-28 16:25:29.000000000 -0700 >@@ -1858,7 +1858,7 @@ > * XXX Rather than counting () and {} we should look for $ and > * then expand the variable. > */ >- for (depth = 0, cp = line; depth != 0 || *cp != '='; cp++) { >+ for (depth = 0, cp = line + 1; depth != 0 || *cp != '='; cp++) { > if (*cp == '(' || *cp == '{') { > depth++; > continue;
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 214973
: 177565