diff options
-rw-r--r-- | Objects/unicodeobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index f54e7b2..26aa753 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -1028,6 +1028,7 @@ PyObject *PyUnicode_DecodeUTF7(const char *s, } } else if (SPECIAL(ch,0,0)) { + startinpos = s-starts; errmsg = "unexpected special character"; s++; goto utf7Error; |