]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hpack: reject invalid header index
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Dec 2017 11:12:17 +0000 (12:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Dec 2017 20:08:39 +0000 (21:08 +0100)
commitd85ba4e092997d2a05cd811534c61946c57133a4
treebf040ed226da3f0f375525bc6636a87224c10ccc
parent4235d182143369d608c436f83004ce931ebb3635
BUG/MINOR: hpack: reject invalid header index

If the hpack decoder sees an invalid header index, it emits value
"### ERR ###" that was used during debugging instead of rejecting the
block. This is harmless, and was detected by h2spec.

To backport to 1.8.
include/common/hpack-tbl.h
src/hpack-dec.c