zlib icon indicating copy to clipboard operation
zlib copied to clipboard

Remove unnecessary stack memory usage

Open minchai23 opened this issue 4 years ago • 1 comments

minchai23 avatar Apr 22 '22 03:04 minchai23

@madler Hi, Would you please see this PR?

struct zip64_internal is a big struct. If it is allocated in the stack, some low memory devices may be overflow. It's unnecessary to because this alloc is useless in this function.

fredgan avatar Oct 13 '22 08:10 fredgan