diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2014-12-20 15:07:39 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2014-12-20 15:07:39 +0300 |
commit | 7cc90badae553a5ae25c3d93b75b024c73e2c7f4 (patch) | |
tree | 33122fe11417677b1faeac84e87bc175906003e9 | |
parent | 85ec505d05dfb987f8e0f728b1a350d6188739b0 (diff) | |
download | nasm-7cc90badae553a5ae25c3d93b75b024c73e2c7f4.tar.gz |
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>
-rw-r--r-- | quote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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... */ } |