Whamcloud - gitweb
LU-17000 obdclass: Add NULL check for parms under class_exp2cliimp 30/55030/3
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 7 May 2024 05:29:03 +0000 (01:29 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 04:48:41 +0000 (04:48 +0000)
commit3a6568a6d595caf61d67b971d561b936040606b9
tree41bea5d6a8e006295e5356a314c990ab72fd2ed1
parentf96ee06d926de5b0a797daa03d78ab2faf1f80eb
LU-17000 obdclass: Add NULL check for parms under class_exp2cliimp

This patch adds NULL pointer check for parameters
passed under class_exp2cliimp()

Test-Parameters: trivial
CoverityID: 424699 ("Dereference before null check")
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ie7d96c10086959a3f31b290d56621261da480a36
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55030
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/genops.c