[Varnish] #1115: varnishncsa spuriously logs incorrect request URLs

Varnish varnish-bugs at varnish-cache.org
Mon Oct 15 13:02:59 CEST 2012


#1115: varnishncsa spuriously logs incorrect request URLs
-------------------------+---------------------
 Reporter:  lampe        |       Owner:  tfheen
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  varnishncsa  |     Version:  3.0.2
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by Tollef Fog Heen <tfheen@…>):

 In [b2d19c5f6d3c3d661720a4c4ed2ff0b4695e6f04]:
 {{{
 #!CommitTicketReference repository=""
 revision="b2d19c5f6d3c3d661720a4c4ed2ff0b4695e6f04"
 Use memchr rather than strchr/index

 the strings we get from the libvarnishapi functions are not
 necessarily null-terminated, so avoid using str* functions on them.

 Thanks to lampe for the patch.

 Fixes #1115
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1115#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list