[Python-Dev] [Python-checkins] cpython: Issue #14716: Change integer overflow check in unicode_writer_prepare() (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Mon May 7 18:33:57 CEST 2012
- Previous message: [Python-Dev] [Python-checkins] cpython: Issue #14716: Change integer overflow check in unicode_writer_prepare()
- Next message: [Python-Dev] [Python-checkins] cpython: Issue #14716: Change integer overflow check in unicode_writer_prepare()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
07.05.12 18:48, Serhiy Storchaka написав(ла):
My fault.
However, it's not my fault. I suggested newlen < (PY_SSIZE_T_MAX - PY_SSIZE_T_MAX / 5)
and not newlen <= (PY_SSIZE_T_MAX - PY_SSIZE_T_MAX / 5)
. In this case, there is no overflow.
- Previous message: [Python-Dev] [Python-checkins] cpython: Issue #14716: Change integer overflow check in unicode_writer_prepare()
- Next message: [Python-Dev] [Python-checkins] cpython: Issue #14716: Change integer overflow check in unicode_writer_prepare()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]