]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] fix possible crash in debug mode with invalid responses
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Apr 2010 07:14:45 +0000 (09:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 29 Apr 2010 05:09:25 +0000 (07:09 +0200)
commitc3bfeebdb498da7f87a35aa4c9333841c23dd4df
treef3ad6b5e3b1e3a604239f4be4f9f11ce0fcee870
parente52564c4dd3965837277ebd5f3c6daf177e28dda
[MINOR] fix possible crash in debug mode with invalid responses

When trying to display an invalid request or response we received,
we must at least check that we have identified something looking
like a start of message, otherwise we can dereference a NULL pointer.
src/proto_http.c