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

Conversation

chenxiaolong
Copy link
Owner

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

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 chenxiaolong self-assigned this Sep 28, 2023
@chenxiaolong chenxiaolong merged commit aab9f52 into master Sep 28, 2023
22 checks passed
chenxiaolong added a commit that referenced this pull request Sep 28, 2023
Signed-off-by: Andrew Gunnerson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant