Blame SOURCES/0195-udev-fix-crash-in-path_id-builtin.patch

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