From 1f9dcbd0f08efc6500e202e7ba17b7fa84f436fa Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Tue, 11 Nov 2008 05:56:09 +0000 Subject: [PATCH] - correct buffer length setting in autofs-5.0.3-fix-ifc-buff-size-fix.patch. --- autofs-5.0.3-fix-ifc-buff-size.patch | 2 +- autofs.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/autofs-5.0.3-fix-ifc-buff-size.patch b/autofs-5.0.3-fix-ifc-buff-size.patch index 6a17e51..c243ed7 100644 --- a/autofs-5.0.3-fix-ifc-buff-size.patch +++ b/autofs-5.0.3-fix-ifc-buff-size.patch @@ -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); diff --git a/autofs.spec b/autofs.spec index 6d5ebb3..ece67e1 100644 --- a/autofs.spec +++ b/autofs.spec @@ -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 - 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 - 5.0.3-30 - fix segv during library re-open. - fix incorrect pthreads condition handling for expire requests.