Whamcloud - gitweb
LU-632 utils: fix problems of llog_reader 64/10764/7
authorLi Xi <lixi@ddn.com>
Fri, 20 Jun 2014 08:19:40 +0000 (16:19 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Apr 2015 00:59:16 +0000 (00:59 +0000)
commitad355e5dbb2270cee92ed58d35b4435cfd80b33c
tree837c336324c69425504df6900c5958d533e538b1
parentc1189104dde05cab312c674f6fe641fab41d2d1a
LU-632 utils: fix problems of llog_reader

When the input file of llog_reader is invalid, it is easy to
crash or loop infinitely. This patch fixes these problems.

Signed-off-by: Li Xi <pkuelelixi@gmail.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ifd6bbc5e857f6910bb4103d85742ba33a843d080
Reviewed-on: http://review.whamcloud.com/10764
Tested-by: Jenkins
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/Makefile.am
lustre/utils/llog_reader.c