diff options
| author | 2015-09-10 17:24:58 +0530 | |
|---|---|---|
| committer | 2015-09-12 18:24:57 -0700 | |
| commit | 39be6b8b0cc84b33cd17bc570e80a25126f87c9c (patch) | |
| tree | 7fa6601f9667a769d81c26592cd0b360d97f2ff6 /scripts/stackusage | |
| parent | staging: lustre: lustre: obdclass: Fixed space checkpatch (diff) | |
staging: dgap: fix possible NULL dereference
The return pointer from dgap_getword() is used in strcmp() where it is
dereferenced. But dgap_getword() can return NULL.
Lets put a check there and return 0 as error.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
