rpms/krb5/devel krb5-trunk-ftp_mget_case.patch, NONE, 1.1 krb5.spec, 1.167, 1.168

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Wed Apr 16 18:54:45 UTC 2008


Author: nalin

Update of /cvs/pkgs/rpms/krb5/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26659

Modified Files:
	krb5.spec 
Added Files:
	krb5-trunk-ftp_mget_case.patch 
Log Message:
- ftp: use the correct local filename during mget when the 'case' option is
  enabled (#442713)


krb5-trunk-ftp_mget_case.patch:

--- NEW FILE krb5-trunk-ftp_mget_case.patch ---
When "case" is enabled, we've been setting the target filename to the buffer
in which we'd store the lower-cased version of the name, even if we ended up
not generating a lower-cased version of the name, causing the client to store
the incoming data in whichever file whose name we'd last generated.
diff -up src/appl/gssftp/ftp/cmds.c src/appl/gssftp/ftp/cmds.c
--- src/appl/gssftp/ftp/cmds.c	2008-04-16 10:36:13.000000000 -0400
+++ src/appl/gssftp/ftp/cmds.c	2008-04-16 10:36:16.000000000 -0400
@@ -1013,8 +1013,10 @@ void mget(argc, argv)
 						tp++;
 						tp2++;
 					}
+					tp = tmpbuf;
+				} else {
+					tp = cp;
 				}
-				tp = tmpbuf;
 			}
 			if (ntflag) {
 				tp = dotrans(tp);


Index: krb5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/krb5/devel/krb5.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- krb5.spec	4 Apr 2008 21:29:53 -0000	1.167
+++ krb5.spec	16 Apr 2008 18:54:08 -0000	1.168
@@ -16,7 +16,7 @@
 Summary: The Kerberos network authentication system.
 Name: krb5
 Version: 1.6.3
-Release: 12%{?dist}
+Release: 13%{?dist}
 # Maybe we should explode from the now-available-to-everybody tarball instead?
 # http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.2-signed.tar
 Source0: krb5-%{version}.tar.gz
@@ -101,6 +101,7 @@
 Patch76: krb5-CVE-2007-5901.patch
 Patch77: krb5-CVE-2007-5971.patch
 Patch78: krb5-1.6.3-lucid-acceptor.patch
+Patch79: krb5-trunk-ftp_mget_case.patch
 
 License: MIT, freely distributable.
 URL: http://web.mit.edu/kerberos/www/
@@ -231,6 +232,10 @@
 certificate.
 
 %changelog
+* Wed Apr 16 2008 Nalin Dahyabhai <nalin at redhat.com> 1.6.3-13
+- ftp: use the correct local filename during mget when the 'case' option is
+  enabled (#442713)
+
 * Fri Apr  4 2008 Nalin Dahyabhai <nalin at redhat.com> 1.6.3-12
 - stop exporting kadmin keys to a keytab file when kadmind starts -- the
   daemon's been able to use the database directly for a long long time now
@@ -1360,6 +1365,7 @@
 %patch76 -p0 -b .2007-5901
 %patch77 -p0 -b .2007-5971
 %patch78 -p0 -b .lucid_acceptor
+%patch79 -p0 -b .ftp_mget_case
 cp src/krb524/README README.krb524
 gzip doc/*.ps
 




More information about the fedora-extras-commits mailing list