Whamcloud - gitweb
LU-7919 mount: Buffer overflow issue while parsing mount 58/19158/21
authorLokesh Nagappa Jaliminche <lokesh.jaliminche@seagate.com>
Thu, 22 Sep 2016 07:53:40 +0000 (13:23 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 8 Oct 2016 16:38:29 +0000 (16:38 +0000)
commit00049e341a1e978c635b44f1d3ae474d0eb75f10
tree42babded1d0dfb74b2d7660a7ac7caecc239be22
parent64c3405a62d43ccdfd4743c2252c4bf951f2e037
LU-7919 mount: Buffer overflow issue while parsing mount

check is added in parse_options, parse_ldd, add_mgsnids,
parse_ldd and main function to avoid buffer overflow
while parsing mount options.

Seagate-bug-id: MRP-2384
Change-Id: I1af9db4221ccdf1fd64a9a565063e5948cd5ba16
Signed-off-by: Lokesh Nagappa Jaliminche <lokesh.jaliminche@seagate.com>
Reviewed-on: http://review.whamcloud.com/19158
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/utils/mount_lustre.c