[issue34355] SIGSEGV (Address boundary error)

Julien Palard report at bugs.python.org
Wed Aug 8 17:52:35 EDT 2018


Julien Palard <julien+python at palard.fr> added the comment:

After noticing that without pydebug I can reproduce in v3.7.0 but not in master I ran a git bisect, the following commit looks like it fixes the issue:

```
commit 16dfca4d829e45f36e71bf43f83226659ce49315
Author: INADA Naoki <methane at users.noreply.github.com>
Date:   Sat Jul 14 12:06:43 2018 +0900

    bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274)
    
    `_PyUnicode_TransformDecimalAndSpaceToASCII()` missed trailing NUL char.
    It caused buffer overflow in `_Py_string_to_number_with_underscores()`.
    
    This bug is introduced in 9b6c60cb.
```

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34355>
_______________________________________


More information about the Python-bugs-list mailing list