rpms/autofs/devel autofs-4.1.4-check-return-of-is-local-addr.patch, NONE, 1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Oct 26 22:41:46 UTC 2005


Author: jmoyer

Update of /cvs/dist/rpms/autofs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21839

Added Files:
	autofs-4.1.4-check-return-of-is-local-addr.patch 
Log Message:
- Check the return code of is_local_addr in get_best_mount. (bz #169523)



autofs-4.1.4-check-return-of-is-local-addr.patch:
 mount_nfs.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE autofs-4.1.4-check-return-of-is-local-addr.patch ---
--- autofs-4.1.4/modules/mount_nfs.c.orig	2005-10-26 18:37:31.000000000 -0400
+++ autofs-4.1.4/modules/mount_nfs.c	2005-10-26 18:37:38.000000000 -0400
@@ -192,7 +192,7 @@
 				*pstrip = '\0';
 
 		/* Check if the host is the localhost */
-		if (is_local_mount(p)) {
+		if (is_local_mount(p) > 0) {
 			debug(MODPREFIX "host %s: is localhost", p);
 
 			/* Strip off hostname and ':' */




More information about the fedora-cvs-commits mailing list