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

cpio: Read data by incremental reallocation after a threshold #164

Merged
merged 1 commit into from
Sep 28, 2023

Commits on Sep 28, 2023

  1. cpio: Read data by incremental reallocation after a threshold

    This prevents avbroot from being killed for excessive memory usage due
    to the entry header specifying a very large file name or file size
    (larger than what's actually contained in the file).
    
    This threshold for switching to incremental reallocation is 1 KiB for
    file names and 1 MiB for file data.
    
    Issue: #157
    
    Signed-off-by: Andrew Gunnerson <[email protected]>
    chenxiaolong committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    2a2515c View commit details
    Browse the repository at this point in the history