Martin Raiber
|
5a38f5564a
|
Increment version in cmake
|
2022-02-27 20:09:11 +01:00 |
|
Martin Raiber
|
9eedb97176
|
Clear whole tree to prevent uninitialized value
|
2022-02-27 20:08:22 +01:00 |
|
Martin Raiber
|
8a7cf60c7a
|
Merge pull request #226 from sezero/w1
replace use of stdint.h types with mz_ variants
|
2022-02-09 21:36:23 +01:00 |
|
Martin Raiber
|
d9bd65a843
|
Merge pull request #227 from sezero/u0
tdefl_compress_normal: Avoid NULL ptr arithmetic UB
|
2022-02-09 21:35:06 +01:00 |
|
Andrius Mitkus
|
71ba5d12d6
|
Avoid NULL ptr arithmetic UB
|
2022-02-09 09:48:30 +03:00 |
|
Ozkan Sezer
|
e285002431
|
replace use of stdint.h types with mz_ variants
|
2022-02-09 09:36:50 +03:00 |
|
Martin
|
842a20e586
|
Update ChangeLog
|
2022-02-06 14:58:49 +01:00 |
|
Martin
|
edc251cfa9
|
Add padding to structures so it continues to work if features differ
|
2022-02-06 14:57:58 +01:00 |
|
Martin
|
9ffbe56a73
|
Update ChangeLog
|
2022-02-06 14:39:43 +01:00 |
|
Martin
|
f2b59b344d
|
Increment major version
|
2022-02-06 14:39:27 +01:00 |
|
Martin
|
0ce345c44a
|
Disable building shared lib by default
|
2022-02-06 14:30:35 +01:00 |
|
Martin
|
0796bdbee6
|
Disable treating warnings as error with MSVC
|
2022-02-06 14:29:22 +01:00 |
|
Martin Raiber
|
056cc8db14
|
Merge pull request #159 from christiansandberg/reduced-inflate-memory-usage
Reduce memory usage for inflate
|
2022-02-06 14:16:40 +01:00 |
|
Christian Sandberg
|
60942b0f04
|
Initialize tree and code size tables separately
|
2022-01-24 09:55:56 +01:00 |
|
Christian Sandberg
|
8997650f5c
|
Remove m_tables
|
2022-01-23 20:24:58 +01:00 |
|
Christian Sandberg
|
698faddd95
|
Minor formatting fix
|
2022-01-23 14:14:27 +01:00 |
|
Christian Sandberg
|
ff862d4596
|
Fix -Wshadow
|
2022-01-23 14:12:48 +01:00 |
|
Christian Sandberg
|
740049e643
|
Merge branch 'master' into reduced-inflate-memory-usage
|
2022-01-23 13:32:56 +01:00 |
|
Martin Raiber
|
2cd06e3f32
|
Merge pull request #217 from sezero/ub-fix
tinfl_decompress: avoid NULL ptr arithmetic UB:
|
2022-01-22 22:16:45 +01:00 |
|
Martin Raiber
|
f3d9e2293b
|
Fix return value
|
2022-01-22 22:14:31 +01:00 |
|
Martin Raiber
|
1541a11e9b
|
Merge pull request #220 from sezero/z64
miniz_zip: fix mz_zip_reader_extract_to_heap to read correct sizes
|
2022-01-22 20:12:07 +01:00 |
|
Ozkan Sezer
|
501a761549
|
miniz_zip: fix mz_zip_reader_extract_to_heap to read correct sizes
Fixes: https://github.com/richgel999/miniz/issues/218
|
2022-01-02 20:56:56 +03:00 |
|
Ozkan Sezer
|
aa70ef1644
|
tinfl_decompress: avoid NULL ptr arithmetic UB:
Fixes: https://github.com/richgel999/miniz/issues/216
Also see:
6b8c30e4a9
|
2021-12-27 10:50:32 +03:00 |
|
Martin
|
13b21dddc7
|
Remove total files check (its 32-bit uint)
This fixes a compiler warning. The check didn't do
anything since m_total_files is a 32-bit uint and
MZ_UINT32_MAX is actually a valid value.
|
2021-12-11 12:59:21 +01:00 |
|
Martin
|
a956b4c753
|
Fix MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8 not being set
|
2021-12-11 12:51:50 +01:00 |
|
Martin
|
ecbbbe0138
|
Fix function declaration if MINIZ_NO_STDIO is used
|
2021-11-28 18:38:56 +01:00 |
|
Martin
|
72e7267054
|
Fix unaligned pointer access
|
2021-11-28 18:37:55 +01:00 |
|
Martin
|
12b78b6d5a
|
Fix function definitions
Fix function definitions tdefl_compressor_alloc(void) and
tinfl_decompressor_alloc(void) to not accept any amount of arguments.
|
2021-11-28 18:36:40 +01:00 |
|
Martin
|
2beb69d0a5
|
Don't use unaligned stores and loads per default
|
2021-11-28 18:35:46 +01:00 |
|
Martin
|
0a88083589
|
Improve endianess detection
|
2021-11-28 18:35:19 +01:00 |
|
Martin
|
3e5e488ba9
|
Use level_and_flags after MZ_DEFAULT_COMPRESSION has been handled
|
2021-11-28 18:08:27 +01:00 |
|
Martin
|
75c948a1dd
|
Only define MINIZ_EXPORT if not already defined
|
2021-11-28 17:35:49 +01:00 |
|
Martin
|
b4108c6fcf
|
Adjust usage text
Miniz has a history of being a single header library. Nowadays this
might be less important. So clarify that the library can be used
via other ways.
|
2021-11-28 17:26:16 +01:00 |
|
Martin Raiber
|
e6a7c5daed
|
Merge pull request #204 from DimitriPapadopoulos/codespell
Fix a couple typos found by codespell
|
2021-11-11 21:42:04 +01:00 |
|
Martin Raiber
|
66c7313326
|
Merge pull request #197 from ccawley2011/patch-3
Fix use of uninitialized memory in tinfl_decompress_mem_to_callback()
|
2021-11-11 21:39:08 +01:00 |
|
Martin Raiber
|
82d6810a38
|
Merge pull request #193 from ccawley2011/no-inflate-deflate
Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS
|
2021-11-11 21:36:53 +01:00 |
|
Martin
|
ee4deb08fa
|
Merge remote-tracking branch 'ccawley2011/mingw-watcom'
# Conflicts:
# examples/example6.c
|
2021-11-11 21:36:15 +01:00 |
|
Martin Raiber
|
cb2b132b86
|
Merge pull request #196 from ccawley2011/patch-2
Set MINIZ_LITTLE_ENDIAN only if not set
|
2021-11-11 21:26:54 +01:00 |
|
Martin Raiber
|
591faa9574
|
Merge pull request #207 from SamuelMarks/c89
C89 support
|
2021-11-11 21:25:11 +01:00 |
|
Martin Raiber
|
3a387ec369
|
Merge pull request #208 from ell1e/fix_mingw_cross
Fix MinGW cross compilation by removing unneeded capitalization
|
2021-11-11 21:24:08 +01:00 |
|
Ellie
|
cda0b3e7f0
|
Fix MinGW cross compilation by removing unneeded capitalization
|
2021-11-11 13:38:57 +01:00 |
|
Samuel Marks
|
e841503cad
|
[CMakeLists.txt] Enforce C89; [examples/example6.c] Conform to C89; [miniz_zip.c] Use lowercase <windows.h>
|
2021-11-10 21:59:32 -05:00 |
|
Dimitri Papadopoulos
|
a7961f5b4c
|
Fix a couple typos found by codespell
|
2021-11-03 14:04:11 +01:00 |
|
Martin Raiber
|
ca1a779ee1
|
Merge pull request #195 from ccawley2011/patch-1
Avoid using unaligned memory access in UBSan builds
|
2021-10-03 13:13:13 +02:00 |
|
Martin Raiber
|
18da352921
|
Merge pull request #203 from prezi/prezi-patch-2
Support for unicode characters in paths and filenames on windows
|
2021-10-03 13:12:31 +02:00 |
|
Zsombor Fazekas
|
d9c899cea4
|
Use _wstat64 instead _stat64 on windows
|
2021-09-16 12:12:07 +02:00 |
|
Zsombor Fazekas
|
70c79cc9d5
|
Use wfopen on windows
|
2021-09-16 12:00:44 +02:00 |
|
Cameron Cawley
|
583f4f27c2
|
Fix use of uninitialized memory in tinfl_decompress_mem_to_callback()
Co-authored-by: sezero <sezero@users.noreply.github.com>
|
2021-07-25 15:36:22 +01:00 |
|
Cameron Cawley
|
9b89689723
|
Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS
|
2021-07-20 20:19:32 +01:00 |
|
Cameron Cawley
|
f99eae6e04
|
Set MINIZ_LITTLE_ENDIAN only if not set
|
2021-07-20 20:17:06 +01:00 |
|