Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/util/source.sh.in
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-07-13 09:35:34 -0700
committerAllan McRae <allan@archlinux.org>2020-07-14 23:43:10 +1000
commit14c0e53eed4bd0c090e7ed2ebad41335d323c86c (patch)
treef7b56bb46e766720a3038fda6f4402eab22745f9 /scripts/libmakepkg/util/source.sh.in
parent1fd95939dbee071f4d7fb30e19c5b3cb22969113 (diff)
Check that destfile_name exists before using it
In some cases (when trust_remote_name is used for a URL without a filename and no Content-Disposition is provided by the server) destfile_name will be NULL. In this case payload data will be stored in tempfile_name and no destfile_name is set. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util/source.sh.in')
0 files changed, 0 insertions, 0 deletions