Red Hat Bugzilla – Bug 149451
bzip2 1.0.2 minor zlib compatibility layer bug (missing NULLptr check)
Last modified: 2007-11-30 17:11:00 EST
just forwarding a bug that we've fixed in Gentoo ...
BZ2_bzclose fails to perform a NULL pointer check before actually
using the passed BZFILE * argument. The NULL check *is* performed but
only after the argument is used for the first time, resulting in a
potential NULL pointer dereference.
path author: Mihai Limbasan <email@example.com>
thank you for your notic, attached patch was used in the last version of bzip2