Your message dated Fri, 27 Jul 2007 12:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#433887: fixed in wu-ftpd 2.6.2-28
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: wu-ftpd
Version: 2.6.2-27
Severity: important
The SIZE command implemenation within wu-ftpd does not use the right printf()
format for stat.st_size. In this case the bits of stat.st_size is truncated and
the result
is not what we except to see.
I've created a patch and testet it on i386 and PowerPC successful.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages wu-ftpd depends on:
ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii debianutils 2.22.1 Miscellaneous utilities specific t
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii netbase 4.29 Basic TCP/IP networking system
ii perl [perl5] 5.8.8-7 Larry Wall's Practical Extraction
wu-ftpd recommends no packages.
-- debconf information excluded
diff -Naur wu-ftpd-2.6.2.orig/src/config/config.nbs
wu-ftpd-2.6.2/src/config/config.nbs
--- wu-ftpd-2.6.2.orig/src/config/config.nbs 2000-07-01 20:03:07.000000000
+0200
+++ wu-ftpd-2.6.2/src/config/config.nbs 2007-07-18 14:29:50.000000000 +0200
@@ -48,7 +48,7 @@
#undef SHADOW_PASSWORD
#undef USG
#define VIRTUAL
-#define OFFSET_SIZE 8
+#undef OFFSET_SIZE
#define USE_VAR
#undef USE_PID
#define VAR_RUN
diff -Naur wu-ftpd-2.6.2.orig/src/ftpcmd.y wu-ftpd-2.6.2/src/ftpcmd.y
--- wu-ftpd-2.6.2.orig/src/ftpcmd.y 2007-07-19 09:41:18.000000000 +0200
+++ wu-ftpd-2.6.2/src/ftpcmd.y 2007-07-19 09:28:14.000000000 +0200
@@ -1761,16 +1761,16 @@
if (stat(filename, &stbuf) < 0 ||
(stbuf.st_mode & S_IFMT) != S_IFREG)
reply(550, "%s: not a plain file.", filename);
- else
-#if OFFSET_SIZE == 8
- reply(213, "%qu", stbuf.st_size);
-#else
-#ifdef _AIX42
- reply(213, "%llu", stbuf.st_size);
-#else
- reply(213, "%lu", stbuf.st_size);
-#endif
-#endif
+ else{
+ if (sizeof(stbuf.st_size) <= sizeof(unsigned int))
+ reply(213, "%u", stbuf.st_size);
+ else if (sizeof(stbuf.st_size) <= sizeof(unsigned long
int))
+ reply(213, "%lu", stbuf.st_size);
+ else if (sizeof(stbuf.st_size) <= sizeof(unsigned long
long int))
+ reply(213, "%llu", stbuf.st_size);
+ else
+ reply(504, "Size of file %s out of range.",
filename);
+ }
break;
}
case TYPE_A:{
--- End Message ---
--- Begin Message ---
Source: wu-ftpd
Source-Version: 2.6.2-28
We believe that the bug you reported is fixed in the latest version of
wu-ftpd, which is due to be installed in the Debian FTP archive:
wu-ftpd_2.6.2-28.diff.gz
to pool/main/w/wu-ftpd/wu-ftpd_2.6.2-28.diff.gz
wu-ftpd_2.6.2-28.dsc
to pool/main/w/wu-ftpd/wu-ftpd_2.6.2-28.dsc
wu-ftpd_2.6.2-28_i386.deb
to pool/main/w/wu-ftpd/wu-ftpd_2.6.2-28_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Butler <[EMAIL PROTECTED]> (supplier of updated wu-ftpd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 21 Jul 2007 12:26:47 +0100
Source: wu-ftpd
Binary: wu-ftpd
Architecture: source i386
Version: 2.6.2-28
Distribution: unstable
Urgency: low
Maintainer: Chris Butler <[EMAIL PROTECTED]>
Changed-By: Chris Butler <[EMAIL PROTECTED]>
Description:
wu-ftpd - powerful and widely used FTP server
Closes: 433664 433665 433887 434578 434686 434777
Changes:
wu-ftpd (2.6.2-28) unstable; urgency=low
.
* applied patch to fix output of SIZE command (closes: #433887)
* fixed typo in template (closes: #433665)
* updated debconf translations: pt, de, sv, eu, vi, fr, es, ca
(closes: #433664, #434578, #434686, #434777)
Files:
d990991e54e4639dcd452aaf6dbd0af3 604 net extra wu-ftpd_2.6.2-28.dsc
c152dd948aabb696386534e8968bc4fd 155380 net extra wu-ftpd_2.6.2-28.diff.gz
f2bc691d96157619a729f880c83e37db 280732 net extra wu-ftpd_2.6.2-28_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGqeRADzQFd9CXomERAlDDAJ4lP74trQVq/IVHTFd06+X69xokBACgjcnN
hGIB+FDy/k/LcmicoFMHeYA=
=kPKa
-----END PGP SIGNATURE-----
--- End Message ---