diff options
author | Georg Brandl <georg@python.org> | 2007-11-02 22:46:38 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-11-02 22:46:38 +0000 |
commit | 1dcb9c93fd5e69ed9af89a65976bddd5ec15474b (patch) | |
tree | 6b4b61d808049b05e98a07e2490b1983d30bee9a /Python/bltinmodule.c | |
parent | 2c3e0d94b2357d53e3a460dec244b1e98462ede4 (diff) | |
download | cpython-git-1dcb9c93fd5e69ed9af89a65976bddd5ec15474b.tar.gz |
Backport r58709 from trunk:
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.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions