- correct buffer length setting in

autofs-5.0.3-fix-ifc-buff-size-fix.patch.
This commit is contained in:
Ian Kent 2008-11-11 05:56:09 +00:00
parent c3cbcaeb45
commit 1f9dcbd0f0
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,7 @@ index 362ab1b..ad1ede2 100644
+ return 0;
+ }
+
+ ifc->ifc_len = sizeof(buf);
+ ifc->ifc_len = len;
+ ifc->ifc_req = (struct ifreq *) buf;
+
+ ret = ioctl(sock, SIOCGIFCONF, ifc);

View File

@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.3
Release: 30
Release: 32
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
@ -221,6 +221,9 @@ fi
%{_libdir}/autofs/
%changelog
* Tue Nov 11 2008 Ian Kent <kent@redhat.com> - 5.0.3-32
- correct buffer length setting in autofs-5.0.3-fix-ifc-buff-size-fix.patch.
* Sun Nov 2 2008 Ian Kent <kent@redhat.com> - 5.0.3-30
- fix segv during library re-open.
- fix incorrect pthreads condition handling for expire requests.