diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-12-14 17:27:20 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-12-14 17:27:31 +0100 |
commit | 212e3e26bc711c4bd2e0a1c2bbc14b4e40506917 (patch) | |
tree | 6b67ffb70f080f026a3f320104613a8633ce1604 /m4/.gitignore | |
parent | 125f65513157622e9e50d3b6868ec069a3e3e1e8 (diff) |
curl_schannel: Improvements to memory re-allocation strategy
- do not grow memory by doubling its size
- do not leak previously allocated memory if reallocation fails
- replace while-loop with a single check to make sure
that the requested amount of data fits into the buffer
Bug: http://curl.haxx.se/bug/view.cgi?id=1450
Reported-by: Warren Menzer
Diffstat (limited to 'm4/.gitignore')
0 files changed, 0 insertions, 0 deletions