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 /lib/euidaccess-stat.h | |
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 'lib/euidaccess-stat.h')
0 files changed, 0 insertions, 0 deletions