[ovs-dev] [crashes 2/3] connmgr: Fix wild pointer dereference in connmgr_broadcast().
Ben Pfaff
blp at nicira.com
Thu Mar 31 21:16:29 UTC 2011
Fixes a segfault when fail-open goes into effect.
---
ofproto/connmgr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 166ef8c..95cc43d 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);
}
--
1.7.1
More information about the dev
mailing list