]> err.no Git - linux-2.6/commit
[PATCH] SiS DRM: Fix possible NULL dereference
authorEgbert Eich <eich@suse.de>
Wed, 30 Nov 2005 14:32:59 +0000 (15:32 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Nov 2005 16:45:40 +0000 (08:45 -0800)
commitc801147c5a103eec864afee348c4ee3fdb0f380c
tree498a39dfb965c58b22b5b4ae0d920f72a0f6f2d5
parentd2ef5ebb4c4fe141a82252d4db8d8521e6765c5a
[PATCH] SiS DRM: Fix possible NULL dereference

This fixes a NULL pointer reference in DRM.  The SiS driver tries to
allocate a big chunk of memory, but the return value is never checked.

Reported in Novell bugzilla #132271:
  https://bugzilla.novell.com/show_bug.cgi?id=132271

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/drm/drm_context.c