]> git.ipfire.org Git - thirdparty/squid.git/commit - include/splay.h
Rewrite SplayNode to eliminate recursive calls (#1431)
authorMartin Grimm <magri@web.de>
Mon, 9 Oct 2023 17:10:43 +0000 (17:10 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 9 Oct 2023 17:10:54 +0000 (17:10 +0000)
commitd4e7ea7abcf9c95de30cfaacb54477d50ce61c1f
treec5f5f3d4475695342843da0f4e10bcda388c8b28
parentf05e4f37165390012c0be5c008485cf2faeeeb35
Rewrite SplayNode to eliminate recursive calls (#1431)

Recursive method calls in SplayNode can lead to a stack overflow with
large (degenerate) trees, e.g. after creating a large dst acl from a
sorted ip list.
include/splay.h
test-suite/splay.cc