diff options
| author | Kumar Amit Mehta <gmate.amit@gmail.com> | 2015-01-26 16:44:53 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-28 10:52:05 -0800 |
| commit | c1f79c74e222000386f3950ed98d150e6009648b (patch) | |
| tree | 41c1541c9777e5363f909a570e3c68c0a8250230 /tools/perf/scripts/python | |
| parent | 1e3e981ad576eeb47ca1ca1743ff3b3d39e576a4 (diff) | |
staging: lustre: lustre: mdc: lproc_mdc.c: Fix for potential NULL pointer dereference
In mdc_kuc_write(), OBD_ALLOC(lh, len) may leave 'lh' to NULL as kmalloc
may fail to allocate memory. This fix adds a check to avoid, dereferencing
a NULL pointer.
Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
