aboutsummaryrefslogtreecommitdiff
path: root/src/tool_doswin.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2018-11-01 02:53:22 -0400
committerJay Satiro <raysatiro@yahoo.com>2018-11-06 03:11:05 -0500
commit28429fb1753d63a659f38577b39e0b5747f28939 (patch)
tree0829bf9ccfc22425b631eef4edd7e7641d05532c /src/tool_doswin.c
parent53db15ba5524584196eedb3abe8d2e97fb5a3cc0 (diff)
curl_multibyte: fix a malloc overcalculation
Prior to this change twice as many bytes as necessary were malloc'd when converting wchar to UTF8. To allay confusion in the future I also changed the variable name for the amount of bytes from len to bytes. Closes https://github.com/curl/curl/pull/3209
Diffstat (limited to 'src/tool_doswin.c')
0 files changed, 0 insertions, 0 deletions