Skip to content

Fix EOF panics#13

Open
junderw wants to merge 1 commit intoProximyst:mainfrom
junderw:fix/eof-panics
Open

Fix EOF panics#13
junderw wants to merge 1 commit intoProximyst:mainfrom
junderw:fix/eof-panics

Conversation

@junderw
Copy link

@junderw junderw commented Sep 4, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant