Skip to content

Can't properly patch the file if the hex pairs have mixed length #8

@ghost

Description

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:
capt1

but if one more pair of different length is specified, it applies the patch at the wrong offset:
capt2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions