• Marc-André Lemburg's avatar
    Fix to a bug found by Florian Weimer: · fb625847
    Marc-André Lemburg yazdı
    The UTF-8 decoder is still buggy (i.e. it doesn't pass Markus Kuhn's
    stress test), mainly due to the following construct:
    
        #define UTF8_ERROR(details)  do {                       \
            if (utf8_decoding_error(&s, &p, errors, details))   \
                goto onError;                                   \
            continue;                                           \
        } while (0)
    
    (The "continue" statement is supposed to exit from the outer loop,
    but of course, it doesn't.  Indeed, this is a marvelous example of
    the dangers of the C programming language and especially of the C
    preprocessor.)
    fb625847
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
Makefile.in Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
xxobject.c Loading commit data...