- correct buffer length setting in
autofs-5.0.3-fix-ifc-buff-size-fix.patch.
This commit is contained in:
parent
c3cbcaeb45
commit
1f9dcbd0f0
@ -45,7 +45,7 @@ index 362ab1b..ad1ede2 100644
|
|||||||
+ return 0;
|
+ return 0;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ ifc->ifc_len = sizeof(buf);
|
+ ifc->ifc_len = len;
|
||||||
+ ifc->ifc_req = (struct ifreq *) buf;
|
+ ifc->ifc_req = (struct ifreq *) buf;
|
||||||
+
|
+
|
||||||
+ ret = ioctl(sock, SIOCGIFCONF, ifc);
|
+ ret = ioctl(sock, SIOCGIFCONF, ifc);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: A tool for automatically mounting and unmounting filesystems
|
Summary: A tool for automatically mounting and unmounting filesystems
|
||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 5.0.3
|
Version: 5.0.3
|
||||||
Release: 30
|
Release: 32
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -221,6 +221,9 @@ fi
|
|||||||
%{_libdir}/autofs/
|
%{_libdir}/autofs/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Nov 2 2008 Ian Kent <kent@redhat.com> - 5.0.3-30
|
||||||
- fix segv during library re-open.
|
- fix segv during library re-open.
|
||||||
- fix incorrect pthreads condition handling for expire requests.
|
- fix incorrect pthreads condition handling for expire requests.
|
||||||
|
Loading…
Reference in New Issue
Block a user