diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-10-08 12:50:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-08 13:00:45 +0200 |
commit | 9885c9508ec757f7f658dab11658e4a3e643a420 (patch) | |
tree | 35af961981ab069167b9d9285a5da3fa10bac7d9 /tests/server/tftp.h | |
parent | f74baaf3b3c8a4297d40322bf0ea9a6e136a3a73 (diff) |
formpost: avoid silent snprintf() truncation
The previous use of snprintf() could make libcurl silently truncate some
input data and not report that back on overly large input, which could
make data get sent over the network in a bad format.
Example:
$ curl --form 'a=b' -H "Content-Type: $(perl -e 'print "A"x4100')"
Diffstat (limited to 'tests/server/tftp.h')
0 files changed, 0 insertions, 0 deletions