aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-12-14 17:27:20 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-12-14 17:27:31 +0100
commit212e3e26bc711c4bd2e0a1c2bbc14b4e40506917 (patch)
tree6b67ffb70f080f026a3f320104613a8633ce1604 /lib/tftp.c
parent125f65513157622e9e50d3b6868ec069a3e3e1e8 (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 'lib/tftp.c')
0 files changed, 0 insertions, 0 deletions