Fix recovered offset allocation range check - #162
Open
calculatetech wants to merge 2 commits into
Open
Conversation
Member
|
Thanks for the proposed changes, what's up reasoning behind the draft status of this PR? |
calculatetech
marked this pull request as ready for review
July 23, 2026 18:12
Author
I'm still learning my way around github. My mistake. |
Member
|
Thanks for the additional context, I'll take a closer look as soon as time permits |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #162 +/- ##
==========================================
+ Coverage 29.20% 29.33% +0.13%
==========================================
Files 64 64
Lines 20854 20801 -53
Branches 5037 5040 +3
==========================================
+ Hits 6090 6102 +12
+ Misses 12818 12743 -75
- Partials 1946 1956 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recovered offset index entries were checked against the allocation map using zero-initialized local offset and size variables instead of the values parsed into the index value. This could reject recoverable entries based on an unrelated range at offset zero.
This change:
Testing
./autogen.sh./configure --disable-static --disable-nlsmake -j4make checkAll 47 library tests, 3 manpage tests, and 3 tool tests pass.