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

fix: Handle error during decompression #1665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 13, 2024

  1. fix: Correclty handle error during decompression

    During the decompression and therefore installation of the directory artifact the return value is not checked.
    
    If the decompression fails (e.g. due to size constraints) the artifact install process continues in the same way it would for an successful decompression. This can leave the system in a corrupted state with a partially installed update. 
    
    This change fixes the issue by explicitly checking the return value of the decompression process and returning an error code in case of a failure.
    
    Changelog: None
    Ticket: None
    
    Signed-off-by: Friedrich Melchert <[email protected]>
    friedrich-melchert authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4bf7a4e View commit details
    Browse the repository at this point in the history