Can't properly patch the file if the hex pairs have mixed length
Opened this issue · 1 comments
Deleted user commented
Here's what happens:
- If the pairs have the same length (such as
ea000037e8630091 ea000036e8630091 0037e8430091e10b 0036e8430091e10b
), everything is fine. - If the pairs have mixed length (
ea000037e8630091 ea000036e8630091 0037e8430091e1 0036e8430091e1
), the file gets corrupted.
Applying only the problematic pair is fine:
but if one more pair of different length is specified, it applies the patch at the wrong offset:
pbatard commented
Should be fixed in the new version. Thanks again for the report.