From: Jim Meyering Date: Tue, 29 Apr 2008 07:59:09 +0000 (-0700) Subject: lib/inflate.c: handle failed malloc() X-Git-Tag: v2.6.26-rc1~646 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=22caa0417db3b1d3dfafc9b7c0bf31baf8d667e7;p=linux-2.6-omap-h63xx.git lib/inflate.c: handle failed malloc() lib/inflate.c (inflate_dynamic): Don't deref NULL upon failed malloc. Signed-off-by: Jim Meyering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/inflate.c b/lib/inflate.c index 845f91d3ac1..9762294be06 100644 --- a/lib/inflate.c +++ b/lib/inflate.c @@ -811,6 +811,9 @@ DEBG("