Skip to content

Do not pass NULL paramenter to bsearch with empty filelist

Allan McRae requested to merge allan/filelist_count into master

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

Merge request reports