pacman/lib/libalpm
Demi Obenour eb5bf69138 Fetch signature and database from the same URL
Previously, the for loops on lines 1035 and 1037 would advance to the
next element in the server list, even if downloading the URL succeeded.
If there are no more servers in the list, `s` would be NULL, causing
a NULL pointer dereference on line 1046.  If there were servers left
in the list, the signature would be downloaded from a wrong URL.

1. Fetching of database signatures is enabled.
2. There is only one enabled remote repository URL, or fetching from
   all but the last one fails and fetching from the last one succeeds.
3. An XferCommand is used.

Qubes OS Arch templates satisfy all of these conditions and trigger the bug.
2024-03-19 11:44:38 +10:00
..
po Pull translations for release 2024-03-04 13:07:58 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c Update copyright years 2024-02-24 18:40:44 +10:00
add.h Update copyright years 2024-02-24 18:40:44 +10:00
alpm.c Update copyright years 2024-02-24 18:40:44 +10:00
alpm.h Update copyright years 2024-02-24 18:40:44 +10:00
alpm_list.c Update copyright years 2024-02-24 18:40:44 +10:00
alpm_list.h Update copyright years 2024-02-24 18:40:44 +10:00
backup.c Update copyright years 2024-02-24 18:40:44 +10:00
backup.h Update copyright years 2024-02-24 18:40:44 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h Do not #define _RESERVED_IDENTIFIERS 2016-09-25 18:04:57 +10:00
be_local.c Fix error messages for unknown key in databases 2024-03-05 07:25:11 +10:00
be_package.c Update copyright years 2024-02-24 18:40:44 +10:00
be_sync.c Fix error messages for unknown key in databases 2024-03-05 07:25:11 +10:00
conflict.c Update copyright years 2024-02-24 18:40:44 +10:00
conflict.h Update copyright years 2024-02-24 18:40:44 +10:00
db.c Update copyright years 2024-02-24 18:40:44 +10:00
db.h Update copyright years 2024-02-24 18:40:44 +10:00
deps.c Update copyright years 2024-02-24 18:40:44 +10:00
deps.h Update copyright years 2024-02-24 18:40:44 +10:00
diskspace.c Update copyright years 2024-02-24 18:40:44 +10:00
diskspace.h Update copyright years 2024-02-24 18:40:44 +10:00
dload.c Fetch signature and database from the same URL 2024-03-19 11:44:38 +10:00
dload.h Update copyright years 2024-02-24 18:40:44 +10:00
error.c Update copyright years 2024-02-24 18:40:44 +10:00
filelist.c Update copyright years 2024-02-24 18:40:44 +10:00
filelist.h Update copyright years 2024-02-24 18:40:44 +10:00
graph.c Update copyright years 2024-02-24 18:40:44 +10:00
graph.h Update copyright years 2024-02-24 18:40:44 +10:00
group.c Update copyright years 2024-02-24 18:40:44 +10:00
group.h Update copyright years 2024-02-24 18:40:44 +10:00
handle.c Update copyright years 2024-02-24 18:40:44 +10:00
handle.h Update copyright years 2024-02-24 18:40:44 +10:00
hook.c Update copyright years 2024-02-24 18:40:44 +10:00
hook.h Update copyright years 2024-02-24 18:40:44 +10:00
libarchive-compat.h Update copyright years 2024-02-24 18:40:44 +10:00
log.c Update copyright years 2024-02-24 18:40:44 +10:00
log.h Update copyright years 2024-02-24 18:40:44 +10:00
meson.build Remove support for deltas from libalpm 2019-03-07 11:12:12 +10:00
package.c Update copyright years 2024-02-24 18:40:44 +10:00
package.h Update copyright years 2024-02-24 18:40:44 +10:00
pkghash.c Update copyright years 2024-02-24 18:40:44 +10:00
pkghash.h Update copyright years 2024-02-24 18:40:44 +10:00
rawstr.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
remove.c Update copyright years 2024-02-24 18:40:44 +10:00
remove.h Update copyright years 2024-02-24 18:40:44 +10:00
signing.c Update copyright years 2024-02-24 18:40:44 +10:00
signing.h Update copyright years 2024-02-24 18:40:44 +10:00
sync.c Update copyright years 2024-02-24 18:40:44 +10:00
sync.h Update copyright years 2024-02-24 18:40:44 +10:00
trans.c Update copyright years 2024-02-24 18:40:44 +10:00
trans.h Update copyright years 2024-02-24 18:40:44 +10:00
util.c Update copyright years 2024-02-24 18:40:44 +10:00
util.h Update copyright years 2024-02-24 18:40:44 +10:00
version.c Update copyright years 2024-02-24 18:40:44 +10:00