rpms/autofs/F-9 autofs-5.0.3-fix-ifc-buff-size.patch, 1.1, 1.2 autofs.spec, 1.246, 1.247

Ian Kent iankent at fedoraproject.org
Tue Nov 11 06:10:37 UTC 2008


Author: iankent

Update of /cvs/pkgs/rpms/autofs/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8246

Modified Files:
	autofs-5.0.3-fix-ifc-buff-size.patch autofs.spec 
Log Message:
* Tue Nov 11 2008 Ian Kent <kent at redhat.com> - 5.0.3-29
- correct buffer length setting in autofs-5.0.3-fix-ifc-buff-size-fix.patch.


autofs-5.0.3-fix-ifc-buff-size.patch:

Index: autofs-5.0.3-fix-ifc-buff-size.patch
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-9/autofs-5.0.3-fix-ifc-buff-size.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-5.0.3-fix-ifc-buff-size.patch	23 Oct 2008 08:12:45 -0000	1.1
+++ autofs-5.0.3-fix-ifc-buff-size.patch	11 Nov 2008 06:10:37 -0000	1.2
@@ -41,7 +41,7 @@
 +			return 0;
 +		}
 +
-+		ifc->ifc_len = sizeof(buf);
++		ifc->ifc_len = len;
 +		ifc->ifc_req = (struct ifreq *) buf;
 +
 +		ret = ioctl(sock, SIOCGIFCONF, ifc);


Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-9/autofs.spec,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- autofs.spec	23 Oct 2008 08:14:27 -0000	1.246
+++ autofs.spec	11 Nov 2008 06:10:37 -0000	1.247
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.3
-Release: 27
+Release: 29
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -217,6 +217,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Tue Nov 11 2008 Ian Kent <kent at redhat.com> - 5.0.3-29
+- correct buffer length setting in autofs-5.0.3-fix-ifc-buff-size-fix.patch.
+
 * Thu Oct 23 2008 Ian Kent <ikent at redhat.com> - 5.0.3-27
 - add upstream bug fix patches
   - don't close file handle for rootless direct mounti-mount at mount.




More information about the fedora-extras-commits mailing list