rpms/autofs/devel autofs-5.0.2-quoted-slash-alone.patch, NONE, 1.1 autofs.spec, 1.210, 1.211
Ian Kent (iankent)
fedora-extras-commits at redhat.com
Fri Jul 20 15:38:53 UTC 2007
- Previous message: rpms/sane-backends/devel sane-backends-1.0.18-udev-098.patch, NONE, 1.1 sane-backends-1.0.18-udev-new-kernels.patch, NONE, 1.1 sane-backends.spec, 1.81, 1.82 sane-backends-1.0.18-tweak-udev-rules.patch, 1.1, NONE
- Next message: rpms/perl-Parse-RecDescent/devel perl-Parse-RecDescent.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: iankent
Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1857
Modified Files:
autofs.spec
Added Files:
autofs-5.0.2-quoted-slash-alone.patch
Log Message:
* Fri Jul 20 2007 Ian Kent <ikent at redhat.com> - 5.0.2-7
- fix handling of quoted slash alone (bz 248943).
autofs-5.0.2-quoted-slash-alone.patch:
--- NEW FILE autofs-5.0.2-quoted-slash-alone.patch ---
diff --git a/lib/parse_subs.c b/lib/parse_subs.c
index ad19f34..3627f44 100644
--- a/lib/parse_subs.c
+++ b/lib/parse_subs.c
@@ -297,7 +297,8 @@ char *sanitize_path(const char *path, int origlen, unsigned int type, unsigned i
return NULL;
}
- if (origlen > 1 && *(cp - 1) == '/')
+ /* Remove trailing / but watch out for a quoted / alone */
+ if (strlen(cp) > 1 && origlen > 1 && *(cp - 1) == '/')
*(cp - 1) = '\0';
return s_path;
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- autofs.spec 18 Jul 2007 09:29:49 -0000 1.210
+++ autofs.spec 20 Jul 2007 15:38:21 -0000 1.211
@@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.2
-Release: 6
+Release: 7
Epoch: 1
License: GPL
Group: System Environment/Daemons
@@ -17,6 +17,7 @@
Patch4: autofs-5.0.2-fix-offset-dir-create.patch
Patch5: autofs-5.0.2-quote-exports.patch
Patch6: autofs-5.0.2-hi-res-time.patch
+Patch7: autofs-5.0.2-quoted-slash-alone.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
Conflicts: kernel < 2.6.17
@@ -65,6 +66,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -117,6 +119,9 @@
%{_libdir}/autofs/
%changelog
+* Fri Jul 20 2007 Ian Kent <ikent at redhat.com> - 5.0.2-7
+- fix handling of quoted slash alone (bz 248943).
+
* Wed Jul 18 2007 Ian Kent <ikent at redhat.com> - 5.0.2-6
- fix wait time resolution in alarm and state queue handlers (bz 247711).
- Previous message: rpms/sane-backends/devel sane-backends-1.0.18-udev-098.patch, NONE, 1.1 sane-backends-1.0.18-udev-new-kernels.patch, NONE, 1.1 sane-backends.spec, 1.81, 1.82 sane-backends-1.0.18-tweak-udev-rules.patch, 1.1, NONE
- Next message: rpms/perl-Parse-RecDescent/devel perl-Parse-RecDescent.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list