lib/inflate.c: handle failed malloc()
authorJim Meyering <jim@meyering.net>
Tue, 29 Apr 2008 07:59:09 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:02 +0000 (08:06 -0700)
commit22caa0417db3b1d3dfafc9b7c0bf31baf8d667e7
tree9d83fa00c532035b9f7c08f498973e5499483e6a
parentcd6fda36089cf3b450821228c2f575a3b5d0e7a7
lib/inflate.c: handle failed malloc()

lib/inflate.c (inflate_dynamic): Don't deref NULL upon failed malloc.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/inflate.c