]> granicus.if.org Git - curl/commit
curl_sasl: Fix memory leak in digest parser
authorEmil Lerner <neex.emil@gmail.com>
Fri, 19 Feb 2016 00:47:27 +0000 (03:47 +0300)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 20 Feb 2016 02:52:05 +0000 (21:52 -0500)
commit3fa220a6a5a3f3e9db89b04845ac5a8367445952
treeca49a38d8c9f276e6295de1f2c8e023aa94efc4e
parentfe37695aa9a1fe06b9cd119ea6f48f4fb324c4b0
curl_sasl: Fix memory leak in digest parser

If any parameter in a HTTP DIGEST challenge message is present multiple
times, memory allocated for all but the last entry should be freed.

Bug: https://github.com/curl/curl/pull/667
lib/curl_sasl.c