CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2021/07/22 10:40:20
Modified files: sys/net : ppp-deflate.c sys/lib/libz : deflate.c infback.c inflate.c zlib.h zopenbsd.c zutil.h Log message: Add sizes for free() in zlib Rebased version of a diff from miod who described it as follows: This tries to keep diffability against upstream, hence a questionable choice of the size type for zcfree() - but all sizes should fit in 32 bits anyway. Since all zcfree routines used in the tree cope with NULL arguments (including the various alloc.c used by the boot blocks), I have simplified TRY_FREE to compensate for the growth. Reminded by and ok mpi