commit | 1e3e981ad576eeb47ca1ca1743ff3b3d39e576a4 | [log] [tgz] |
---|---|---|
author | Kumar Amit Mehta <gmate.amit@gmail.com> | Mon Jan 26 17:52:22 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 28 10:52:05 2015 -0800 |
tree | 269490b66a0f709ad5afb524a909874fa0232a53 | |
parent | ef99fd59f122ace847636b9143f33197c51f18b5 [diff] |
staging: lustre: lustre: obdclass: obd_mount.c: Fix NULL dereference OBD_ALLOC_PTR(uuid) invokes kmalloc, which may return NULL. This fix adds a check before dereferencing such pointer. Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>