rpms/autofs/F-11 autofs-5.0.5-fix-stale-init-for-file-map-instance.patch, NONE, 1.1 autofs.spec, 1.290, 1.291
Ian Kent
iankent at fedoraproject.org
Fri Oct 16 06:46:42 UTC 2009
- Previous message (by thread): rpms/fpc/F-12 fpc-2.2.4-r12475.patch,1.1,1.2 fpc.spec,1.37,1.38
- Next message (by thread): rpms/webacula/devel import.log, NONE, 1.1 webacula.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: iankent
Update of /cvs/pkgs/rpms/autofs/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15885
Modified Files:
autofs.spec
Added Files:
autofs-5.0.5-fix-stale-init-for-file-map-instance.patch
Log Message:
* Fri Oct 16 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-42
- fix stale initialization for file map instance (bz510025).
autofs-5.0.5-fix-stale-init-for-file-map-instance.patch:
lookup.c | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE autofs-5.0.5-fix-stale-init-for-file-map-instance.patch ---
autofs-5.0.5 - fix stale initialization for file map instance
From: Ian Kent <raven at themaw.net>
Somehow, during the changes to minimize reading of file maps, an error
of not initializing a field of the map source instance structure got
through undetected. This has the effect of preventing all file map
lookups, following the first one, to fail.
---
daemon/lookup.c | 1 +
1 file changed, 1 insertion(+)
--- autofs-5.0.4.orig/daemon/lookup.c
+++ autofs-5.0.4/daemon/lookup.c
@@ -398,6 +398,7 @@ static enum nsswitch_status read_map_sou
tmap.instance = map->instance;
tmap.recurse = map->recurse;
tmap.depth = map->depth;
+ tmap.stale = map->stale;
tmap.argc = 0;
tmap.argv = NULL;
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-11/autofs.spec,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -p -r1.290 -r1.291
--- autofs.spec 10 Sep 2009 04:17:52 -0000 1.290
+++ autofs.spec 16 Oct 2009 06:46:42 -0000 1.291
@@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.4
-Release: 40
+Release: 42
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
@@ -76,6 +76,7 @@ Patch63: autofs-5.0.4-fix-libxml2-non-th
Patch64: autofs-5.0.4-fix-direct-map-cache-locking.patch
Patch65: autofs-5.0.4-fix-dont-umount-existing-direct-mount-on-reread.patch
Patch66: autofs-5.0.4-special-case-cifs-escapes.patch
+Patch67: autofs-5.0.5-fix-stale-init-for-file-map-instance.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel module-init-tools util-linux nfs-utils e2fsprogs libtirpc-devel
Requires: kernel >= 2.6.17
@@ -183,6 +184,7 @@ echo %{version}-%{release} > .version
%patch64 -p1
%patch65 -p1
%patch66 -p1
+%patch67 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -235,6 +237,9 @@ fi
%{_libdir}/autofs/
%changelog
+* Fri Oct 16 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-42
+- fix stale initialization for file map instance (bz510025).
+
* Wed Sep 10 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-40
- special case cifs mount location escaping (bz522109).
- Previous message (by thread): rpms/fpc/F-12 fpc-2.2.4-r12475.patch,1.1,1.2 fpc.spec,1.37,1.38
- Next message (by thread): rpms/webacula/devel import.log, NONE, 1.1 webacula.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list