November 1, 2017
View 40451e2

Reverting change that supported empty string filenames for cab files.

Micah Snyder authored on 2017/11/01 00:28:43
October 24, 2017
View eaa7115

1) improved debug messages 2) accept files in the cab with 0-byte (just a null terminator) lengths. I don’t know that there are any real cabs that have this, but it’s conceivable. 3) only try to sanitize if we actually got the filename correctly (I forgot to put an else{} around it when I added filename sanitization). 4) reset the parsing offset to the beginning of the file entries in case the # of folder entries found did not match the # stated in the header. (This could help or hurt in a malformed cab header depending on exactly how it was malformed. Actual value gained… hard to say).

Micah Snyder authored on 2017/10/24 22:33:54
October 19, 2017
View 8dbf92a

Adding some debug strings for cab parsing that existed in 0.99.2. Adding code that sterilizes garbage data that is read in as a string so it is not output to stderr when --debug is enabled.

Micah Snyder authored on 2017/10/19 04:52:19
October 12, 2017
View a33b7b6

adding code to fail out of cab header parsing function if at the end of the function no files were added to the file list (i.e. format issue with header)

Micah Snyder authored on 2017/10/12 01:50:14
October 11, 2017
View b470fcb

fixing small memory leak.

Micah Snyder authored on 2017/10/11 10:50:48
View e8e02f6

fixing decompression hack for LZX since we increased CAB_BLOCKMAX. adding some debug messages and eliminating one that no longer makes sense.

Micah Snyder authored on 2017/10/11 03:19:18
October 10, 2017
View 520b0fd

updating max cab size t 64k as was in old implementation, even though it's technically higher than the spec. adding back size checks. adding fix to mspack_fmap_alloc to zero the mem.

Micah Snyder authored on 2017/10/10 00:32:14
View c21235e

Ensuring mspack file handle is zeroed out after allocation and only closed if it exists

Mickey Sola authored on 2017/10/10 00:50:50
October 6, 2017
View b9cdc86

Adding modifications to continue scanning cab files that don't conform to cab size norms.

Micah Snyder authored on 2017/10/06 04:38:25
September 29, 2017
View 7cc40cb

initializing error code to zero, fixing mspack_fmap_message so it has a new line character and will print fmt strings correctly

Micah Snyder authored on 2017/09/29 05:24:24
View 87c800a

initializing file->folder to NULL to prevent accidental segfaults and valgrind complaints. adding correction to mspack_fmap_message() so it will correctly print format strings.

Micah Snyder authored on 2017/09/29 03:04:47
View 4cb7530

adding fix to cabd.c that allows completion of parsing of cab files that describe files in the header that are invalid. This occurs when non-header data is hidden at the end of the header.

Micah Snyder authored on 2017/09/29 01:33:05
September 22, 2017
View 31064b3

adding back warning fixes to pdf.c that disappears in pull request changes wrt win32 changes. adding a small change to mspack cabd.c since to eliminate a warning since this series of commits also changes mspack code.

Micah Snyder authored on 2017/09/22 03:26:37
September 7, 2017
View 8319064

mspack - removing ssize_t typing to ensure VS15 compilation

Mickey Sola authored on 2017/09/07 04:06:54
July 21, 2017
View ac44cbd

mspack - maintainability improvments for cabd OOB fix

Mickey Sola authored on 2017/07/21 04:05:45