This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via cd472652f51881008020a5a56b1ffc774f813ac3 (commit) from e72f5324c7bd559373b2827f9f8f225beee992fb (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit cd472652f51881008020a5a56b1ffc774f813ac3 Author: Matias Elo matias.elo@nokia.com Date: Thu Oct 27 16:42:08 2016 +0300
example: l3fwd: prevent possible use of uninitialised variables
Fixes bug https://bugs.linaro.org/show_bug.cgi?id=2564
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/example/l3fwd/odp_l3fwd.c b/example/l3fwd/odp_l3fwd.c index fa1b299..8919bd3 100644 --- a/example/l3fwd/odp_l3fwd.c +++ b/example/l3fwd/odp_l3fwd.c @@ -309,7 +309,9 @@ static int run_worker(void *arg) } }
- num_pktio = thr_arg->nb_pktio; + if (num_pktio == 0) + LOG_ABORT("No pktio devices found\n"); + if_idx = input_ifs[pktio]; inq = input_queues[pktio];
-----------------------------------------------------------------------
Summary of changes: example/l3fwd/odp_l3fwd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive