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

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