[Varnish] #1351: varnishlog segfault in vtx_scan_linktag

Varnish varnish-bugs at varnish-cache.org
Tue Oct 1 14:48:22 CEST 2013

#1351: varnishlog segfault in vtx_scan_linktag
 Reporter:  lkarsten    |       Owner:  Martin Blix Grydeland <martin@…>
     Type:  defect      |      Status:  closed
 Priority:  normal      |   Milestone:
Component:  varnishlog  |     Version:  trunk
 Severity:  normal      |  Resolution:  fixed
 Keywords:              |
Changes (by Martin Blix Grydeland <martin@…>):

 * owner:   => Martin Blix Grydeland <martin@…>
 * status:  new => closed
 * resolution:   => fixed


 In [782251a341fab3eb3a8dc6f6db91cf94ed5e633a]:
 #!CommitTicketReference repository=""
 Redo SLT_VSL diagnostic log records from the API

 A vtx_diag log record could realloc the memory buffers while
 processing a vtx, causing ptrs to previous memory to be still used.

 Fix this by having generated log records be malloced and kept on a
 separate list, which is always reported first on a reset cursor.

 Fixes: #1351

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

More information about the varnish-bugs mailing list