Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22517: When a io.BufferedRWPair object is deallocated, clear its | Georg Brandl | 2014-09-30 | 1 | -0/+2 |
| | | | | weakrefs. | ||||
* | Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes | Georg Brandl | 2014-09-30 | 1 | -6/+60 |
| | | | | | | | inside subjectAltName correctly. Formerly the module has used OpenSSL's GENERAL_NAME_print() function to get the string represention of ASN.1 strings for ``rfc822Name`` (email), ``dNSName`` (DNS) and ``uniformResourceIdentifier`` (URI). | ||||
* | fix poor spelling | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | disallow a negative idx parameter | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 |
| | |||||
* | in scan_once, prevent the reading of arbitrary memory when passed a negative ↵ | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 |
| | | | | | | index Bug reported by Guido Vranken. | ||||
* | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 |
| | |||||
* | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
| | | | | such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
* | This local change was lost during the fixing of issue17192 to update | Gregory P. Smith | 2013-04-30 | 1 | -0/+5 |
| | | | | | | | libffi to 3.0.13. (i'm not sure if it is needed anymore but see issue 10309 for details which makes no mention of upstream; this change is already in 3.3 and 3.4 but may need reapplying to 2.7 as done here) | ||||
* | * Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone | Gregory P. Smith | 2013-04-30 | 3 | -33/+58 |
| | | | | | in the merge fun from upstream which already had it in 3.0.13. * Add the missing update to libffi.info. | ||||
* | Merge | Kristján Valur Jónsson | 2013-03-19 | 1 | -0/+5 |
|\ | |||||
| * | Issue #10296 : Don't handle BreakPoint exceptions using | Kristján Valur Jónsson | 2013-03-19 | 1 | -0/+5 |
| | | | | | | | | Structured Exception Handling on windows. | ||||
* | | merge heads in 3.2 | Gregory P. Smith | 2013-03-19 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | #8862: Fix curses cleanup with getchar is interrupted by a signal. | R David Murray | 2013-03-19 | 1 | -1/+3 |
| | | | | | | | | | | | | I have no idea how one would write a test for this. Patch by July Tikhonov. | ||||
* | | Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This | Gregory P. Smith | 2013-03-19 | 239 | -7990/+34958 |
|/ | | | | | specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms. | ||||
* | Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, | Terry Jan Reedy | 2013-03-11 | 10 | -19/+19 |
| | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵ | Antoine Pitrou | 2013-03-04 | 1 | -6/+34 |
| | | | | list is being resized concurrently. | ||||
* | #17275: Fix class name in init errors in C bufferedio classes. | R David Murray | 2013-02-24 | 1 | -2/+2 |
| | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob. | ||||
* | Issue #13153: Tkinter functions now raise TclError instead of ValueError when | Serhiy Storchaka | 2013-02-18 | 1 | -1/+1 |
| | | | | a string argument contains non-BMP character. | ||||
* | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
| | | | | non-greedy repeat. Patch by Matthew Barnett. | ||||
* | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 2 | -6/+17 |
| | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit). | ||||
* | Issue #16743: Fix mmap overflow check on 32 bit Windows | Richard Oudkerk | 2013-02-13 | 1 | -11/+11 |
| | |||||
* | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-12 | 4 | -121/+254 |
| | |||||
* | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 4 | -5/+5 |
| | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag). | ||||
* | Issue #16686: Fixed a lot of bugs in audioop module. | Serhiy Storchaka | 2013-02-09 | 1 | -156/+154 |
| | | | | | | | | | | | | * avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX. * ratecv() no more crashes on empty input fragment. * Fixed an integer overflow in ratecv(). * Fixed an integer overflow in add() and bias() for 32-bit samples. * reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples. * max() and rms() no more returns negative result for 32-bit sample -0x80000000. * minmax() now returns correct max value for 32-bit sample -0x80000000. * avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000. * add() now can return 32-bit sample -0x80000000. | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 5 | -49/+127 |
| | |||||
* | Issue #17089: Expat parser now correctly works with string input not only when | Serhiy Storchaka | 2013-02-04 | 1 | -4/+39 |
| | | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB. | ||||
* | #17091: update docstring for _thread.Lock.acquire. | R David Murray | 2013-02-04 | 1 | -2/+2 |
| | | | | | | The main docs were fixed to remove mention of None long ago, but the docstring was not. Reported by Armin Rigo, patch by Ian Cordasco. | ||||
* | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple | Serhiy Storchaka | 2013-02-04 | 3 | -14/+49 |
| | | | | parses nested mutating sequence. | ||||
* | Update the embedded copy of the expat XML parser to 2.1.0. It brings | Gregory P. Smith | 2012-07-14 | 12 | -258/+374 |
| | | | | | | | | | with it a vareity of bug fixes, both security and behavior. See http://www.libexpat.org/ for the list. NOTE: I already backported the expat hash randomization fix in March. Fixes issue #14340. | ||||
* | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -18/+44 |
| | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). | ||||
* | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -1/+1 |
| | | | | readline use. | ||||
* | In the _hashlib module, only initialize the static data for OpenSSL's | Gregory P. Smith | 2013-02-02 | 1 | -6/+9 |
| | | | | | constructors once, to avoid memory leaks when finalizing and re-initializing the Python interpreter. | ||||
* | Additional fix for Issue #12268: The io module file object writelines() ↵ | Gregory P. Smith | 2013-02-01 | 2 | -3/+9 |
| | | | | methods no longer abort early when one of its write system calls is interrupted (EINTR). | ||||
* | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -1/+1 |
| | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
* | Issue #1602133: 'environ' is not really available with shared libraries on OSX | Ronald Oussoren | 2013-01-25 | 1 | -3/+4 |
| | | | | | | | There already was a workaround for this for framework builds on OSX, this changeset enables the same workaround for shared libraries. Closes #1602133 | ||||
* | Clean trailing whitespace in itertoolsmodule.c. | Serhiy Storchaka | 2013-01-25 | 1 | -4/+4 |
| | |||||
* | Issue #13454: Fix a crash when deleting an iterator created by itertools.tee() | Serhiy Storchaka | 2013-01-25 | 1 | -1/+20 |
| | | | | if all other iterators were very advanced before. | ||||
* | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 |
| | | | | Patch by Jeffrey Armstrong. | ||||
* | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 5 | -12/+17 |
| | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | Issue #10527: Use poll() instead of select() for multiprocessing pipes | Richard Oudkerk | 2013-01-15 | 1 | -0/+33 |
| | |||||
* | Issue #16922: fixed findtext() to return empty Unicode string instead of ↵ | Eli Bendersky | 2013-01-13 | 1 | -1/+1 |
| | | | | | | empty bytes object when there's no text. Patch by Serhiy Storchaka. | ||||
* | Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB | Victor Stinner | 2013-01-03 | 1 | -2/+11 |
| | |||||
* | Issue #16828: Fix error incorrectly raised by bz2.compress(''). | Nadeem Vawda | 2013-01-02 | 1 | -1/+1 |
| | | | | Patch by Martin Packman. | ||||
* | Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding | Victor Stinner | 2013-01-01 | 1 | -3/+7 |
| | | | | with the surrogateescape error handler, instead of UTF-8 in strict mode. | ||||
* | Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy. | Richard Oudkerk | 2013-01-01 | 1 | -0/+7 |
| | |||||
* | rename MathcObject to match object in doctrings for re module (#16760) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | |||||
* | Issue #16443: Add docstrings to regular expression match objects. | Andrew Svetlov | 2012-12-23 | 1 | -15/+55 |
| | | | | Patch by Anton Kasyanov. | ||||
* | Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held. | Kristjan Valur Jonsson | 2012-12-21 | 1 | -1/+1 |
|\ | |||||
| * | Don't DECREF the ctypes error_object without the GIL held. | Kristjan Valur Jonsson | 2012-12-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 3 | -5/+5 |
| | | | | | | | | Patch by Serhiy Storchaka. |