GNU bug report logs - #18316
[PATCH] warn on too large file copies

Previous Next

Package: coreutils;

Reported by: adamjsho <at> gmail.com

Date: Fri, 22 Aug 2014 15:58:02 UTC

Severity: normal

Tags: fixed, patch

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Adam <adamjsho <at> gmail.com>
To: 18316 <at> debbugs.gnu.org
Subject: bug#18316: [PATCH] warn on too large file copies
Date: Fri, 22 Aug 2014 18:01:02 +0100
> In the other case UINTMAX_MAX is passed and so should be large
> enough for any regular file, though I suppose this is a
> theoretical concern if cp was being used between devices for example.
> I.E. it would stop without any error after about 19EB on
> both 32 and 64 bit platforms. That's the case you're trying to
> avoid here right, or is there a more practical concern?

Yes, this is what I meant. I know it's a rare scenario however I thought
I would still mention it as I can not see harm in adding a check in. 

Apologies for any confusion.

Thanks,
Adam





This bug report was last modified 6 years and 309 days ago.

Previous Next


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