[pacman-dev] [PATCH] 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
Hi This and the "Build signature remote name based" patches are needed to fix corner cases discovered by Andrew's test cases.
On 14/7/20 2:35 am, Anatol Pomozov wrote:
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
---
Thanks. A
participants (2)
-
Allan McRae
-
Anatol Pomozov