netty5/codec-http2/src
Scott Mitchell f73c4f24ee HTTP/2 HPACK Bounds Check Fix
Motivation:
21e8d84b79 changed the way bounds checking was done, but however a bounds check in the case of READ_LITERAL_HEADER_NAME_LENGTH_PREFIX was using an old value. This would delay when the bounds check would actually be done and potentially allow more allocation than necessary.

Modifications:
- Use the new length (index) in the bounds check instead of an old length (nameLength) which had not yet been assigned to the new value.

Result:
More correct bounds checking.
2016-08-13 11:04:26 -07:00
..
main/java/io/netty/handler/codec/http2 HTTP/2 HPACK Bounds Check Fix 2016-08-13 11:04:26 -07:00
test HTTP/2 Simplify Headers Decode Bounds Checking 2016-08-12 17:12:53 -07:00