Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak-prune: Make sure to calculate hash in the unsigned domain #5738

Merged
merged 1 commit into from
Mar 21, 2024

Commits on Mar 20, 2024

  1. 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]>
    smcv committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    6dba822 View commit details
    Browse the repository at this point in the history