cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: bug in schannel connection shutdown?

From: Salisbury, Mark <mark.salisbury_at_hp.com>
Date: Wed, 19 Sep 2012 20:51:27 +0000

Marc,

> I took a look at this issue, but was unable to reproduce it myself.
> Even with a testcase provided by Mark, I still was not running into invalid memory access errors.

> Anyway, I created a patch that should avoid such issues by reference counting the credential handle and only allowing it to be freed if it's not needed anymore.

> Please take a look at the attached patch and tell me if it fixes the problem for you. Thanks.

> Best regards,
> Marc

Nice job. I tested and confirmed that the memory access error is gone with your change.

(Frank actually reported the error and provided the test case.)

Mark Salisbury

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-19