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

Bump MAX_SIZE to support dumping Turin 1.0.0.4. #152

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

Conversation

luqmana
Copy link
Contributor

@luqmana luqmana commented Mar 10, 2025

Tried dumping Turin 1.0.0.4 but ran into a panic:

$ target/debug/amd-host-image-builder dump -i RRRT1004E.FD -b dump
thread 'main' panicked at src/main.rs:804:53:
range end index 49152 out of range for slice of length 32768
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Looks like it's increased to 49152 (0xC000) but I just went ahead and doubled MAX_SIZE for when they inevitably increase it once again.

@luqmana luqmana requested a review from daym March 10, 2025 18:25
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