From: Ben Pfaff Date: Thu, 31 Mar 2011 21:13:36 +0000 (-0700) Subject: connmgr: Fix wild pointer dereference in connmgr_broadcast(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e2dd32bf7e78fedc6eec6f2d28a98e4781a24e4;p=openvswitch connmgr: Fix wild pointer dereference in connmgr_broadcast(). Fixes a segfault when fail-open goes into effect. --- 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); }