mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 15:45:03 -04:00
filecache_find_url: dereference the 'filebase' pointer
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
2025279eb6
commit
7c75564af9
@ -652,7 +652,7 @@ static char *filecache_find_url(alpm_handle_t *handle, const char *url)
|
|||||||
}
|
}
|
||||||
|
|
||||||
filebase++;
|
filebase++;
|
||||||
if(filebase == '\0') {
|
if(*filebase == '\0') {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user