Skip to content
Commit 9ac71d00 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Paul Mackerras
Browse files

[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: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 08a644ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment