mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-13 17:39:21 -04:00
HPACK indices start at 1, so idx=0 is invalid. The function only checked the upper bound before, allowing idx=0 to pass as valid. This is harmless as the code properly checks for existing name and values everywhere, but then due to the call to hpack_idx_to_phdr(), index 0 will be taken for :authority. Let's just make sure it's never zero. This can be backported. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||