Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177369264
D11522.1794215618.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
458 B
Referenced Files
None
Subscribers
None
D11522.1794215618.diff
View Options
Index: head/lib/libc/regex/regcomp.c
===================================================================
--- head/lib/libc/regex/regcomp.c
+++ head/lib/libc/regex/regcomp.c
@@ -672,7 +672,7 @@
bc.terminate = false;
if (p->pre_parse != NULL)
p->pre_parse(p, &bc);
- while (MORE() && !SEESPEC('|') && !SEEEND()) {
+ while (MORE() && (!p->allowbranch || !SEESPEC('|')) && !SEEEND()) {
bc.terminate = p->parse_expr(p, &bc);
++bc.nchain;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 9, 9:13 AM (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41610818
Default Alt Text
D11522.1794215618.diff (458 B)
Attached To
Mode
D11522: regex(3): Correct branching oversight from rS320742
Attached
Detach File
Event Timeline