[Bug 239688] [patch] geom: uzip: Use mallocarray to prevent potential integer overflow

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 7 16:17:03 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239688

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed

--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
z_alloc is used exclusively for zlib zstream's zalloc() pointer.  zlib does not
make u_int overflowing allocation calls.  zlib inflate allocates about 44 kB
per stream, max: https://www.zlib.net/zlib_tech.html .

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list