From 05e3933c06b488e71c9c149c25aec9c733a8bd1f Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 8 Jul 2019 13:04:50 +0200 Subject: [PATCH] Nest: Uninitialized variable fix Thanks to Vincent Bernat for reporting this. --- nest/rt-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/rt-table.c b/nest/rt-table.c index 0b796228..327156c8 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1575,7 +1575,7 @@ rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src) } else if (filter) { - rta *old_attrs; + rta *old_attrs = NULL; rte_make_tmp_attrs(&new, rte_update_pool, &old_attrs); int fr = f_run(filter, &new, rte_update_pool, 0);