• Georg Brandl's avatar
    Backport r58709 from trunk: · 1dcb9c93
    Georg Brandl yazdı
    Backport fixes for the code that decodes octal escapes (and for PyString
    also hex escapes) -- this was reaching beyond the end of the input string
    buffer, even though it is not supposed to be \0-terminated.
    This has no visible effect but is clearly the correct thing to do.
    (In 3.0 it had a visible effect after removing ob_sstate from PyString.)
    Also fixes #1098.
    1dcb9c93
stringobject.c 121 KB