]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CRITICAL] an empty header may lead to a crash
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Jan 2007 22:39:38 +0000 (23:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Jan 2007 22:39:38 +0000 (23:39 +0100)
commitb9ebf70a3ab05b0a0c54d488f90763db256881ff
tree86ee70837044eba091f5ab3b7bc437040ee518c9
parentf0d058e8aba2db2034754f02ec70050d69354279
[CRITICAL] an empty header may lead to a crash

A missing pointer assignment in case of an empty header
will result in this header's length being 65535, causing
a SEGV when accessing the next header. It should not be
possible to exploit this problem to run arbitrary code
because the crash occurs while reading the data.
src/proto_http.c