aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-07-25 11:22:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-07-26 16:20:15 +0200
commita7091ba75d820612ec260da805e9148397eddfcd (patch)
tree61346f423f5e2139cc41460348977f48b7777d17 /tests/libtest/test.h
parentd0d48b42763ec8649196fbf7648ad9de0127dc27 (diff)
reuse_conn(): free old_conn->options
This fixes a memory leak when CURLOPT_LOGIN_OPTIONS is used, together with connection reuse. I found this with oss-fuzz on GDAL and curl master: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9582 I couldn't reproduce with the oss-fuzz original test case, but looking at curl source code pointed to this well reproducable leak. Closes #2790
Diffstat (limited to 'tests/libtest/test.h')
0 files changed, 0 insertions, 0 deletions