diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2018-11-01 02:53:22 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-11-06 03:11:05 -0500 |
commit | 28429fb1753d63a659f38577b39e0b5747f28939 (patch) | |
tree | 0829bf9ccfc22425b631eef4edd7e7641d05532c /lib/psl.c | |
parent | 53db15ba5524584196eedb3abe8d2e97fb5a3cc0 (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 'lib/psl.c')
0 files changed, 0 insertions, 0 deletions