]> err.no Git - linux-2.6/commit
[POWERPC] CELLEB: Fix possible NULL pointer dereference
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 29 Nov 2007 07:44:18 +0000 (18:44 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 6 Dec 2007 03:44:30 +0000 (14:44 +1100)
commit3a1c81f4faa8f93a36533fa8900a2f488528aab9
tree79675459dffb9a1724998a900f96c6e57ccb6191
parenteb8f2763412893147c00e065773f46be5634f263
[POWERPC] CELLEB: Fix possible NULL pointer dereference

This adds checking for NULL returned value from of_get_property to
prevent possible NULL pointer dereference in the case when expected
properties are not present.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/celleb/pci.c