diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-03-28 19:22:21 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-04-01 14:42:46 +0100 |
commit | b56b53bd70b1f8fa2b5a95d4569bb72a2419b5cd (patch) | |
tree | badf81e4bcc92cc77b8359aafb955a8a05ae9c8f /NEWS | |
parent | 594292a1d89332dd006cd7fe3116cf46ebe9acf6 (diff) | |
download | coreutils-b56b53bd70b1f8fa2b5a95d4569bb72a2419b5cd.tar.xz |
copy: protect against overlapping extents
* src/extent-scan.c (extent_scan_read): Add a more stringent check
for OFF_T overflow, to ensure subsequent code is immune.
Detect overlapping extents and adjust, so as files always copied.
Detection using a single scan with fallback to a standard copy
was thought too expensive in memory or time.
* NEWS: Mention the fix
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ GNU coreutils NEWS -*- outline -*- copying the symlink and then not preserving its timestamp. [bug introduced in coreutils-8.0] + cp now avoids FIEMAP issues with BTRFS before Linux 2.6.38, + which could result in corrupt copies of sparse files. + [bug introduced in coreutils-8.10] + cut could segfault when invoked with a user-specified output delimiter and an unbounded range like "-f1234567890-". [bug introduced in coreutils-5.3.0] |