projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd74652
)
ovs-vsctl: Fix uninitialized variable.
author
Jesse Gross
<jesse@nicira.com>
Wed, 27 Jan 2010 20:08:10 +0000
(15:08 -0500)
committer
Jesse Gross
<jesse@nicira.com>
Wed, 27 Jan 2010 20:46:40 +0000
(15:46 -0500)
When querying a row we could return an uninitialized variable in
some cases if we can't find what we are looking for.
utilities/ovs-vsctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-vsctl.c
b/utilities/ovs-vsctl.c
index 35a3f3974e754a72d786c97e35d4885298a64a86..0eef55f0935b877a970d4e290055c7410ab4e292 100644
(file)
--- a/
utilities/ovs-vsctl.c
+++ b/
utilities/ovs-vsctl.c
@@
-1745,6
+1745,7
@@
get_row_by_id(struct vsctl_context *ctx, const struct vsctl_table_class *table,
return NULL;
}
+ final = NULL;
if (id->uuid_column) {
struct ovsdb_datum uuid;