summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2019-12-23 10:42:19 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-11 07:51:11 +0100
commit1429f6e885c2a51cd9365dfb3b3e7d4f4df72127 (patch)
tree04e291fcefd227cfe4d1c6fd8749a03a78f0c865 /scripts/objdiff
parenta707c374c4910676f6d3050e91a70243e8ab95c2 (diff)
ipmi:ssif: Handle a possible NULL pointer reference
[ Upstream commit 6b8526d3abc02c08a2f888e8c20b7ac9e5776dfe ] 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: kbuild test robot <lkp@intel.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions