You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xneur/SOURCES/xneur-fix-arg-parsing.patch

15 lines
177 B

--- a/src/xneur.c
+++ b/src/xneur.c
@@ -404,6 +404,11 @@
}
}
+ if (optind < argc)
+ {
+ xneur_usage();
+ exit(EXIT_FAILURE);
+ }
if (opted)
exit(EXIT_SUCCESS);
}