Description: Fix use of uninitialized variables on error path
Author: Serge Hallyn <serge.hallyn@ubuntu.com>
Forwarded: not-needed

Index: netcf-0.2.3/src/dutil_linux.c
===================================================================
--- netcf-0.2.3.orig/src/dutil_linux.c
+++ netcf-0.2.3/src/dutil_linux.c
@@ -221,7 +221,7 @@ int defnode(struct netcf *ncf, const cha
     struct augeas *aug = get_augeas(ncf);
     va_list ap;
     char *expr = NULL;
-    int r, created;
+    int r = -1, created;
 
     ERR_BAIL(ncf);
 
@@ -370,7 +370,7 @@ int aug_match_mac(struct netcf *ncf, con
 
 /* Get the MAC address of the interface INTF */
 int aug_get_mac(struct netcf *ncf, const char *intf, const char **mac) {
-    int r;
+    int r = -1;
     char *path;
     struct augeas *aug = get_augeas(ncf);
 
