diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2013-09-11 17:20:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 18:56:50 -0400 |
commit | 03dbe88aa9cd0d7b0a876b38bd75ce73b4522454 (patch) | |
tree | 2adc8eb4f283cc2ffa3f6903e074f634c3f4a78f /fs/nls/mac-turkish.c | |
parent | 9a239e4c68df78888f67b1d4e7d507e24ac6764f (diff) |
ocfs2: avoid possible NULL pointer dereference in o2net_accept_one()
Since o2nm_get_node_by_num() may return NULL, we add this check in
o2net_accept_one() to avoid possible NULL pointer dereference.
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nls/mac-turkish.c')
0 files changed, 0 insertions, 0 deletions