OSDN Git Service

2.4: [POWERPC] CHRP: Fix possible NULL pointer dereference
authordann frazier <dannf@hp.com>
Fri, 22 Feb 2008 22:46:45 +0000 (15:46 -0700)
committerWilly Tarreau <w@1wt.eu>
Sun, 24 Feb 2008 20:28:42 +0000 (21:28 +0100)
commit5a8870c403989b91eaf19b7b696173e1026900b2
treed5c84f326ea9f994f100cecfff89710202ef2368
parent4de5159b3bc216ae8eec8f0f34e34ecaf976cf14
2.4: [POWERPC] CHRP: Fix possible NULL pointer dereference

This is a 2.4 backport of a linux-2.6 change by Cyrill Gorcunov.
(commit 9ac71d00398674aaec664f30559f0a21d963862f)

CVE-2007-6694 was assigned for this issue.
This backport has been compile-tested only.

Commit log from 2.6 follows.

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

Signed-off-by: dann frazier <dannf@hp.com>
arch/ppc/platforms/chrp_setup.c