lib/fetch/file.c: CID 62701 (NULL pointer dereference)
This commit is contained in:
parent
d434b44cfc
commit
6e7c160195
@ -210,6 +210,11 @@ fetchStatFile(struct url *u, struct url_stat *us, const char *flags)
|
|||||||
|
|
||||||
(void)flags;
|
(void)flags;
|
||||||
|
|
||||||
|
if (us == NULL) {
|
||||||
|
fetch_syserr();
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
if ((path = fetchUnquotePath(u)) == NULL) {
|
if ((path = fetchUnquotePath(u)) == NULL) {
|
||||||
fetch_syserr();
|
fetch_syserr();
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user