[ovs-dev] [PATCH 06/13] ovsdb-idl: Fix use-after-free error in ovsdb_idl_txn_delete().
Ben Pfaff
blp at nicira.com
Mon Jan 25 18:18:52 UTC 2010
---
lib/ovsdb-idl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c
index 4f54733..7ba0fd6 100644
--- a/lib/ovsdb-idl.c
+++ b/lib/ovsdb-idl.c
@@ -1229,6 +1229,7 @@ ovsdb_idl_txn_delete(struct ovsdb_idl_row *row)
assert(!row->prereqs);
hmap_remove(&row->table->idl->txn->txn_rows, &row->txn_node);
free(row);
+ return;
}
if (hmap_node_is_null(&row->txn_node)) {
hmap_insert(&row->table->idl->txn->txn_rows, &row->txn_node,
--
1.6.3.3
More information about the dev
mailing list