[squid-users] Stack overflow with large IP lists

2023-07-26 Thread magri
Hi squid community, we experience segfaults with squid 6.1 (and also older versions) during "squid -k reconfigure" on several linux systems, caused by a stack overflow. The circumstances are rather special: - we have a huge dst ip blacklist (> 300.000 enties) - this original list is sorted (by

Re: [squid-users] Stack overflow with large IP lists

2023-07-26 Thread Alex Rousskov
On 7/26/23 11:25, ma...@web.de wrote: I've attached a patch that modifies the destroy method of SplayNode to avoid recursive calls of destroy in single child nodes by moving the subtrees of the child to the parent node before destroying the child non recursively. Hi Martin, Thanks a lot f