summaryrefslogtreecommitdiff
path: root/Modules
AgeCommit message (Collapse)AuthorLines
2014-04-14fix poor spellingBenjamin Peterson-1/+1
2014-04-14disallow a negative idx parameterBenjamin Peterson-4/+5
2014-04-13in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson-1/+4
index Bug reported by Guido Vranken.
2014-01-13complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson-0/+6
2014-01-13complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson-0/+4
2014-01-09Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou-2/+5
asked for.
2014-01-09fix zipimport ref leakBenjamin Peterson-3/+1
2014-01-07cleanup for the issue 19081 fix - pull the file open and close outside of theGregory P. Smith-8/+8
zip_searchorder scanning loop in get_module_code(). [already done in 3.3 and 3.4]
2014-01-07Should fix the issue19081 fix on Windows. Don't let the previousGregory P. Smith-1/+4
posix module ImportError cause the nt module import to fail.
2014-01-06Fixes issue19081: When a zipimport .zip file in sys.path being importedGregory P. Smith-53/+241
from is modified during the lifetime of the Python process after zipimport has already opened and cached the zip's table of contents it now fstat's the file after opening it upon every attempt to access anything within and will re-read the table of contents if the .zip file inode, size or mtime have changed. It would've been nicer to hold any .zip file used by zipimport open for the duration of the process but that would be more invasive and add an additional open file descriptor to all zipimport using processes. It also would likely not fix the problem on Windows due to different filesystem semantics.
2013-12-19Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner-1/+4
(wrong type).
2013-12-19Issue #18829: csv.Dialect() now checks type for delimiter, escapechar andSerhiy Storchaka-14/+20
quotechar fields. Original patch by Vajrasky Kok.
2013-12-18remove trailing spaces.Gregory P. Smith-7/+7
2013-12-17Issue #16404: Add checks for return value of PyInt_FromLong() inSerhiy Storchaka-8/+1
sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
2013-12-14Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka-7/+25
2013-12-13Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka-3/+2
2013-12-13Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner-0/+94
Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
2013-12-08Issue #19099: The struct module now supports Unicode format strings.Serhiy Storchaka-4/+19
2013-12-08Closes #19878: Fix segfault in bz2 module.Nadeem Vawda-7/+10
Initial patch by Vajrasky Kok.
2013-11-30Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle.Alexandre Vassalotti-63/+1
2013-11-30Issue #6477: Added pickling support for singletons and their types.Alexandre Vassalotti-1/+63
2013-11-28Fix indentation from previous commitEli Bendersky-2/+2
2013-11-28Issue #19815: Fix segfault when parsing empty namespace declaration.Eli Bendersky-1/+4
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-26Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka-36/+13
2013-11-07backport #18985: Improve fcntl documentation.R David Murray-11/+13
2013-10-29Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes-65/+0
OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
2013-10-27Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka-2/+1
2013-10-26just return toplevel symbol table rather than all blocks (closes #19393)Benjamin Peterson-1/+1
2013-10-13Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))Mark Dickinson-12/+22
2013-10-12Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily-15/+25
emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
2013-10-02Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.Ned Deily-1/+1
2013-09-29Properly initialize all fields of a SSL object after allocation.Antoine Pitrou-0/+1
2013-09-05Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka-14/+22
the _sre moduel.
2013-09-05Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes-1/+1
GEN_EMAIL/GEN_URI/GEN_DNS case
2013-09-05Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes-1/+1
GEN_EMAIL/GEN_URI/GEN_DNS case
2013-09-05Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't castVictor Stinner-1/+1
64-bit pointer to long (32 bits).
2013-09-04Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵Antoine Pitrou-10/+13
under which the file was opened. Patch by Erik Bray.
2013-09-03Close #18912: Fix indentation in docstringEli Bendersky-4/+4
Contributed by Jeroen Van Goey
2013-08-26#18803: fix more typos. Patch by Févry Thibault.Ezio Melotti-1/+1
2013-08-25Issue #11973: Fix a problem in kevent. The flags and fflags fields are nowChristian Heimes-1/+1
properly handled as unsigned.
2013-08-25Issue #18747: Fix spelling errors in my commit message and comments,Christian Heimes-2/+2
thanks to Vajrasky Kok for proof-reading.
2013-08-23- Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytesBarry Warsaw-3/+61
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).
2013-08-22Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka-12/+53
argument. This is needed for support Tcl/Tk 8.6.
2013-08-22Issue #18747: Use a parent atfork handler instead of a child atfork handler.Christian Heimes-12/+9
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
2013-08-21Issue #17119: Fixed integer overflows when processing large Unicode stringsSerhiy Storchaka-10/+33
and tuples in the tkinter module.
2013-08-21Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes-0/+72
A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
2013-08-20Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka-0/+13
RuntimeError exception. Patch by Christian Schubert.
2013-08-20Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"Serhiy Storchaka-1/+1
error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
2013-08-19Issue #18777: The ssl module now uses the new CRYPTO_THREADID API ofChristian Heimes-1/+17
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
2013-08-17Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.Christian Heimes-1/+1