Bug #488

Broken plugin/zip

Added by Jan Dolinár over 10 years ago. Updated over 10 years ago.

Status:ApprovedStart date:06/30/2013
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:


Category:GeneralSpent time:-
Target version:-


I tried using plugin/zip for a while and noticed some of the functionality is seriously broken, both with GCC 4.8.1 and Clang 3.3. Two simple test cases:

    StringStream out;
    Zip zip(out); // fails here

    StringZip szip;
    szip.WriteFile("test","test.txt"); // fails here

The first one crashes the program due to uninitialized variables, so it might be caused by my compiler settings, but I think it should be fixed anyway. The second one is definitely an error in code of StringZip::Create(). Patch is attached...

zip.patch Magnifier (772 Bytes) Jan Dolinár, 06/30/2013 09:20 PM


#1 Updated by Jan Dolinár over 10 years ago

  • File zip.patchMagnifier added
  • Subject changed from Broken to Broken plugin/zip

#2 Updated by Miroslav Fidler over 10 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF