From 0db1befcfbc120377df4b89923762f16d25f548a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 23 Jul 2009 19:10:55 +0300 Subject: [PATCH] Fix incorrect usage of getopt_long(), which caused invalid memory access if XZ_OPT was defined. --- src/xz/args.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xz/args.c b/src/xz/args.c index 8d5d33c..b50e28b 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. -- 2.7.4