[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 555755ecff2669f4e020147d7d3a0aec71abb679 by Serhiy Storchaka in branch '2.7': [2.7] bpo-35552: Fix reading past the end in PyString_FromFormat(). (GH-11276) (GH-11534)

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread miss-islington
miss-islington added the comment: New changeset cbc7c2c791185ad44b4b3ede72309df5f252f4cb by Miss Islington (bot) in branch '3.7': bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276)

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11133 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d586ccb04f79863c819b212ec5b9d873964078e4 by Serhiy Storchaka in branch 'master': bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276)

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11131 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11131, 11132 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2018-12-21 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10510 stage: -> patch review ___ Python tracker ___ ___

[issue35552] Do not read memory past the specified limit in PyUnicode_FromFormat() and PyBytes_FromFormat()

2018-12-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Format characters %s and %V in PyUnicode_FromFormat() and %s PyBytes_FromFormat() allow to limit the number of bytes read from the argument. For example PyUnicode_FromFormat("must be string, not '%.50s'", obj->ob_type->tp_name) will use not more than 50