<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, branch zooba-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[2.7] bpo-35552: Fix reading past the end in PyString_FromFormat(). (GH-11276) (GH-11534)</title>
<updated>2019-01-12T09:20:50+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-01-12T09:20:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=555755ecff2669f4e020147d7d3a0aec71abb679'/>
<id>555755ecff2669f4e020147d7d3a0aec71abb679</id>
<content type='text'>
Format character "%s" in PyString_FromFormat() no longer read memory
past the limit if precision is specified.
(cherry picked from commit d586ccb04f79863c819b212ec5b9d873964078e4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Format character "%s" in PyString_FromFormat() no longer read memory
past the limit if precision is specified.
(cherry picked from commit d586ccb04f79863c819b212ec5b9d873964078e4)
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33817: Fix _PyString_Resize() and _PyUnicode_Resize() for empty strings. (GH-11515)</title>
<updated>2019-01-12T07:22:52+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-01-12T07:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=08a81df05004147ee174ece645679576ab867860'/>
<id>08a81df05004147ee174ece645679576ab867860</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) (GH-11249)</title>
<updated>2018-12-20T17:38:52+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-12-20T17:38:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f347c6eb75ca46990cd7ad3efbe02002603d8460'/>
<id>f347c6eb75ca46990cd7ad3efbe02002603d8460</id>
<content type='text'>
(cherry picked from commit 842acaab1376c5c84fd5966bb6070e289880e1ca)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 842acaab1376c5c84fd5966bb6070e289880e1ca)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828)</title>
<updated>2018-12-03T11:29:29+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-12-03T11:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c275be54411d425c90e7c679ddb5321ba458f61d'/>
<id>c275be54411d425c90e7c679ddb5321ba458f61d</id>
<content type='text'>
When Python is compiled in debug mode, PyMem_Malloc() uses debug
hooks, but it also uses pymalloc allocator instead of malloc().
Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is
thread-safe in release mode (it's a thin wrapper to malloc() in this
case).

Modify the debug hook to use malloc() for PyMem_Malloc().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Python is compiled in debug mode, PyMem_Malloc() uses debug
hooks, but it also uses pymalloc allocator instead of malloc().
Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is
thread-safe in release mode (it's a thin wrapper to malloc() in this
case).

Modify the debug hook to use malloc() for PyMem_Malloc().</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10538)</title>
<updated>2018-11-14T19:55:07+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-14T19:55:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b6f4472dc4190e2fd668490d86aeefd2ab0df935'/>
<id>b6f4472dc4190e2fd668490d86aeefd2ab0df935</id>
<content type='text'>
Discovered using clang's MemorySanitizer.

A msan build will fail by simply executing: ./python -c 'u"\N"'
(cherry picked from commit 746b2d3)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt; [Google LLC]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discovered using clang's MemorySanitizer.

A msan build will fail by simply executing: ./python -c 'u"\N"'
(cherry picked from commit 746b2d3)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt; [Google LLC]</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] bpo-34974: Do not replace unexpected errors in bytearray(). (GH-9852) (GH-9885)</title>
<updated>2018-10-15T05:46:16+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-10-15T05:46:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=43308dfc3335906cfefe9f14a44e468935f3c321'/>
<id>43308dfc3335906cfefe9f14a44e468935f3c321</id>
<content type='text'>
The bytearray constructor converted unexpected exceptions
(e.g. MemoryError and KeyboardInterrupt) to TypeError.
(cherry picked from commit e890421e334ccf0c000c6b29c4a521d86cd12f47)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bytearray constructor converted unexpected exceptions
(e.g. MemoryError and KeyboardInterrupt) to TypeError.
(cherry picked from commit e890421e334ccf0c000c6b29c4a521d86cd12f47)</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] bpo-20047: Remove Objects/bytesobject.c from 2.7 (GH-9268)</title>
<updated>2018-09-13T23:16:41+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-09-13T23:16:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b9fe1734168d45861d6dc3022492387dec5a4a2'/>
<id>0b9fe1734168d45861d6dc3022492387dec5a4a2</id>
<content type='text'>
It was accidentally added in 107f3cc791d223dc06b7c80f0de672e88ae6a8d1.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was accidentally added in 107f3cc791d223dc06b7c80f0de672e88ae6a8d1.</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] Fix misleading mentions of tp_size in comments (GH-9138)</title>
<updated>2018-09-10T17:50:15+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-10T17:50:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ed62e645101fdd83aee519f6f33a4384ff79f105'/>
<id>ed62e645101fdd83aee519f6f33a4384ff79f105</id>
<content type='text'>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9091)</title>
<updated>2018-09-07T08:15:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-07T08:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bf2bd8f8a1d88de60c114de957f50fe2433e3937'/>
<id>bf2bd8f8a1d88de60c114de957f50fe2433e3937</id>
<content type='text'>
When calling tp_descr_get(self, obj, type), make sure that
we own a strong reference to "self".

(cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When calling tp_descr_get(self, obj, type), make sure that
we own a strong reference to "self".

(cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5)</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34477: Objects/typeobject.c: Add missing NULL check to type_init() (GH-8876)</title>
<updated>2018-08-24T04:51:46+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-24T04:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ea21206626d0907e0ecfd3efbb186f14f1a8a5d4'/>
<id>ea21206626d0907e0ecfd3efbb186f14f1a8a5d4</id>
<content type='text'>
Reported by Svace static analyzer.
(cherry picked from commit f6247aac08c1a79d0479145a405718bb76dba434)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Svace static analyzer.
(cherry picked from commit f6247aac08c1a79d0479145a405718bb76dba434)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</pre>
</div>
</content>
</entry>
</feed>
