Re: [pacman-dev] [PATCH] Check that destfile_name exists before using it

2020-07-14 Thread Allan McRae
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. > >

Re: [pacman-dev] [PATCH] Check that destfile_name exists before using it

2020-07-13 Thread Anatol Pomozov
Hi This and the "Build signature remote name based" patches are needed to fix corner cases discovered by Andrew's test cases.

[pacman-dev] [PATCH] Check that destfile_name exists before using it

2020-07-13 Thread Anatol Pomozov
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 ---