Bug #488
Broken plugin/zip
Status: | Approved | Start date: | 06/30/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 100% | |
Category: | General | Spent time: | - | |
Target version: | - |
Description
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...
History
#1 Updated by Jan Dolinár over 11 years ago
- File zip.patch
added
- Subject changed from Broken to Broken plugin/zip
#2 Updated by Miroslav Fidler over 11 years ago
- Status changed from Patch ready to Approved