]> sourceware.org Git - lvm2.git/commit
reporter: simplify --configreport handling for -S|--select and fix an issue reported...
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 27 Jun 2016 08:14:17 +0000 (10:14 +0200)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 28 Jun 2016 01:27:19 +0000 (02:27 +0100)
commit1b11f09d2a3bd3f6421776a004e62215054fa835
treebc36e57db9c799175a5385b8f4a6503a50124d5e
parentf0768f636edb8da08e46b029380779fd623399de
reporter: simplify --configreport handling for -S|--select and fix an issue reported by coverity

Simplify code around _do_get_report_selection - remove "expected_idxs[]"
argument which is superfluous and add "allow_single" switch instead to
allow for recognition of "--configreport <report_name> -S" as well as
single "-S" if needed.

Null pointer dereferences  (FORWARD_NULL) /safe/guest2/covscan/LVM2.2.02.158/tools/reporter.c: 961 in _do_report_get_selection()
Null pointer dereferences  (FORWARD_NULL) Dereferencing null pointer "single_args".
lib/report/report.h
tools/reporter.c
tools/toollib.c
This page took 0.040819 seconds and 5 git commands to generate.