[Zlib-devel] [PATCH] Fix segfault when NULL is passed as path to gzopen*

Mark Adler madler at madler.net
Wed Dec 15 20:28:48 EST 2010


On Dec 15, 2010, at 3:54 PM, <jbowler at acm.org> <jbowler at acm.org> wrote
> The reason was that this way if anything crashed it happened in the code that called my function, not my code, and that substantially reduced the number of bugs (the crash was closer to the error.)

Precisely.  For that reason I have made the change, despite where responsibilities ought to lie.

Mark





More information about the Zlib-devel mailing list