Blame SOURCES/autofs-5.1.8-coverity-fix-for-invalid-access.patch

591f3a
autofs-5.1.8 - coverity fix for invalid access
591f3a
591f3a
From: Ian Kent <raven@themaw.net>
591f3a
591f3a
Fix invalid access in modules/parse_amd.c:do_host_mount().
591f3a
591f3a
Signed-off-by: Ian Kent <raven@themaw.net>
591f3a
---
591f3a
 CHANGELOG           |    1 +
591f3a
 modules/parse_amd.c |    1 -
591f3a
 2 files changed, 1 insertion(+), 1 deletion(-)
591f3a
591f3a
--- autofs-5.1.4.orig/CHANGELOG
591f3a
+++ autofs-5.1.4/CHANGELOG
591f3a
@@ -98,6 +98,7 @@
591f3a
 - fix invalid tsv access.
591f3a
 - fix parse module instance mutex naming.
591f3a
 - serialise lookup module open and reinit.
591f3a
+- coverity fix for invalid access.
591f3a
 
591f3a
 xx/xx/2018 autofs-5.1.5
591f3a
 - fix flag file permission.
591f3a
--- autofs-5.1.4.orig/modules/parse_amd.c
591f3a
+++ autofs-5.1.4/modules/parse_amd.c
591f3a
@@ -1366,7 +1366,6 @@ static int do_host_mount(struct autofs_p
591f3a
 		if (!instance) {
591f3a
 			error(ap->logopt, MODPREFIX
591f3a
 			     "failed to create source instance for hosts map");
591f3a
-			close_lookup(lookup);
591f3a
 			goto out;
591f3a
 		}
591f3a
 	}