]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] hdr_idx might be left uninitialized in some cases
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2007 11:03:42 +0000 (12:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2007 11:03:42 +0000 (12:03 +0100)
commitf0d058e8aba2db2034754f02ec70050d69354279
tree0f9ea43d0e9317a3978c003cb517cd5b59551a36
parentca28d1e1cb4fbdebf6d98f1fbac0d66abc5f0f15
[BUG] hdr_idx might be left uninitialized in some cases

When a request is invalid during RQ_BEFORE AND the debug mode is active,
the hdr_idx might be used uninitialized. Let's initialize it right after
the accept() for now.
src/client.c
src/proto_http.c