]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sgi-xpc: Remove NULL pointer dereference.
authorRobin Holt <holt@sgi.com>
Thu, 29 Jan 2009 22:25:07 +0000 (14:25 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Feb 2009 17:53:26 +0000 (09:53 -0800)
commita861eef17134a84dae14d8613e1b3ca14176f6a7
treed895a5f2dae5921b2ee4de0f6f1a50dca6311495
parentce3fe5cdfc21c530b43be5cc25b867281c0c5358
sgi-xpc: Remove NULL pointer dereference.

commit 17e2161654da4e6bdfd8d53d4f52e820ee93f423 upstream.

If the bte copy fails, the attempt to retrieve payloads merely returns a
null pointer deref and not NULL as was expected.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/sgi-xp/xpc_sn2.c