You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By investigating some 64-bit portability warnings from MSVC some bugs
were found in the API wrappers for zlib's Deflate and Inflate functions.
The decompressed data was leaked as the function returned and could lead
to memory exhaustion in the runtime upon repeated calls, this has been
addressed by using RAII to release the temporary buffer. This also fixed
a bug where both C++ `new[]` and C `realloc` was used for the same
storage.
Some constraints were tightened to avoid problems with correctness due
to unfortunate integer type sizes beyond our control in zlib.
0 commit comments