LZMA SDK stream unpack patches

2013-05-28
2013-05-29
  • Denis Golovan
    Denis Golovan
    2013-05-28

    Hi

    I'd like to share some initial support patches to allow stream unpack for LZMA SDK.
    They are located here - https://github.com/MageSlayer/7zIncremental
    Please use 7zIncremental project to test.

    Unfortunately not all files are unpacked successfully, e.g.
    http://www1.datafilehost.com/d/b5f0f490 exits with an error inside unpack engine.

    I believe there is some error in LZMA present now.

    P.S. Patches are based on v9.22b

     
  • Igor Pavlov
    Igor Pavlov
    2013-05-29

    Do you have any error with original LZMA SDK code?

     
  • Denis Golovan
    Denis Golovan
    2013-05-29

    No, the original version unpacks the file in memory just fine.
    Could you take a look at patches? They are pretty small.

    I've used LzmaDec_DecodeToBuf function which seems to be up to the case.
    Unfortunately I found no other references to it in the existing codebase, so maybe some bugs are still there?

     
  • Igor Pavlov
    Igor Pavlov
    2013-05-29

    I will not use that patch in 7-Zip.
    So I don't want to debug it.