mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
owncloud: Fix a possible null pointer dereference.
CID: #996827 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
4be88b68cc
commit
f552637ffd
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ static int fetch_resource_list( const char *uri,
|
|||
ret = NE_CONNECT;
|
||||
set_error_message(req_status->reason_phrase);
|
||||
}
|
||||
DEBUG_WEBDAV("Simple propfind result code %d.", req_status->code);
|
||||
DEBUG_WEBDAV("Simple propfind result code %d.", req_status ? req_status->code : -1);
|
||||
} else {
|
||||
if( ret == NE_ERROR && req_status->code == 404) {
|
||||
errno = ENOENT;
|
||||
|
|
Loading…
Reference in a new issue