]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] CHRP: Fix possible NULL pointer dereference
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 23 Nov 2007 05:43:04 +0000 (16:43 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 06:13:34 +0000 (17:13 +1100)
commit9ac71d00398674aaec664f30559f0a21d963862f
treeb683032ac55b92e2760a3e0dafb7ce9658378e79
parent08a644ecef9383b109b763f5087265fd1759875f
[POWERPC] CHRP: Fix possible NULL pointer dereference

This fixes a possible NULL pointer dereference inside of strncmp() if
of_get_property() fails.

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