mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix incorrect usage of getopt_long(), which caused
invalid memory access if XZ_OPT was defined.
This commit is contained in:
parent
8f8ec942d6
commit
0db1befcfb
1 changed files with 0 additions and 1 deletions
|
@ -489,7 +489,6 @@ args_parse(args_info *args, int argc, char **argv)
|
|||
parse_environment(args, argv[0]);
|
||||
|
||||
// Then from the command line
|
||||
optind = 1;
|
||||
parse_real(args, argc, argv);
|
||||
|
||||
// Never remove the source file when the destination is not on disk.
|
||||
|
|
Loading…
Reference in a new issue