From 2e2dd32bf7e78fedc6eec6f2d28a98e4781a24e4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 31 Mar 2011 14:13:36 -0700 Subject: [PATCH] connmgr: Fix wild pointer dereference in connmgr_broadcast(). Fixes a segfault when fail-open goes into effect. --- ofproto/connmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 166ef8c3..95cc43d1 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -1164,7 +1164,7 @@ connmgr_broadcast(struct connmgr *mgr, struct ofpbuf *packet) } } if (prev) { - ofconn_send_reply(ofconn, packet); + ofconn_send_reply(prev, packet); } else { ofpbuf_delete(packet); } -- 2.30.2