Loading lib/cookie.c +1 −1 Original line number Diff line number Diff line Loading @@ -600,7 +600,7 @@ int Curl_cookie_output(struct CookieInfo *c, char *dumphere) FILE *out; bool use_stdout=FALSE; if(0 == c->numcookies) if((NULL == c) || (0 == c->numcookies)) /* If there are no known cookies, we don't write or even create any destination file */ return 0; Loading Loading
lib/cookie.c +1 −1 Original line number Diff line number Diff line Loading @@ -600,7 +600,7 @@ int Curl_cookie_output(struct CookieInfo *c, char *dumphere) FILE *out; bool use_stdout=FALSE; if(0 == c->numcookies) if((NULL == c) || (0 == c->numcookies)) /* If there are no known cookies, we don't write or even create any destination file */ return 0; Loading