mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 13:05:03 -05:00
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
strdup() call failed.
This commit is contained in:
parent
18e1bee8d5
commit
a06b36dee0
5
CHANGES
5
CHANGES
@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
|
||||||
|
Daniel Stenberg (1 Apr 2009)
|
||||||
|
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
|
||||||
|
strdup() call failed.
|
||||||
|
|
||||||
Daniel Fandrich (31 Mar 2009)
|
Daniel Fandrich (31 Mar 2009)
|
||||||
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
|
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
|
||||||
|
|
||||||
|
@ -3214,6 +3214,7 @@ static CURLcode ftp_done(struct connectdata *conn, CURLcode status,
|
|||||||
ftpc->prevpath=strdup("");
|
ftpc->prevpath=strdup("");
|
||||||
free(path);
|
free(path);
|
||||||
}
|
}
|
||||||
|
if(ftpc->prevpath)
|
||||||
infof(data, "Remembering we are in dir \"%s\"\n", ftpc->prevpath);
|
infof(data, "Remembering we are in dir \"%s\"\n", ftpc->prevpath);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user