]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/ldlm: fix NULL pointer dereference
authorDmitry Eremin <dmitry.eremin@intel.com>
Sun, 27 Apr 2014 17:06:52 +0000 (13:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Apr 2014 17:24:54 +0000 (10:24 -0700)
commit9d9d5d477545c7a7daac7c346d8998baf748e9f3
tree0d7bb7e7d07ff54c58f6b12f985fcc0969c7065c
parent7b333354f08bab183e5a8a164722ca36f082c6a6
staging/lustre/ldlm: fix NULL pointer dereference

Pointer '*exp' returned from call to function 'class_conn2export'
at line 523 may be NULL and may be dereferenced at line 543.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/9323
ntel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lib.c