[Varnish] #742: vcl.show possible segmentation fault when using format-strings

Varnish varnish-bugs at varnish-cache.org
Tue Jul 27 11:43:31 CEST 2010


#742: vcl.show possible segmentation fault when using format-strings
-------------------+--------------------------------------------------------
 Reporter:  nav    |        Type:  defect
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  build 
  Version:  trunk  |    Severity:  normal
 Keywords:         |  
-------------------+--------------------------------------------------------

Comment(by nav):

 {{{
 15 _IO_vfprintf_internal() vfprintf.c:1614 0xb751750b
 14 _IO_vsnprintf()         vsnprintf.c:120 0xb7537460
 13 vsb_vprintf()           varnish-cache/lib/libvarnish/vsb.c:326
 0xb76bbb14
 12 cli_out()               varnish-cache/lib/libvarnish/cli_common.c:64
 0xb76b4e6a
 11 mcf_config_show()       varnish-cache/bin/varnishd/mgt_vcc.c:676
 0x0808cb27
 10 cls_dispatch()          varnish-cache/lib/libvarnish/cli_serve.c:224
 0xb76b5b26
 9 cls_vlu()                varnish-cache/lib/libvarnish/cli_serve.c:294
 0xb76b5f7c
 8 LineUpProcess()          varnish-cache/lib/libvarnish/vlu.c:157
 0xb76ba291
 7 VLU_Fd()                 varnish-cache/lib/libvarnish/vlu.c:182
 0xb76ba487
 6 CLS_PollFd()             varnish-cache/lib/libvarnish/cli_serve.c:426
 0xb76b6a40
 5 mgt_cli_callback2()      varnish-cache/bin/varnishd/mgt_cli.c:383
 0x08088b08
 4 vev_schedule_one()       varnish-cache/lib/libvarnish/vev.c:501
 0xb76b9c83
 3 vev_schedule()           varnish-cache/lib/libvarnish/vev.c:366
 0xb76b948c
 2 MGT_Run()                varnish-cache/bin/varnishd/mgt_child.c:613
 0x080861bf
 1 main()                   varnish-cache/bin/varnishd/varnishd.c:700
 0x08099fd5
 }}}

 Stack trace from where segfault occured (lines may differ from original
 code). Tested on 2.1 branch, but trunk is also affected.

-- 
Ticket URL: <http://varnish-cache.org/ticket/742#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list