Nathan Moinvaziri
60bbf6c808
Fixed MSAN use-of-uninitialized in tinfl_decompress when invalid dist is decoded. In this instance dist was 31 which s_dist_base translates as 0.
...
https://oss-fuzz.com/testcase-detail/4863557237473280
2021-01-30 17:05:42 -08:00
Nathan Moinvaziri
9457abb670
Fixed use-of-uninitialized value msan error when copying dist bytes with no output bytes written.
2020-11-02 17:18:01 -08:00
tamasmeszaros
d57872c77a
Fix for older cmake versions and build of examples.
2019-06-03 10:02:13 +02:00
Dmitry Eremin-Solenikov
d31e119d4d
Move comp/decomp alloc/free prototypes under guarding #ifndef
...
Function implemenations are already guarded by #ifndef MZ_NO_MALLOC, so
let's put prototypes under the same #ifndef. Also, while we are at it,
make those prototypes standard-compliant by adding void argument.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com >
2019-01-17 12:52:11 +03:00
Martin
53bfef515c
More instances of memcpy instead of cast and use memcpy per default
2018-10-27 17:14:33 +02:00
Martin
3616bf804b
Fix heap overflow to user buffer in tinfl_status tinfl_decompress
2018-06-18 22:17:43 +02:00
Michał Janiszewski
a6a989cc18
clang-format the sources
2017-03-23 08:50:08 +01:00
Martin
3b7ee5aea5
Fix compile warnings
2017-01-19 15:53:53 +01:00
Martin
4c36ab0230
Rerun clang-format
2017-01-03 01:30:38 +01:00
Martin
8e30365e91
Fix compile issues with "gcc -ansi"
2016-11-27 22:19:38 +01:00
Martin
224d207ce8
MiniZ ZIP64 was part of valve vogl which is MIT licensed
2016-11-21 18:17:47 +01:00
Matthew Sitton
08d8e22672
Fix issues missed from merge. Now builds properly.
2016-06-25 12:57:06 -05:00
Matthew Sitton
3979a6de1f
And finally Integrate vogl changes.
2016-06-25 12:13:28 -05:00
Matthew Sitton
d650d15974
Add vogl .clang-format and reformat library source.
2016-06-25 09:03:56 -05:00
Matthew Sitton
baa0e214e7
Add v1.16 beta r1 changes.
2016-06-25 08:02:20 -05:00
Matthew Sitton
724de0bb0f
Separate the into multiple files similar to the vogl zip64 version of the library.
...
If anyone wants to have a minified version of if a script could be written to do this automatically.
2016-06-25 06:43:30 -05:00