From 93255bc565f74df887c0278f8e401d3febd7e61a Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Wed, 27 Jan 2010 15:08:10 -0500 Subject: [PATCH] ovs-vsctl: Fix uninitialized variable. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 35a3f397..0eef55f0 100644 --- 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; -- 2.30.2