diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-03 23:07:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-03 23:07:38 -0700 |
commit | 24c830696527566742f1c8cac70d53086afca599 (patch) | |
tree | 1a47446dbc438b37fe024d6c885c6f219d698553 /tests/T-null.at | |
parent | ba26ec86e2a6df7de1cb7e43b0be893b5ab68a7a (diff) | |
download | tar-24c830696527566742f1c8cac70d53086afca599.tar.gz |
Fix -Af F bug when F is not a regular file
Problem reported by Boris Gjenero in:
https://lists.gnu.org/r/bug-tar/2022-11/msg00001.html
* src/update.c (append_file): Don’t assume that FILE_NAME is a
regular file whose size can be determined before reading.
Instead, simply read from the file until its end is reached.
Diffstat (limited to 'tests/T-null.at')
0 files changed, 0 insertions, 0 deletions