1
0
镜像自地址 https://git.tukaani.org/xz.git 已同步 2026-10-31 03:14:56 +00:00

Fix incorrect usage of getopt_long(), which caused

invalid memory access if XZ_OPT was defined.
这个提交包含在:
Lasse Collin 2009-07-23 19:10:55 +03:00
父节点 8f8ec942d6
当前提交 0db1befcfb

查看文件

@ -489,7 +489,6 @@ args_parse(args_info *args, int argc, char **argv)
parse_environment(args, argv[0]); parse_environment(args, argv[0]);
// Then from the command line // Then from the command line
optind = 1;
parse_real(args, argc, argv); parse_real(args, argc, argv);
// Never remove the source file when the destination is not on disk. // Never remove the source file when the destination is not on disk.