You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
792 B

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