Menu

#4 patch is not indentical to original, bytes difference

open-fixed
nobody
None
5
2009-09-24
2009-05-06
Anonymous
No

GDiffPatcher produces files different than the original, using Delta with chunkSize of 6.
The process is as follows (also check attached testcase):
files obj1.bin and obj2.bin (binary data). patch created in memory and used to patch obj1.bin to create obj2.bin_patched.
comparing obj2.bin_patched with obj2.bin should be identical but it isnt, both in length and in content.
Check output below:

looking for :obj1.bin
looking for :obj2.bin
b1 = 67903
b2 = 68050
patch = 17731
difference detected in position 66943

Seems that the GDiffPatcher (probably) chokes on some arbitrary combination of data. See attachment for test case (to add in src/test/) and resources that reproduce the problem.

Discussion

  • Nobody/Anonymous

    test case and resources to reproduce problem

     
  • Elias Ross

    Elias Ross - 2009-09-24
    • status: open --> open-fixed
     

Log in to post a comment.