Skip to content
Snippets Groups Projects

Do not pass NULL paramenter to bsearch with empty filelist

Merged 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

Pipeline #96077 passed

Pipeline passed for 0ccb5842 on allan/filelist_count

Merged by Allan McRaeAllan McRae 9 months ago (Apr 5, 2024 12:38am UTC)

Loading

Pipeline #96078 passed

Pipeline passed for 0ccb5842 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading