quote: Fix returning out of string pointer, take 2
In commit a45febd767
only part of problem has been covered.
Need to be ready for strings like
| `a
http://bugzilla.nasm.us/show_bug.cgi?id=3392295
Reported-by: Hanno Boeck <hanno@hboeck.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
85ec505d05
commit
7cc90badae
1 changed files with 1 additions and 1 deletions
2
quote.c
2
quote.c
|
@ -471,7 +471,7 @@ char *nasm_skip_string(char *str)
|
|||
break;
|
||||
}
|
||||
}
|
||||
return p; /* Unterminated string... */
|
||||
return p-1; /* Unterminated string... */
|
||||
} else {
|
||||
return str; /* Not a string... */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue