commit | 0dc1b84839ef235a3153d1ef3e729fe1c89f2ea9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 16 09:38:30 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 16 09:38:30 2018 +0100 |
tree | 6e62c98980f301cf7139bf215dc9cf7cad00f91c | |
parent | 7a0139e2b688986c88caa23b76e82e7c1b5fef5f [diff] |
BUG/MAJOR: hpack: fix length check for short names encoding Commit 19ed92b ("MINOR: hpack: optimize header encoding for short names") introduced an error in the space computation for short names, as it removed the length encoding from the count without replacing with 1 (the minimum byte). This results in the last byte of the area being occasionally overwritten, which is immediately detected with -DDEBUG_MEMORY_POOLS as the canary at the end gets overwritten. No backport is needed.