From f8ba70e9f8ad2707951882c535ea27909d8d762d Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sun, 8 Mar 2015 21:55:13 -0700 Subject: Fix off-by-one which caused BZ #18042 and add a test for it. --- posix/wordexp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'posix/wordexp.c') diff --git a/posix/wordexp.c b/posix/wordexp.c index 1c144014b3..ae4fd72b82 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -2143,7 +2143,6 @@ parse_backtick (char **word, size_t *word_length, size_t *max_length, break; } - ++(*offset); error = parse_backslash (&comm, &comm_length, &comm_maxlen, words, offset); -- cgit 1.4.1