[Git][pacman/pacman][master] 2 commits: libalpm/remove.c: prevent undefined behaviour in shift_pacsave error path
Allan McRae pushed to branch master at Pacman / Pacman Commits: f996f301 by Allan McRae at 2024-02-04T09:02:36+10:00 libalpm/remove.c: prevent undefined behaviour in shift_pacsave error path Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - ce528a26 by Allan McRae at 2024-02-04T09:02:36+10:00 libalpm/discspace.c: ensure mount points provide directories In the very unlikely situtation where getmntent() and friends return non-null, but the mount directory is NULL, a null dereference could occur. It is unclear what the best course of action is in this case, so just move on to the next mount point. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 2 changed files: - lib/libalpm/diskspace.c - lib/libalpm/remove.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/2ba08e622b86fa8b0831d72... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/2ba08e622b86fa8b0831d72... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)