<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/unicodeobject.c, branch 2.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/unicodeobject.c?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/unicodeobject.c?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-01-12T07:22:52Z</updated>
<entry>
<title>bpo-33817: Fix _PyString_Resize() and _PyUnicode_Resize() for empty strings. (GH-11515)</title>
<updated>2019-01-12T07:22:52Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-01-12T07:22:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08a81df05004147ee174ece645679576ab867860'/>
<id>urn:sha1:08a81df05004147ee174ece645679576ab867860</id>
<content type='text'>
</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:07Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-14T19:55:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b6f4472dc4190e2fd668490d86aeefd2ab0df935'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Fix compilation warnings on Windows (GH-8627)</title>
<updated>2018-08-02T16:02:59Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-02T16:02:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd4d8b4d80065409dae69f966fd7617e5b3d97f1'/>
<id>urn:sha1:dd4d8b4d80065409dae69f966fd7617e5b3d97f1</id>
<content type='text'>
* Fix compilation warning in _ctypes module on Window

(cherry picked from commit 20f11fe43c47b68c8b9dd6539d2d40b66c9957f9)

* Fix compilation warnings on Windows 64-bit

(cherry picked from commit 725e4212229bf68f87d4f66c1815d444ddfc7aa5)

* Fix compiler warning in unicodeobject.c

Explicitly case to Py_UNICODE to fix the warning:

Objects\unicodeobject.c(4225): warning C4244: '=' :
conversion from 'long' to 'Py_UNICODE', possible loss of data

The downcast cannot overflow since we check that value &lt;= 0x10ffff.
</content>
</entry>
<entry>
<title>[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)</title>
<updated>2018-07-31T06:09:36Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-07-31T06:09:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48c8bf21f97aeb124dbd48bf2bdec1ab4ebc5202'/>
<id>urn:sha1:48c8bf21f97aeb124dbd48bf2bdec1ab4ebc5202</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)</title>
<updated>2017-04-15T17:11:12Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-15T17:11:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e79321742cb3af2184d22e2148c6756cade1864'/>
<id>urn:sha1:5e79321742cb3af2184d22e2148c6756cade1864</id>
<content type='text'>
PySlice_GetIndicesEx in _ctypes.c.
</content>
</entry>
<entry>
<title>bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046)</title>
<updated>2017-04-08T08:48:57Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-08T08:48:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e41390aca51e4e3eb455cf3b70f5d656a2814db9'/>
<id>urn:sha1:e41390aca51e4e3eb455cf3b70f5d656a2814db9</id>
<content type='text'>
(cherry picked from commit b879fe8)
</content>
</entry>
<entry>
<title>Issue #29145: Fix overflow checks in string, bytearray and unicode.</title>
<updated>2017-01-09T03:13:20Z</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-09T03:13:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7bdb516059fd7c2aded86d8c7a59e4eaa66a97bc'/>
<id>urn:sha1:7bdb516059fd7c2aded86d8c7a59e4eaa66a97bc</id>
<content type='text'>
Patch by jan matejek and Xiang Zhang.
</content>
</entry>
<entry>
<title>promote some shifts to unsigned, so as not to invoke undefined behavior</title>
<updated>2016-09-07T03:40:04Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-07T03:40:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89f676f30c63f1805bc3a9e9aff4fc6f0419f959'/>
<id>urn:sha1:89f676f30c63f1805bc3a9e9aff4fc6f0419f959</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27473: Fixed possible integer overflow in str, unicode and bytearray</title>
<updated>2016-07-12T12:46:57Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-07-12T12:46:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=373773d5b2790a65ad99a0b855709245544afc30'/>
<id>urn:sha1:373773d5b2790a65ad99a0b855709245544afc30</id>
<content type='text'>
concatenations and repetitions.  Based on patch by Xiang Zhang.
</content>
</entry>
<entry>
<title>Issue #22463: Backport compiler warning fixes and workarounds</title>
<updated>2016-06-21T23:58:05Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-21T23:58:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=646b528467b171148143980452d2aa4294cbe5c8'/>
<id>urn:sha1:646b528467b171148143980452d2aa4294cbe5c8</id>
<content type='text'>
* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
  Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
  Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
  patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
  loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
  redefined'. Extracted from patch by Christian Heimes.
</content>
</entry>
</feed>
