Fix: negative loop bound check
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jul 2017 21:15:53 +0000 (17:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Aug 2017 20:54:27 +0000 (16:54 -0400)
commit0ca8409d46a794bafa1cbd50eb531fc650d148c1
tree53fc36816e8de80849be9821360ff0fb803e1945
parented36359d19cb79425fa2008e8b656d63b062401f
Fix: negative loop bound check

Found by Coverity:

CID 1376197 (#1 of 1): Negative loop bound (NEGATIVE_RETURNS)
3. negative_returns: Using unsigned variable
bt_value_array_size(run_args) in a loop exit condition.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
cli/babeltrace-cfg-cli-args.c
This page took 0.024007 seconds and 4 git commands to generate.