summaryrefslogtreecommitdiff
path: root/scripts/library/output_format.sh
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-17 10:15:16 +0200
committerDan McGee <dan@archlinux.org>2011-08-17 17:30:52 -0500
commitb9833838c673b2c86a7073e50522af483d7f01dd (patch)
treee01070745500039eb9e07eeffe3c82a8f95fe54b /scripts/library/output_format.sh
parent9cddc4ad80dbb52e30cdbcd168a4c19b73e30bbe (diff)
Avoid stat() on NULL path in curl_download_internal()
stat()'s behaviour is undefined if the first argument is NULL and might be prone to segfault. Add an additional check to skip the stat() invocation if no destfile is used. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/library/output_format.sh')
0 files changed, 0 insertions, 0 deletions