Skip to content

BufferOverflow fix + HTTP Header size max#10

Open
User65k wants to merge 1 commit intoaxiomatic-systems:masterfrom
User65k:LenCheck
Open

BufferOverflow fix + HTTP Header size max#10
User65k wants to merge 1 commit intoaxiomatic-systems:masterfrom
User65k:LenCheck

Conversation

@User65k
Copy link
Copy Markdown

@User65k User65k commented Mar 28, 2017

the following changes fix a buffer overflow in String.append and set an upper limit to the size of a single HTTP-Header in order to improve robustness.

The buffer overflow results if there is an overflow in NPT_Size (32bit int) as the Reserve function does not update if the new size is smaller. So data is written in unused mem

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