Comments (6)
Thanks Vladimir - working on repro'ing this right now.
Original comment by [email protected]
on 19 May 2012 at 11:51
from miniz.
Hi Vladimir - I've ran your example against test.zip using both v1.12 and
v1.13, using Visual Studio 2008 (both 32-bit and 64-bit, debug and release). In
each case it successfully extracts and prints manifest.mf.
If dist > dist_from_out_buf_start, it typically indicates that the Huffman code
where bad, or the stream was corrupted (or a bug in tinfl).
Do you have any more information about how to repro this? I'll try GCC (MingW)
next, just to be sure.
Thanks,
-Rich
Original comment by [email protected]
on 20 May 2012 at 12:01
from miniz.
I've also compiled and tested the example using gcc 4.5.0 (64-bit TDM-64), and
it also successfully decompresses and prints the text file. Any more repro
steps would be appreciated.
Best regards,
-Rich
Original comment by [email protected]
on 20 May 2012 at 12:07
- Changed state: Started
from miniz.
This may be a dup of issue #4. It only happens when mz_ulong is 64-bit. The
mz_crc32() function doesn't compute the proper CRC32 of the decompressed data
in this situation. The decompress data is fine, however.
I'm fixing this and will release an update today.
Original comment by [email protected]
on 20 May 2012 at 12:25
from miniz.
Could you try repro'ing this on v1.13 when you get a chance?
Thanks,
-Rich
Original comment by [email protected]
on 20 May 2012 at 4:47
from miniz.
Original comment by [email protected]
on 13 Oct 2013 at 5:25
- Changed state: Fixed
from miniz.
Related Issues (20)
- PATCH: Add allocation and free functions to allocate compressor/decompressor structures HOT 2
- PATCH: Undefined symbols for 64-bit variants of stdio functions on Mac OS X
- Compiler warnings on strict aliasing HOT 1
- enumeral and non-enumeral type in conditional expression
- Windows "Extract All..." functionality doesn't like tiny files in zip files created by miniz
- Suggestion: Filter parameter for tdefl_write_image_to_png_file_in_memory()
- [PATCH] supports armcc
- Support for reading archive comments
- mz_zip_writer_add_file does not support directory
- Remove archived file from central directory
- Wrong number of files returned for more that 65535 entries HOT 1
- Can not be used as drop-in replacement for zlib with libpng
- Multiple linker errors in VisualStudio HOT 1
- Extract all files from zip without knowing their names.
- Compress a folder
- Package Pre-Built Binaries Separately
- API to delete a file from zip
- Has anyone got it working on android devices (arm based platforms) HOT 5
- Add support for zips with extra data embedded at the front
- Example 6 completely broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniz.