sylothix / upk-modder

Automatically exported from code.google.com/p/upk-modder
0 stars 0 forks source link

Search fails in special case #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Search block contains final byte in object
2. Search will fail to find the hex block
3.

What is the expected output? What do you see instead?
Search should work for these cases.

Problem is in HexSearchAndReplace.findFilePosition()

Line is:
for (long currPos = functPos; currPos < endSearch; currPos++) {

and should be:
for (long currPos = functPos; currPos <= endSearch; currPos++) {
Please use labels and text to provide additional information.

Original issue reported on code.google.com by miss.inv...@gmail.com on 26 Dec 2013 at 7:52

GoogleCodeExporter commented 8 years ago
Correction made and tested, will be present in v0.70.

Original comment by miss.inv...@gmail.com on 29 Dec 2013 at 2:20