aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-08-13 19:52:38 +0100
committerGreg Kroah-Hartman <[email protected]>2016-08-15 16:35:13 +0200
commit803394d03b43ba0ef4a9ed148de19c01d87cd13a (patch)
tree99a4c220b5a2fa54b9867e051f93aba23ecbd02d /lib/mpi/mpiutil.c
parent6bef3f01398dc12532873f8b2376dba1339908bb (diff)
staging: ks7010: do not dereference priv if priv is null
priv is being dereferenced before a check for it being null is made, so there is a possibililty a null pointer deference can occur. Instead, only dereference priv if it is non-null. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions