[Varnish] #790: v00030.vtc coredumps VCC compiler

Varnish varnish-bugs at varnish-cache.org
Tue Oct 5 14:06:21 CEST 2010


#790: v00030.vtc coredumps VCC compiler
----------------------+-----------------------------------------------------
 Reporter:  phk       |       Owner:  kristian
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  varnishd  |     Version:  trunk   
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 The v00030.vtc testcase ends with a "badvcl" test, which succeeds because
 the VCC hits an assert and coredumps.

 The offending bit seems to be:
 {{{
        director directorname dns {
                .list = {
                        "192.168.16.255"/24;
                }
        }
 }}}

 Which triggers the assert in line 156 of vcc_dir_dns.c:

 {{{
         assert (ip4 == (ip4 & mask));
 }}}

 Please replace this assert with proper error handling and reporting.

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/790>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list