cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: runtime check failure in http_ntlm.c

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 8 Dec 2004 00:01:30 +0100 (CET)

On Tue, 7 Dec 2004, Rene Bernhardt wrote:

> I am not a very expierienced programmer but is it possible that the line
>
>> memset(ntbuffer+16, 0, 8); (near the end of the mkhash method)
>
> causes this failure ??

You are just soooo right!

> Am I right with this?? I looked through your Web-cvs and saw the this line
> of code exists like this in former versions as well , so I did not think
> that a little bug got there accidently.

It did. On June 12th 2003. By me!

Very nice catch Rene! Committing a fix just now. It certainly is amazing how
long such a serious bug can survive!

Thanks!

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-08