mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-05 23:35:48 +03:00
Fixed RH bug #58124 due to an off-by-one error when parsing -o arguments.
* xsltproc/xsltproc.c: Fixed RH bug #58124 due to an off-by-one error when parsing -o arguments. Daniel
This commit is contained in:
@@ -380,7 +380,7 @@ main(int argc, char **argv)
|
||||
(!strcmp(argv[i], "-output")) ||
|
||||
(!strcmp(argv[i], "--output"))) {
|
||||
i++;
|
||||
output = argv[i++];
|
||||
output = argv[i];
|
||||
} else if ((!strcmp(argv[i], "-V")) ||
|
||||
(!strcmp(argv[i], "-version")) ||
|
||||
(!strcmp(argv[i], "--version"))) {
|
||||
|
Reference in New Issue
Block a user