rpms/vsftpd/devel vsftpd-2.2.0-wildchar.patch, NONE, 1.1 vsftpd.spec, 1.98, 1.99
Jiri Skala
jskala at fedoraproject.org
Tue Sep 8 11:05:03 UTC 2009
- Previous message (by thread): rpms/seamonkey/F-11 seamonkey.spec,1.56,1.57
- Next message (by thread): rpms/gcc/devel gcc44-vta-cfgexpand-ptr-mode-pr41248.patch, NONE, 1.1 gcc44-vta-cselib-subreg-of-value-pr41276.patch, NONE, 1.1 gcc44-vta-loop-ivopts-propagate-on-release.patch, NONE, 1.1 gcc44-vta-no-g-with-gtoggle.patch, NONE, 1.1 gcc44-vta-phiopt-pr41232.patch, NONE, 1.1 gcc44-vta-ssa-update-former-vops-pr41229.patch, NONE, 1.1 .cvsignore, 1.287, 1.288 gcc.spec, 1.65, 1.66 sources, 1.291, 1.292 gcc44-rh503816-1.patch, 1.1, NONE gcc44-rh503816-2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jskala
Update of /cvs/extras/rpms/vsftpd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21006
Modified Files:
vsftpd.spec
Added Files:
vsftpd-2.2.0-wildchar.patch
Log Message:
* Tue Sep 08 2009 Jiri Skala <jskala at rehat.com> - 2.2.0-3
- fixed bug messaged in RHEL-4 #479774 - Wildcard failures with vsftpd
vsftpd-2.2.0-wildchar.patch:
ls.c | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
--- NEW FILE vsftpd-2.2.0-wildchar.patch ---
diff -up vsftpd-2.2.0/ls.c.wildchar vsftpd-2.2.0/ls.c
--- vsftpd-2.2.0/ls.c.wildchar 2009-09-08 12:49:51.679476554 +0200
+++ vsftpd-2.2.0/ls.c 2009-09-08 12:52:53.778427990 +0200
@@ -303,24 +303,19 @@ vsf_filename_passes_filter(const struct
{
goto out;
}
- if (!must_match_at_current_pos)
+ if (!must_match_at_current_pos && last_token == 0)
{
- struct mystr scan_fwd = INIT_MYSTR;
+ struct mystr last_str = INIT_MYSTR;
+ str_mid_to_end(&name_remain_str, &last_str,
+ str_getlen(&name_remain_str) - str_getlen(&s_match_needed_str));
+ locate_result = str_locate_str(&last_str, &s_match_needed_str);
+ str_free(&last_str);
- str_mid_to_end(&name_remain_str, &scan_fwd,
- indexx + str_getlen(&s_match_needed_str));
- /* We're allowed to be greedy, test if it match further along
- * keep advancing indexx while we can still match.
- */
- while( (locate_result = str_locate_str(&scan_fwd, &s_match_needed_str)),
- locate_result.found )
+ if (locate_result.found)
{
- indexx += locate_result.index + str_getlen(&s_match_needed_str);
- str_mid_to_end(&scan_fwd, &temp_str,
- locate_result.index + str_getlen(&s_match_needed_str));
- str_copy(&scan_fwd, &temp_str);
+ ret = 1;
}
- str_free(&scan_fwd);
+ goto out;
}
/* Chop matched string out of remainder */
str_mid_to_end(&name_remain_str, &temp_str,
Index: vsftpd.spec
===================================================================
RCS file: /cvs/extras/rpms/vsftpd/devel/vsftpd.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -p -r1.98 -r1.99
--- vsftpd.spec 27 Aug 2009 08:14:42 -0000 1.98
+++ vsftpd.spec 8 Sep 2009 11:05:03 -0000 1.99
@@ -2,7 +2,7 @@
Name: vsftpd
Version: 2.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Very Secure Ftp Daemon
Group: System Environment/Daemons
@@ -49,6 +49,7 @@ Patch9: vsftpd-2.1.0-userlist_log.patch
Patch10: vsftpd-2.1.0-trim.patch
Patch12: vsftpd-2.1.1-daemonize_plus.patch
Patch13: vsftpd-2.2.0-openssl.patch
+Patch14: vsftpd-2.2.0-wildchar.patch
%description
vsftpd is a Very Secure FTP daemon. It was written completely from
@@ -73,6 +74,7 @@ cp %{SOURCE1} .
%patch10 -p1 -b .trim
%patch12 -p1 -b .daemonize_plus
%patch13 -p1 -b .openssl
+%patch14 -p1 -b .wildchar
%build
%ifarch s390x sparcv9 sparc64
@@ -137,6 +139,9 @@ fi
%changelog
+* Tue Sep 08 2009 Jiri Skala <jskala at rehat.com> - 2.2.0-3
+- fixed bug messaged in RHEL-4 #479774 - Wildcard failures with vsftpd
+
* Thu Aug 27 2009 Tomas Mraz <tmraz at redhat.com> - 2.2.0-2
- rebuilt with new openssl
- Previous message (by thread): rpms/seamonkey/F-11 seamonkey.spec,1.56,1.57
- Next message (by thread): rpms/gcc/devel gcc44-vta-cfgexpand-ptr-mode-pr41248.patch, NONE, 1.1 gcc44-vta-cselib-subreg-of-value-pr41276.patch, NONE, 1.1 gcc44-vta-loop-ivopts-propagate-on-release.patch, NONE, 1.1 gcc44-vta-no-g-with-gtoggle.patch, NONE, 1.1 gcc44-vta-phiopt-pr41232.patch, NONE, 1.1 gcc44-vta-ssa-update-former-vops-pr41229.patch, NONE, 1.1 .cvsignore, 1.287, 1.288 gcc.spec, 1.65, 1.66 sources, 1.291, 1.292 gcc44-rh503816-1.patch, 1.1, NONE gcc44-rh503816-2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list