]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] segfault on some erroneous configurations
authorWilly Tarreau <w@1wt.eu>
Thu, 1 Feb 2007 22:15:45 +0000 (23:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Feb 2007 22:15:45 +0000 (23:15 +0100)
commit4266a36c5a263adeb51f8dc0cacec0d7f2aeeee7
treee4df7a111a137d7d28193304b8f4ca5b43d4a7e6
parent9cabf70db76e9884b5cbfe9d74939a98b2994c95
[BUG] segfault on some erroneous configurations

If captures were configured in a TCP-only listener, and
the logs were enabled, the proxy could segfault when
trying to scan the capture buffer which was NULL. Such
an erroneous configuration will not be possible anymore
soon, but let's avoid the problem for now by detecting
the NULL condition.
src/log.c