JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.92k stars 386 forks source link

Fix buffer overflow while reading post data. #20

Open walac opened 9 years ago

walac commented 9 years ago

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

JoeDog commented 9 years ago

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