[Bug 828] date overflow with scp -p
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Apr 1 12:15:17 EST 2004
http://bugzilla.mindrot.org/show_bug.cgi?id=828
------- Additional Comments From dtucker at zip.com.au 2004-04-01 12:15 -------
Created an attachment (id=588)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=588&action=view)
Truncate pre-epoch timestamps in scp, add debugging
Does the rcp/scp protocol even permit times before the epoch? If not, the best
we can do is truncate the date to the epoch as per the attached patch.
I added a bit more detail in the debugging:
$ ./scp -vp /mnt/tmp/file localhost:/tmp/
[...]
File mtime -100000 atime 1080785365
Sending file timestamps: T0 0 1080785365 0
Sending file modes: C0664 2323 file
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list