curl-library
Re: [PATCH] ntlm_wb_response: fix theoretical memory leak
From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 16 Jul 2015 14:30:45 -0400
Date: Thu, 16 Jul 2015 14:30:45 -0400
On 7/16/2015 6:59 AM, David Woodhouse wrote:
> Static analysis indicated that my commit 9008f3d564 ("ntlm_wb: Fix
> hard-coded limit on NTLM auth packet size") introduced a potential
> memory leak on an error path, because we forget to free the buffer
> before returning an error.
>
> Fix this.
Thanks, landed in https://github.com/bagder/curl/commit/60b1963
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-16