aboutsummaryrefslogtreecommitdiff
path: root/src/tool_helpers.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-10-08 12:50:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-10-08 13:00:45 +0200
commit9885c9508ec757f7f658dab11658e4a3e643a420 (patch)
tree35af961981ab069167b9d9285a5da3fa10bac7d9 /src/tool_helpers.c
parentf74baaf3b3c8a4297d40322bf0ea9a6e136a3a73 (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 'src/tool_helpers.c')
0 files changed, 0 insertions, 0 deletions