diff options
| author | Georg Brandl <georg@python.org> | 2007-11-02 22:46:38 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-11-02 22:46:38 (GMT) |
| commit | 1dcb9c93fd5e69ed9af89a65976bddd5ec15474b (patch) | |
| tree | 6b4b61d808049b05e98a07e2490b1983d30bee9a /Python/hypot.c | |
| parent | 2c3e0d94b2357d53e3a460dec244b1e98462ede4 (diff) | |
| download | cpython-1dcb9c93fd5e69ed9af89a65976bddd5ec15474b.zip cpython-1dcb9c93fd5e69ed9af89a65976bddd5ec15474b.tar.gz cpython-1dcb9c93fd5e69ed9af89a65976bddd5ec15474b.tar.bz2 | |
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/hypot.c')
0 files changed, 0 insertions, 0 deletions
