Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #254130

Category gcoreutils
Changed by Pádraig Brady <Pohnoyoudont@draigBrady.com>
Changed at Sun 04 Jan 2026 21:20:04
Repository git://git.savannah.gnu.org/coreutils.git
Project gcoreutils
Branch master
Revision bd528f923482223649aa84be7d131e69356149da

Comments

copy: fix possible infinite loop with SEEK_HOLE
Commit v9.8-95-g4c0cf3864 intended to initialize
ext_start to src_pos, as was described at:
https://lists.gnu.org/r/coreutils/2025-11/msg00035.html
However ipos was inadvertently used, which is only
valid the first time through the loop.

* src/copy-file-data.c (lseek_copy): Use scan_inference->hole_start
only with the initial offset passed to lseek_copy().
* NEWS: Mention the bug fix.
Reported at https://github.com/coreutils/coreutils/issues/159

Changed files