summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-09 16:24:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-09 23:01:06 +0100
commit7ae59838f0b9af600f3936485ad45de86bd3435f (patch)
tree4832b56ec5b08c51089f40450d824294df26d5b5 /lib/urldata.h
parent8b151cb944361755396512f9cb8f53b56fa7c076 (diff)
downloadcurl-7ae59838f0b9af600f3936485ad45de86bd3435f.tar.gz
curl_easy_escape: limit output string length to 3 * max input
... instead of the limiting it to just the max input size. As every input byte can be expanded to 3 output bytes, this could limit the input string to 2.66 MB instead of the intended 8 MB. Reported-by: Marc Schlatter Closes #6192
Diffstat (limited to 'lib/urldata.h')
0 files changed, 0 insertions, 0 deletions