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

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