rpms/autofs/F-8 autofs-5.0.3-fix-ifc-buff-size.patch, 1.1, 1.2 autofs.spec, 1.240, 1.241

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


Author: iankent

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

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.2-31
- 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-8/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	10 Nov 2008 05:30:26 -0000	1.1
+++ autofs-5.0.3-fix-ifc-buff-size.patch	11 Nov 2008 06:06:05 -0000	1.2
@@ -30,7 +30,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-8/autofs.spec,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -r1.240 -r1.241
--- autofs.spec	10 Nov 2008 05:30:26 -0000	1.240
+++ autofs.spec	11 Nov 2008 06:06:06 -0000	1.241
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.2
-Release: 30
+Release: 31
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -339,6 +339,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Tue Nov 11 2008 Ian Kent <kent at redhat.com> - 5.0.2-31
+- correct buffer length setting in autofs-5.0.3-fix-ifc-buff-size-fix.patch.
+
 * Mon Nov 10 2008 Ian Kent <ikent at redhat.com> - 5.0.2-30
 - sync. with F-9 bug fixes.
   - fix lexer ambiguity in match when map type name is included in map name.




More information about the fedora-extras-commits mailing list