]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: pattern: fix possible infinite loops on deletion master
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 09:49:01 +0000 (11:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 09:49:01 +0000 (11:49 +0200)
commit359a829ccb8693e0b29808acc0fa7975735c0353
treeb9d3a2da36b2ba1f751ad24fc3df401fa5858fba
parent4edff4a2cc774246051841495f8df3821b7df745
BUG/MEDIUM: pattern: fix possible infinite loops on deletion

Commit e36b3b60b3 ("MEDIUM: migrate the patterns reference to cebs_tree")
changed the construction of the loops used to look up matching nodes, and
since we don't need two elements anymore, the "continue" statement now
loops on the same element when deleting. Let's fix this to make sure it
passes through the next one.

No backport is needed, this is only 3.3.
src/pattern.c