summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorEaswar Hariharan <easwar.hariharan@intel.com>2015-12-10 19:13:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-22 01:00:17 +0300
commit859bcad9c2c5487dd74d4cfbdcbdd6c63a0ca955 (patch)
tree197b962b1dcdab64c9e7afcb00348010e51e967b /scripts/stackusage
parent5cd24119d437910d15c510218dcd32f57355a3d3 (diff)
downloadlinux-859bcad9c2c5487dd74d4cfbdcbdd6c63a0ca955.tar.xz
staging/rdma/hfi1: Fix a possible null pointer dereference
A code inspection pointed out that kmalloc_array may return NULL and memset doesn't check the input pointer for NULL, resulting in a possible NULL dereference. This patch fixes this. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions