]> git.ipfire.org Git - thirdparty/tar.git/commit
Diagnose argp overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Aug 2024 18:55:39 +0000 (11:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2024 08:41:43 +0000 (01:41 -0700)
commitdab2830e38b40e2f32c916d42a9c5946d7685ed1
tree37b68fb9f2cc917ca0a10e334b355a0c31049aa2
parent9cef4d5495837b30d955f467f2e9c7c4066764c3
Diagnose argp overflow

* src/names.c (handle_option):
* src/tar.c (parse_default_options):
Report an error if wordsplitting yields more than INT_MAX words,
rather than misbehaving.  argp_parse can’t handle more than
INT_MAX, unfortunately.
src/names.c
src/tar.c