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

chore: add resource entry offset check #2024

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

jpstotz
Copy link
Collaborator

@jpstotz jpstotz commented Oct 6, 2023

While implementing the changes of #1807 in a different project I noticed that in Jadx offset calculation for sparse entries was wrong but without effect as the offset was never used (Jadx assumes all entries can be read correctly ordered right after another in the stream).

This PR corrects the offset calculation and adds additional offset checks.

@skylot skylot merged commit d120556 into skylot:master Oct 6, 2023
5 checks passed
@skylot
Copy link
Owner

skylot commented Oct 6, 2023

@jpstotz thanks 👍

@jpstotz jpstotz deleted the res_chk branch July 21, 2024 12:26
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.

2 participants