]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: checks: break infinite loops when tcp-checks starts with comment
authorWilly Tarreau <w@1wt.eu>
Wed, 13 May 2015 13:39:48 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 May 2015 13:39:48 +0000 (15:39 +0200)
commit449f952cb3fa17f2b3197ccc7cf327ca5c316967
tree3018ae2410a463f0b6fd1f615b93fcb981acc30e
parent5581c27b579cbfc53afb0ca04cdeebe7e2200131
BUG/MAJOR: checks: break infinite loops when tcp-checks starts with comment

If a tcp-check sequence starts with "comment", then the action is not
matched in the while() loop and the pointer doesn't advance so we face
an endless loop. It is normally detected early except in the case where
very slow checks are performed causing it to trigger after the admin stops
watching.

This bug is 1.6-only and very recent so it didn't have the time to affect
anyone.
src/checks.c