Allan McRae pushed to branch master at Pacman / Pacman Commits: a6f7467d by Allan McRae at 2026-01-25T22:50:56+10:00 Prevent overflow when sorting package download order When comparing the package download size, the difference is cast to an int. This results in an integer overflow for very large packages. Return -1, 0, or 1 to indicate relative size to avoid the overflow. Fixes #305. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 1 changed file: - lib/libalpm/dload.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/a6f7467d8c7c4d7e9cc84688... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/a6f7467d8c7c4d7e9cc84688... You're receiving this email because of your account on gitlab.archlinux.org.