803fb7
From a571e5420b188913e4986f65c33294c2b39e3f7d Mon Sep 17 00:00:00 2001
803fb7
From: Lukas Nykryn <lnykryn@redhat.com>
803fb7
Date: Tue, 14 Jul 2015 17:24:09 +0200
803fb7
Subject: [PATCH] udev: fix crash in path_id builtin
803fb7
803fb7
RHEL-only
803fb7
803fb7
Resolves: #957112
803fb7
---
803fb7
 src/udev/udev-builtin-path_id.c | 4 ++++
803fb7
 1 file changed, 4 insertions(+)
803fb7
803fb7
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
803fb7
index 025392df5..9ca608468 100644
803fb7
--- a/src/udev/udev-builtin-path_id.c
803fb7
+++ b/src/udev/udev-builtin-path_id.c
803fb7
@@ -737,6 +737,10 @@ out:
803fb7
                 }
803fb7
 
803fb7
                 free(path);
803fb7
+                path = NULL;
803fb7
+                supported_transport = false;
803fb7
+                supported_parent = false;
803fb7
+
803fb7
 
803fb7
                 if (new_sas_path) {
803fb7
                         enable_new_sas_path = false;