diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-23 19:10:55 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-23 19:10:55 +0300 |
commit | 0db1befcfbc120377df4b89923762f16d25f548a (patch) | |
tree | 0c6736b6ff98a49490b5113ca6678affd5301be5 /src/xz | |
parent | Avoid internal error with --format=xz --lzma1. (diff) | |
download | xz-0db1befcfbc120377df4b89923762f16d25f548a.tar.xz |
Fix incorrect usage of getopt_long(), which caused
invalid memory access if XZ_OPT was defined.
Diffstat (limited to 'src/xz')
-rw-r--r-- | src/xz/args.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index 8d5d33c2..b50e28b7 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -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. |