Re: New squid packages 2.4.6-2woody9 restarts very often.
On Tue, Aug 23, 2005 at 02:48:21AM +0200, Daniel Hess wrote:
> It starts to fail when the dstdom_regex acl is activated.
I've made my way through to the actual problem (the change which
triggers the assert in line 410 lib/rfc1035.c).
Before the update (without squid-2.4.STABLE7-dns_query-4.patch)
RR->rdlength, which gets added to off, was not passed from
rfc1035RRUnpack to rfc1035NameUnpack. Now it gets passed and "len + 1"
is added to it (line 326 in patched version).
When later RR->rdlength is added to off, just before the assert, off
gets to big.
To prove this, i've set an comment around the lines 325-326 so that
RR->rdlength is not altered anymore (which is surly not a correct
solution). As the result the assert is correct an the program keeps
running (at last in two tests).
As this is not a solution (as far as i can imagine), i hope this points
people more familiar with the squid-source to right area an helps fixing
this bug.
Thanks in advance to Luigi and all other involved in finally fixing this
bug.
- Daniel
Reply to: