proxy-protocol icon indicating copy to clipboard operation
proxy-protocol copied to clipboard

Fix EOF panics

Open junderw opened this issue 1 year ago • 0 comments

I found a couple rare EOF panics.

v1 = We only check up to the last CR but if LF is cut off we panic.

v2 = The TLV TODO was advancing the buffer beyond where it has been ensured (they were previously ensured only past the known lengths (which it compares the length against) but not the TLV lengths (which is length - known_length)

junderw avatar Sep 04 '24 13:09 junderw