From 2595cb8cea6498fa66406f5e4d6c3296893a7de8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 14 Aug 2009 13:44:06 -0700 Subject: [PATCH] ovs-brcompatd: Fix use of uninitialized svec. --- vswitchd/ovs-brcompatd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index a510f166..b7ef8470 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -814,6 +814,7 @@ handle_get_bridges_cmd(struct ofpbuf *buffer) /* Get all the real bridges and all the fake ones. */ cfg_read(); + svec_init(&bridges); cfg_get_subsections(&bridges, "bridge"); SVEC_FOR_EACH (i, br_name, &bridges) { const char *iface_name; -- 2.30.2