Whamcloud - gitweb
LU-4629 utils: fix input format specifier error 67/10667/4
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 10 Jun 2014 20:09:38 +0000 (00:09 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 20 Jun 2014 03:01:48 +0000 (03:01 +0000)
commit7ad24ad7978051c942381f66e04fd52bb9967dea
tree2cc223f67488f8e821bd5e81ddcba204503bb714
parent21d716e6c16424d9deb646456758ebbaa9c70fec
LU-4629 utils: fix input format specifier error

Width is not specified for 's' conversion specifier. This can result in
an overflow of the buffer provided in arguments of a call to 'sscanf'.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: Ic9f37c19461a28a51bd1a0a1a42685b137773a41
Reviewed-on: http://review.whamcloud.com/10667
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/gss/lsupport.c
lustre/utils/l_getidentity.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/obd.c