Skip to content
Commit 6b8526d3 authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi:ssif: Handle a possible NULL pointer reference



In error cases a NULL can be passed to memcpy.  The length will always
be zero, so it doesn't really matter, but go ahead and check for NULL,
anyway, to be more precise and avoid static analysis errors.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 380665be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment