diff options
| author | 2015-12-10 11:13:38 -0500 | |
|---|---|---|
| committer | 2015-12-21 14:00:17 -0800 | |
| commit | 859bcad9c2c5487dd74d4cfbdcbdd6c63a0ca955 (patch) | |
| tree | 197b962b1dcdab64c9e7afcb00348010e51e967b /tools/perf/scripts/python | |
| parent | staging/rdma/hfi1: HFI now sends OPA Traps instead of IBTA (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
