diff options
| author | 2016-10-12 09:34:29 +0300 | |
|---|---|---|
| committer | 2016-10-19 10:35:51 -0700 | |
| commit | 75d29713b792da4782cadfaa87e802183440694e (patch) | |
| tree | 3d279ed95896399f5b220ac0c554d632432de89a /tools/perf/scripts/python/futex-contention.py | |
| parent | Linux 4.9-rc1 (diff) | |
| download | linux-dev-75d29713b792da4782cadfaa87e802183440694e.tar.xz linux-dev-75d29713b792da4782cadfaa87e802183440694e.zip | |
libnvdimm, namespace: potential NULL deref on allocation error
If the kcalloc() fails then "devs" can be NULL and we dereference it
checking "devs[i]".
Fixes: 1b40e09a1232 ('libnvdimm: blk labels and namespace instantiation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
