madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.55k stars 2.42k forks source link

"pendingBuf overflow" assert when building with the LIT_MEM define #897

Closed zmodem closed 8 months ago

zmodem commented 8 months ago

At zlib ac8f12c97d1afd9bafa9c710f827d40a407d3266 using the attached program: pr1511987.c.gz

$ gcc -DZLIB_DEBUG -DLIT_MEM /tmp/pr1511987.c adler32.c crc32.c deflate.c inffast.c inflate.c inftrees.c trees.c zutil.c && ./a.out
pendingBuf overflow
madler commented 8 months ago

Thanks. Applied.

zmodem commented 8 months ago

I don't see where it was applied. Did it get lost, or does it need pushing or something similar?

madler commented 8 months ago

It's in my local version. It will get pushed eventually.

Neustradamus commented 8 months ago

@madler: I think that some commits are missing since 2023-11-15, can you push it? Thanks in advance.

@zmodem PR: https://github.com/madler/zlib/pull/898