<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-10-05T21:55:53Z</updated>
<entry>
<title>[3.7] gh-97616: list_resize() checks for integer overflow (GH-97617) (#97629)</title>
<updated>2022-10-05T21:55:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-05T21:55:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd82f16c1e4d9a0661e9a2250004032797652e69'/>
<id>urn:sha1:fd82f16c1e4d9a0661e9a2250004032797652e69</id>
<content type='text'>
Fix multiplying a list by an integer (list *= int): detect the
integer overflow when the new allocated length is close to the
maximum size.  Issue reported by Jordan Limor.

list_resize() now checks for integer overflow before multiplying the
new allocated length by the list item size (sizeof(PyObject*)).
(cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>[3.7] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) (GH-97836)</title>
<updated>2022-10-04T18:59:43Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-04T18:59:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7fcfa94a856afecd20f7f66b6c248f776724bf7c'/>
<id>urn:sha1:7fcfa94a856afecd20f7f66b6c248f776724bf7c</id>
<content type='text'>
[3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877)

When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.

(cherry picked from commit e841ffc915e82e5ea6e3b473205417d63494808d)

Co-authored-by: Ned Deily &lt;nad@python.org&gt;
(cherry picked from commit 41188134bd2120f0cedd681ed88743c11c7f3742)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)</title>
<updated>2022-09-06T05:24:36Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-09-06T05:24:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2'/>
<id>urn:sha1:15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2</id>
<content type='text'>
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.</content>
</entry>
<entry>
<title>bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) (GH-21878)</title>
<updated>2020-08-14T09:44:00Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-08-14T09:44:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf79cbf4479e395bf7c4df2907f5a444639b4f6f'/>
<id>urn:sha1:cf79cbf4479e395bf7c4df2907f5a444639b4f6f</id>
<content type='text'>
(cherry picked from commit 52698c7ad9eae9feb35839fde17a7d1da8036a9b)

Co-authored-by: Yury Selivanov &lt;yury@magic.io&gt;
</content>
</entry>
<entry>
<title>Fix a possible refleak in tupleobject.c (GH-19018)</title>
<updated>2020-03-15T19:55:41Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-15T19:55:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=627e7bc1bb203b6472af567f2effee952c34b34c'/>
<id>urn:sha1:627e7bc1bb203b6472af567f2effee952c34b34c</id>
<content type='text'>
(cherry picked from commit c81609e44eed641d3b8a137daa31ef35501c1f85)

Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-39884: Add method name in "bad call flags" error (GH-18944) (GH-18957)</title>
<updated>2020-03-12T12:37:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-12T12:37:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6a12676b1910d52c85561bdf4f1e20aa13fc8f46'/>
<id>urn:sha1:6a12676b1910d52c85561bdf4f1e20aa13fc8f46</id>
<content type='text'>
_PyMethodDef_RawFastCallDict() and _PyMethodDef_RawFastCallKeywords()
now include the method name in the SystemError "bad call flags" error
message to ease debug.

(cherry picked from commit c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3)</content>
</entry>
<entry>
<title>[3.7] bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863). (GH-18955)</title>
<updated>2020-03-12T08:15:17Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-03-12T08:15:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f4e7fcfca6923d0422b20fc8702240bd4e56ebd'/>
<id>urn:sha1:6f4e7fcfca6923d0422b20fc8702240bd4e56ebd</id>
<content type='text'>
(cherry picked from commit e5ccc94bbb153431698b2391df625e8d47a93276)
</content>
</entry>
<entry>
<title>bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749)</title>
<updated>2020-03-02T23:53:03Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-02T23:53:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69ded3944c202da972754644c0bbf7f77cc5e8ea'/>
<id>urn:sha1:69ded3944c202da972754644c0bbf7f77cc5e8ea</id>
<content type='text'>
Objects do not own weak references to them directly through the __weakref__ list so these
do not need to be traversed by the GC.
(cherry picked from commit 0c2b509f9d1d3a9065bc62c2407e1dc2ed70e9c2)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>Give proper credits for the memoryview implementation. (GH-18626) (#18643)</title>
<updated>2020-02-24T10:51:40Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-24T10:51:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3dc6961681df000e113383fddaff2f932ef6abaa'/>
<id>urn:sha1:3dc6961681df000e113383fddaff2f932ef6abaa</id>
<content type='text'>
(cherry picked from commit ee3bac4cba56b51ce924f13d77b97131eec1a865)

Authored-by: Stefan Krah &lt;skrah@bytereef.org&gt;
</content>
</entry>
<entry>
<title>bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530)</title>
<updated>2020-02-22T13:32:36Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-22T13:32:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=43a0137c87b997c6ba8b23cc3281ce2de18f008a'/>
<id>urn:sha1:43a0137c87b997c6ba8b23cc3281ce2de18f008a</id>
<content type='text'>
Hold reference of __bases__ tuple until tuple item is done with, because by
dropping the reference the item may be destroyed.
(cherry picked from commit 1c56f8ffad44478b4214a2bf8eb7cf51c28a347a)

Co-authored-by: Yonatan Goldschmidt &lt;yon.goldschmidt@gmail.com&gt;</content>
</entry>
</feed>
