libmspack
libmspack copied to clipboard
A library for some loosely related Microsoft compression formats, CAB, CHM, HLP, LIT, KWAJ and SZDD.
**The problem** Let's say we have a CAB file that contains `hello.dll` and a symlink with the same name to some other file in the current directory. With this when...
I have embedded libmspack in rizin and we had these issues raised by our CI ``` +../subprojects/libmspack/libmspack/mspack/cabd.c:1403:66: runtime error: left shift of 156 by 24 places cannot be represented in...
I have worked on setting up continuous fuzzing for libmspack, and this PR adds a fuzzer as well as the build script for oss-fuzz. For those unfamiliar with fuzzing: Fuzzing...
Update: This PR is complete. Best, Micah --- Adds CMake tooling for libmspack to the project. This attempts to replicate every feature available in the autotools tooling and includes support...
With gcc 9.3.1 20200506 compiling mspack 1.9.1 prints: ``` mspack/chmd.c: In function 'chmd_extract': mspack/chmd.c:1139:10: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1139 | length -= self->d->offset; |...
When using cabextract on large cab files with many bundled files, the ability to extract more than one file based on multiple filters is a huge efficiency gain (minutes vs...
fixing oob, null pointer deference
I tried extracting [this cab file](http://www.solidfiles.com/d/5658e771ea/) using cabextract but it wasn't extracted correctly. (the folders aren't extracted) I used following command from windows and it extracted as it should've. `expand...
If I try to extract files from a .cab file containing file names encoded in shift_JIS, it aborts with the following error: ``` Extracting cabinet: DENKEN CG集(同人).cab extracting DENKEN?@CG?W?i???l?j/DENKEN?@CG?W.d88 DENKEN?@CG?W?i???l?j/DENKEN?@CG?W.d88:...