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 <[email protected]>

- - - - -


1 changed file:

- lib/libalpm/filelist.c


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/0ccb584262cefdd09674cdf21406ae69577b10ad

-- 
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/0ccb584262cefdd09674cdf21406ae69577b10ad
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to