diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-17 16:45:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-18 00:30:41 +0200 |
commit | 9cddc4ad80dbb52e30cdbcd168a4c19b73e30bbe (patch) | |
tree | 8c9db6092fb018a10bb86733559489ad91b23424 /lib/libalpm/graph.h | |
parent | 3ceef97799da9ec938dbade9e08e624ebb5fcea7 (diff) | |
download | pacman-9cddc4ad80dbb52e30cdbcd168a4c19b73e30bbe.tar.gz pacman-9cddc4ad80dbb52e30cdbcd168a4c19b73e30bbe.tar.xz |
Skip rename() on NULL destfile in curl_download_internal()
Avoid a potential segfault that may occur if we use a temporary file and
fail to build the destination file name from the effective URL.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/graph.h')
0 files changed, 0 insertions, 0 deletions