Error during icap_acl parsing in Squid 3.

From: Ghislain Garcon <gigi_8439@dont-contact.us>
Date: Mon, 28 Nov 2005 18:33:23 +0100

Hello,

    I've made a check out this morning of squid 3 and I've tried to add
ICAP access rules.
When I set : icap_access class_0 allow all
and I launch squid -z to create swap files I get a core dump in file
acl.cc line 339

If I comment only this ICAP Access rule, parsing finishes normally.

I've no more investigated but here is gdb output :

Program received signal SIGSEGV, Segmentation fault.
0x0804e294 in aclParseAccessLine (head=0x83108d0) at acl.cc:339
339 for (B = *head, T = head; B; T = &B->next, B = B->next);
(gdb) bt
#0 0x0804e294 in aclParseAccessLine (head=0x83108d0) at acl.cc:339
#1 0x0811c8d0 in ICAPConfig::parseICAPAccess (this=0x82a6a20)
    at ICAPConfig.cc:346
#2 0x08069e92 in parse_icap_access_type (cfg=0x82a6a20) at cache_cf.cc:3398
#3 0x0806dc91 in parse_line (buff=0x83108a0 "icap_access")
    at cf_parser.h:1560
#4 0x0806ea57 in parseConfigFile (
    file_name=0x82cf908 "/usr/local/squid3/etc/squid.conf") at
cache_cf.cc:364
#5 0x080ca565 in main (argc=2, argv=0xbfb8b044) at main.cc:1009
Received on Mon Nov 28 2005 - 10:33:18 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:16 MST