[Git][pacman/pacman][master] Do not pass NULL paramenter to bsearch with empty filelist
5 Apr
2024
5 Apr
'24
12:38 a.m.
Allan McRae pushed to branch master at Pacman / Pacman Commits: 0ccb5842 by Allan McRae at 2024-04-05T00:35:08+00:00 Do not pass NULL paramenter to bsearch with empty filelist A filelist can be non-NULL but empty (particularly with a lot of NoExtract entries). Handle this in alpm_filelist_contains() Identified using the undefined behaviour sanitizer. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 1 changed file: - lib/libalpm/filelist.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/0ccb584262cefdd09674cdf2... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/0ccb584262cefdd09674cdf2... You're receiving this email because of your account on gitlab.archlinux.org.
269
Age (days ago)
269
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae (@allan)