This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shihai1991
Recipients shihai1991
Date 2019-10-06.10:51:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570359094.2.0.728788628974.issue38383@roundup.psfhosted.org>
In-reply-to
Content
`if (start + slen > len)` would cause undefined behavior?
such as: start=PY_SSIZE_T_MAX, slen=1

REFS:
[1] https://github.com/python/cpython/blob/master/Objects/bytes_methods.c#L746
History
Date User Action Args
2019-10-06 10:51:34shihai1991setrecipients: + shihai1991
2019-10-06 10:51:34shihai1991setmessageid: <1570359094.2.0.728788628974.issue38383@roundup.psfhosted.org>
2019-10-06 10:51:34shihai1991linkissue38383 messages
2019-10-06 10:51:34shihai1991create