curl-library
Re: BUG: free statement in http_negotiate.c giving heap error
From: Arunav Sanyal <arunav.sanyal91_at_gmail.com>
Date: Thu, 25 Apr 2013 15:18:48 +0530
Date: Thu, 25 Apr 2013 15:18:48 +0530
I had indented the code properly while sending the email
When i said fail, I meant that the pointer is probably not initialized or
memory for it is probably never allocated. While the build was successful,
it was a runtime crash during cleanup operations
if(neg_ctx->server_name != GSS_C_NO_NAME){
gss_release_name(&minor_status, &neg_ctx->server_name);
}
Here the point of failure is the conditional(i.e. the if statement). So i
am guessing something is wrong with neg_ctx->servername. This cleanup needs
to be fixed
-- Arunav Sanyal 4th year undergraduate student B.E (Hons) Computer Science BITS Pilani K.K Birla Goa Campus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-25