Debian Bug report logs - #53817
sendfile: A Y2K class bug in receive

version graph

Package: sendfile; Maintainer for sendfile is Martin Schulze <joey@debian.org>; Source for sendfile is src:sendfile.

Reported by: <chatila@faxmate.com>

Date: Sat, 1 Jan 2000 09:18:02 UTC

Severity: important

Found in version 2.1-8

Fixed in version sendfile/2.1-18

Done: Martin Schulze <joey@finlandia.infodrom.north.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#53817; Package sendfile. Full text and rfc822 format available.

Acknowledgement sent to <chatila@faxmate.com>:
New Bug report received and forwarded. Copy sent to Martin Schulze <joey@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: <chatila@faxmate.com>
To: submit@bugs.debian.org
Subject: sendfile: A Y2K class bug in receive
Date: Sat, 1 Jan 2000 04:17:42 -0500
Package: sendfile
Version: 2.1-8
Severity: important

Hi,
	I've noticed that receive is not setting the atime & mtime properly
for files sent after year 1999.

For instance, when sending this file:
-rw-rw-r--   1 chatila     chatila            6 Jan  1 03:56 afile
(using ls -l)

It will be set when reveiving it to :
-rw-rw-r--   1 chatila     chatila            6 Dec 31  1969 afile


There is a bug in Convert func. of getdate.c

I'm including a patch fix at the end of the message.


Thanks

--- getdate.c.orig 	Mon Jan 27 14:31:37 1997
+++ getdate.c	Sat Jan  1 03:38:33 2000
@@ -1484,7 +1484,7 @@
     Year += 1900;
   DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0)
     ? 29 : 28;
-  if (Year < EPOCH || Year > 1999
+  if (Year < EPOCH
       || Month < 1 || Month > 12
       /* Lint fluff:  "conversion from long may lose accuracy" */
       || Day < 1 || Day > DaysInMonth[(int)--Month])




Information forwarded to Martin Schulze <joey@debian.org>:
Bug#53817; Package sendfile. Full text and rfc822 format available.

Acknowledgement sent to joey@infodrom.north.de (Martin Schulze):
Extra info received and forwarded to maintainer. Copy sent to Martin Schulze <joey@debian.org>. Full text and rfc822 format available.

Message #10 received at 53817-maintonly@bugs.debian.org (full text, mbox):

From: joey@finlandia.Infodrom.North.DE (Martin Schulze)
To: <chatila@faxmate.com>
Cc: 53817-maintonly@bugs.debian.org
Subject: Bug#53817: Fixed in sendfile 2.1-18 (sendfile: A Y2K class bug in receive)
Date: Sun, 2 Jan 2000 17:11:22 +0100 (CET)
This bug has been fixed with the upload of sendfile 2.1-18
to master.  If you need to optain the fixed package
before it has been installed in the archive, please fetch it
from ftp://ftp.infodrom.north.de/pub/people/joey/debian/ 
or any mirror of the incoming diretory of Debian GNU/Linux.

-- 
This mail was generated automatically.


Reply sent to Martin Schulze <joey@finlandia.infodrom.north.de>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to <chatila@faxmate.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #15 received at 53817-close@bugs.debian.org (full text, mbox):

From: Martin Schulze <joey@finlandia.infodrom.north.de>
To: 53817-close@bugs.debian.org
Subject: Bug#53817: fixed in sendfile 2.1-18
Date: 2 Jan 2000 19:59:38 -0000
We believe that the bug you reported is fixed in the latest version of
sendfile, which has been installed in the Debian FTP archive:
sendfile_2.1-18.dsc
  to dists/potato/main/source/net/sendfile_2.1-18.dsc
  replacing sendfile_2.1-17.dsc
sendfile_2.1-18_i386.deb
  to dists/potato/main/binary-i386/net/sendfile_2.1-18.deb
  replacing sendfile_2.1-17.deb
sendfile_2.1-18.diff.gz
  to dists/potato/main/source/net/sendfile_2.1-18.diff.gz
  replacing sendfile_2.1-17.diff.gz

Note that this package is not part of the released stable Debian
distribution.  It may have dependencies on other unreleased software,
or other instabilities.  Please take care if you wish to install it.
The update will eventually make its way into the next released Debian
distribution.

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 53817@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Schulze <joey@finlandia.infodrom.north.de> (supplier of updated sendfile 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.6
Date: Sun,  2 Jan 2000 16:51:34 +0100
Source: sendfile
Binary: sendfile
Architecture: source i386
Version: 2.1-18
Distribution: unstable
Urgency: low
Maintainer: Martin Schulze <joey@finlandia.infodrom.north.de>
Description: 
 sendfile   - Simple Asynchronous File Transfer
Closes: 53817 52515
Changes: 
 sendfile (2.1-18) unstable; urgency=low, closes=53817 52515
 .
   * Corrected date routine, removes y2k bug, thanks to chatila@faxmate.com
     (closes: Bug#53817)
   * Corrected use of /etc/sendfile.deny (closes: Bug#52515)
   * Installed new version of pussy, self-explanatory
Files: 
 3acdece6f5afc3b8188e935477aaba09 558 net optional sendfile_2.1-18.dsc
 f8868013483ee08cbccb72eda0aab156 65090 net optional sendfile_2.1-18.diff.gz
 3d8f647df1f6ba357a67a2e4b86051b9 206424 net optional sendfile_2.1-18_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4b3dPW5ql+IAeqTIRAjL6AKCptAhJvmbSPAB+nPFbJXN64228LACeLajI
hjvaflmBDb73NhlyowZ6jY0=
=j0pl
-----END PGP SIGNATURE-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 13:49:14 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.