[PATCH] vauth: Fixed memory leak due to function returning without free

2016-07-20 Thread Saurav Babu
This patch allocates memory to "output_token" only when it is required so that memory is not leaked if function returns. --- lib/vauth/digest_sspi.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/vauth/digest_sspi.c b/lib/vauth/digest_sspi.c index c5bb35a..

Application gets blocked in libcurl v7.50.2

2017-03-05 Thread Saurav Babu
I'm using libcurl v7.50.2. There is an application using libcurl which got blocked in select() function call in libcurl. When application got terminated then below backtrace was observed: (gdb)bt full #0 0xb5f73414 in select () at /usr/src/debug//glibc-2.20/misc/../sysdeps/unix/sysc

libcurl always gives error Could not resolve

2018-02-08 Thread Saurav Babu
I'm using libcurl v7.53.1. I'm facing issue that libcurl is unable to resolve URL. Sample app code is as below: #include #include #include #include int main(void) { CURL *curl; CURLcode res; int i; curl = curl_easy_init(); curl_easy_setopt(curl, CURLOP