summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-03-28 19:22:21 +0100
committerPádraig Brady <P@draigBrady.com>2011-04-01 14:42:46 +0100
commitb56b53bd70b1f8fa2b5a95d4569bb72a2419b5cd (patch)
treebadf81e4bcc92cc77b8359aafb955a8a05ae9c8f /src/df.c
parent594292a1d89332dd006cd7fe3116cf46ebe9acf6 (diff)
downloadcoreutils-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 'src/df.c')
0 files changed, 0 insertions, 0 deletions