Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flatpak-prune: Make sure to calculate hash in the unsigned domain
Otherwise, an out-of-bounds left shift can occur, as diagnosed by UBSan here: ../../../../src/flatpak/common/flatpak-prune.c:387:14: runtime error: left shift of 253 by 24 places cannot be represented in type 'int' Signed-off-by: Simon McVittie <[email protected]>
- Loading branch information