pacman/lib/libalpm
morganamilo 6e6d3f18e3 libalpm: don't use atio for pkgreason
atio's behaviour is undefined if the input is not valid. Also it does
all sorts of whitespace and prefix handling which we don't need for
pkgreason.

Instead of going into UB on invalid input we now return EXPLICIT as the
fallback and print an error. However we don't actually error out as the
DB parsing tries to be error tolerant.

Signed-off-by: Allan McRae <allan@archlinux.org>
2024-02-09 11:14:38 +10:00
..
po Fix remaining email list address 2022-06-25 22:59:20 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c add.c: drop newline in permission and ownership log messages 2024-01-10 08:52:35 +10:00
add.h Update copyright years 2022-01-02 13:34:52 +10:00
alpm.c _alpm_handle_free: free all in-memory resources 2024-01-09 22:39:14 +00:00
alpm.h libalpm: fix check_pgp_signature docs 2023-12-04 15:34:49 +00:00
alpm_list.c alpm_list_reverse: restore original list on failure 2024-02-04 07:56:00 +10:00
alpm_list.h Update copyright years 2022-01-02 13:34:52 +10:00
backup.c Update copyright years 2022-01-02 13:34:52 +10:00
backup.h Update copyright years 2022-01-02 13:34:52 +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 libalpm: don't use atio for pkgreason 2024-02-09 11:14:38 +10:00
be_package.c validate package metadata after loading 2024-02-07 12:27:26 +00:00
be_sync.c validate package metadata after loading 2024-02-07 12:27:26 +00:00
conflict.c pacman+libalpm: print version names for conflicting packages 2023-09-05 01:57:01 +00:00
conflict.h Update copyright years 2022-01-02 13:34:52 +10:00
db.c allow freeing partial db package cache 2024-02-07 12:27:26 +00:00
db.h alpm: add cache server support 2023-12-02 04:56:25 +00:00
deps.c Update copyright years 2022-01-02 13:34:52 +10:00
deps.h Update copyright years 2022-01-02 13:34:52 +10:00
diskspace.c libalpm/discspace.c: ensure mount points provide directories 2024-02-04 09:02:36 +10:00
diskspace.h Update copyright years 2022-01-02 13:34:52 +10:00
dload.c libalpm: correctly log curl_download_internal return value 2024-02-04 10:23:34 +10:00
dload.h alpm: add cache server support 2023-12-02 04:56:25 +00:00
error.c Update copyright years 2022-01-02 13:34:52 +10:00
filelist.c libalpm: mark filelist_contains as taking a const filelist 2022-03-06 17:32:23 +10:00
filelist.h Update copyright years 2022-01-02 13:34:52 +10:00
graph.c Update copyright years 2022-01-02 13:34:52 +10:00
graph.h Update copyright years 2022-01-02 13:34:52 +10:00
group.c Update copyright years 2022-01-02 13:34:52 +10:00
group.h Update copyright years 2022-01-02 13:34:52 +10:00
handle.c _alpm_handle_free: free all in-memory resources 2024-01-09 22:39:14 +00:00
handle.h Update copyright years 2022-01-02 13:34:52 +10:00
hook.c Update copyright years 2022-01-02 13:34:52 +10:00
hook.h Update copyright years 2022-01-02 13:34:52 +10:00
libarchive-compat.h Update copyright years 2022-01-02 13:34:52 +10:00
log.c Update copyright years 2022-01-02 13:34:52 +10:00
log.h Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Remove support for deltas from libalpm 2019-03-07 11:12:12 +10:00
package.c validate package metadata after loading 2024-02-07 12:27:26 +00:00
package.h validate package metadata after loading 2024-02-07 12:27:26 +00:00
pkghash.c Update copyright years 2022-01-02 13:34:52 +10:00
pkghash.h Update copyright years 2022-01-02 13:34:52 +10:00
rawstr.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
remove.c libalpm/remove.c: prevent undefined behaviour in shift_pacsave error path 2024-02-04 09:02:36 +10:00
remove.h Update copyright years 2022-01-02 13:34:52 +10:00
signing.c libalpm/signing.c: prevent underflow in length_check 2024-02-04 07:54:12 +10:00
signing.h Update copyright years 2022-01-02 13:34:52 +10:00
sync.c alpm: add cache server support 2023-12-02 04:56:25 +00:00
sync.h Update copyright years 2022-01-02 13:34:52 +10:00
trans.c Update copyright years 2022-01-02 13:34:52 +10:00
trans.h Update copyright years 2022-01-02 13:34:52 +10:00
util.c free handle resources before running scripts 2024-01-09 22:39:14 +00:00
util.h Update copyright years 2022-01-02 13:34:52 +10:00
version.c Update copyright years 2022-01-02 13:34:52 +10:00