[Varnish] #1671: VRT_re_match causes Segmentation fault in libpcre.so.3
Varnish
varnish-bugs at varnish-cache.org
Wed Feb 4 15:37:03 CET 2015
#1671: VRT_re_match causes Segmentation fault in libpcre.so.3
---------------------------+--------------------
Reporter: lygie | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.0.2
Severity: normal | Resolution:
Keywords: sefgault, vcl |
---------------------------+--------------------
Comment (by lygie):
Using just the regex defined in the constant causes the same issue
{{{
VRT_re_init(&VGC_re_53,
"(?i)Android.*Nexus[\\s]+(7|10)|^.*Android.*Nexus(?:(?!Mobile).)*$");
}}}
I tried a clean varnish4 setup just adding
{{{
sub vcl_recv {
if(req.http.User-Agent ~
"(?i)Android.*Nexus[\s]+(7|10)|^.*Android.*Nexus(?:(?!Mobile).)*$") {
set req.http.User-Test = "123";
}
}
}}}
causing the same segfault
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1671#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list