]> git.ipfire.org Git - thirdparty/tar.git/commit
tar: fix unlikely overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Mar 2024 21:20:23 +0000 (13:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Mar 2024 21:28:23 +0000 (13:28 -0800)
commit628c49250ad2257063f35a0780eba847e9ca78c5
treed67c19b45637e0963c3586830f8f60e464377698
parent21318f385627a30da5d92811dd80f70abbe80ee7
tar: fix unlikely overflow

* src/delete.c (flush_file): Fix arithmetic overflow if
TYPE_MAXIMUM (off_t) - BLOCKSIZE < current_stat_info.stat.st_size.
src/delete.c