Skip to content

Fix buffer overflow while reading post data. - #20

Open
walac wants to merge 1 commit into
JoeDog:masterfrom
walac:master
Open

Fix buffer overflow while reading post data.#20
walac wants to merge 1 commit into
JoeDog:masterfrom
walac:master

Conversation

@walac

@walac walac commented Jul 24, 2015

Copy link
Copy Markdown

fread reads data as binary data, and does not append a null char at the
end of the buffer.

fread reads data as binary data, and does not append a null char at the
end of the buffer.
@JoeDog

JoeDog commented Jul 24, 2015

Copy link
Copy Markdown
Owner

Good catch, thanks. I tend to memset buffers to null and missed it there.

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.

2 participants