projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00732bf
)
ovsdb-idl: Fix use-after-free error in ovsdb_idl_txn_delete().
author
Ben Pfaff
<blp@nicira.com>
Thu, 21 Jan 2010 18:51:37 +0000
(10:51 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 26 Jan 2010 17:46:43 +0000
(09:46 -0800)
lib/ovsdb-idl.c
patch
|
blob
|
history
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index 4f547330cf1464708cc232bb020a42602520cba8..7ba0fd68366b19969a220f0edde6302b9080e970 100644
(file)
--- 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,