November 15, 2017
View e1dc85f

replacing extra params that indicate intentional variable assignment within an if statement, preventing a compile warning.

Micah Snyder authored on 2017/11/15 23:40:32
November 10, 2017
View e31a035

applying a cleaner casting solution to account for isalnum issue on Windows Debug builds.

Micah Snyder authored on 2017/11/10 02:07:45
November 9, 2017
View 42573c3

adding check prior to call to isalnum to avoid assert error in windows when random data that is < -1 or > 255 is fed into isalnum(). see https://stackoverflow.com/questions/28589051/using-isalnum-with-signed-character-inputs-visual-c

Micah Snyder authored on 2017/11/09 10:27:19
November 4, 2017
View e4304a5

0.99.3 - regression fix - removing first pass offset check when extracting cab files compressed with lzx, improving debug output for LZX type decompression, warning on lzx file format issue instead of exiting decompression

Mickey Sola authored on 2017/11/04 03:42:24
November 1, 2017
View 9d978d5

Reverting change that supported empty string filenames for cab files.

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

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 17bca88

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 da409fe

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 28ee7fe

fixing small memory leak.

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

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 dbf9e66

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 3097795

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 3d6ca92

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 94d0336

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 4bbaf8d

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