| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-01-12 | bpo-33817: Fix _PyString_Resize() and _PyUnicode_Resize() for empty strings. ↵ | Serhiy Storchaka | -1/+18 | |
| (GH-11515) | ||||
| 2018-11-14 | [2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) ↵ | Gregory P. Smith | -1/+1 | |
| (GH-10538) 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 <greg@krypto.org> [Google LLC] | ||||
| 2018-08-02 | Fix compilation warnings on Windows (GH-8627) | Victor Stinner | -1/+1 | |
| * 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 <= 0x10ffff. | ||||
| 2018-07-31 | [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) | Serhiy Storchaka | -1/+1 | |
| 2017-04-15 | bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154) | Serhiy Storchaka | -1/+1 | |
| PySlice_GetIndicesEx in _ctypes.c. | ||||
| 2017-04-08 | bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046) | Serhiy Storchaka | -2/+3 | |
| (cherry picked from commit b879fe8) | ||||
| 2017-01-09 | Issue #29145: Fix overflow checks in string, bytearray and unicode. | Xiang Zhang | -15/+10 | |
| Patch by jan matejek and Xiang Zhang. | ||||
| 2016-09-06 | promote some shifts to unsigned, so as not to invoke undefined behavior | Benjamin Peterson | -2/+2 | |
| 2016-07-12 | Issue #27473: Fixed possible integer overflow in str, unicode and bytearray | Serhiy Storchaka | -5/+11 | |
| concatenations and repetitions. Based on patch by Xiang Zhang. | ||||
| 2016-06-21 | Issue #22463: Backport compiler warning fixes and workarounds | Martin Panter | -1/+1 | |
| * 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. | ||||
| 2016-04-10 | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | -1/+1 | |
| in places where Py_DECREF was used. | ||||
| 2016-04-10 | Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly | Serhiy Storchaka | -1/+4 | |
| ignore errors from a __int__() method. Patch based on the patch for issue #15516. | ||||
| 2016-04-06 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | -1/+1 | |
| 2015-12-24 | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | -2/+1 | |
| macro Py_SETREF. | ||||
| 2015-12-03 | Issue #19543: Added Py3k warning for decoding unicode. | Serhiy Storchaka | -0/+3 | |
| 2015-10-10 | Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character | Serhiy Storchaka | -1/+4 | |
| was locale depending. | ||||
| 2015-10-02 | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | -7/+9 | |
| 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
| 2015-05-31 | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | -4/+4 | |
| Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. | ||||
| 2015-01-31 | Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. | Serhiy Storchaka | -0/+2 | |
| 2015-01-30 | Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV. | Serhiy Storchaka | -1/+2 | |
| 2015-01-27 | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | -12/+13 | |
| and fix by Guido Vranken. | ||||
| 2015-01-18 | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | -4/+4 | |
| 2014-09-29 | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | -21/+48 | |
| unicode_encode_ucs1 (closes #22518) | ||||
| 2014-07-30 | Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). | Victor Stinner | -9/+9 | |
| 2014-02-15 | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | -1/+1 | |
| 2014-02-09 | Issue #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | -4/+2 | |
| 2013-10-19 | Issue #19279: UTF-7 decoder no more produces illegal unicode strings. | Serhiy Storchaka | -0/+2 | |
| 2013-08-06 | Issue #15866: The xmlcharrefreplace error handler no more produces two XML | Serhiy Storchaka | -21/+61 | |
| entities for a non-BMP character on narrow build. | ||||
| 2013-06-23 | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise | Serhiy Storchaka | -1/+18 | |
| OverflowError when an argument of %c format is out of range. | ||||
| 2013-03-23 | allow any type with __getitem__ to be a mapping for the purposes of % (#15801) | Benjamin Peterson | -2/+2 | |
| 2013-02-07 | Issue #17043: The unicode-internal decoder no longer read past the end of | Serhiy Storchaka | -27/+24 | |
| input buffer. | ||||
| 2013-01-29 | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | -51/+28 | |
| 2013-01-26 | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | -41/+38 | |
| are now initialized dynamically as needed. | ||||
| 2013-01-21 | Issue #16335: Fix integer overflow in unicode-escape decoder. | Serhiy Storchaka | -1/+2 | |
| 2013-01-19 | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | -2/+6 | |
| when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| 2013-01-15 | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | -21/+25 | |
| in any mapping, not only in an unicode string. | ||||
| 2013-01-08 | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | -1/+4 | |
| Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | ||||
| 2013-01-08 | Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds. | Serhiy Storchaka | -1/+1 | |
| 2012-11-17 | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | -2/+26 | |
| decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
| 2012-10-30 | initialize more global type objects (closes #16369) | Benjamin Peterson | -0/+6 | |
| 2012-10-28 | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | -2/+2 | |
| new-style and old-style formatting. | ||||
| 2012-10-07 | Issue #14783: Backport changes from 3.2. | Chris Jerdonek | -3/+4 | |
| 2012-08-28 | use the stricter PyMapping_Check (closes #15801) | Benjamin Peterson | -1/+1 | |
| 2012-07-21 | Issue #14579: Fix error handling bug in the utf-16 decoder. | Antoine Pitrou | -1/+1 | |
| Patch by Serhiy Storchaka. | ||||
| 2012-06-02 | Improve tooltips for splitlines() by showing that the default for keepends ↵ | Raymond Hettinger | -1/+1 | |
| is False. | ||||
| 2012-04-09 | merge 2.7 release branch | Benjamin Peterson | -0/+2 | |
| 2012-04-09 | fix build without Py_DEBUG and DNDEBUG (closes #14509) | Benjamin Peterson | -0/+2 | |
| 2012-03-25 | kill this terribly outdated comment | Benjamin Peterson | -4/+0 | |
| 2012-02-21 | merge 2.6 | Benjamin Peterson | -0/+1 | |
| 2012-02-21 | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | -0/+1 | |
