Christian Heimes
3c2593b2bb
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
13 years ago
Christian Heimes
474afdda60
Issue #18768 : coding style nitpick. Thanks to Vajrasky Kok
13 years ago
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
13 years ago
Christian Heimes
9ff79f7c46
Issue #18178 : Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.
13 years ago
Christian Heimes
824f7f366d
Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
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).
13 years ago
Larry Hastings
00964ed216
Issue #18667 : Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
13 years ago
Mark Dickinson
fb29a164df
Issue #18661 : typo in grp.struct_group docstring. Thanks Vajrasky Kok.
13 years ago
Raymond Hettinger
d7bd7a5525
Silence compiler warnings for strict function prototype declarations.
13 years ago
Serhiy Storchaka
1f35ae0a3c
Issue #17998 : Fix an internal error in regular expression engine.
13 years ago
Ned Deily
bd143c3760
Issue #18627 : Fix typo noticed by Vajrasky Kok.
13 years ago
Ned Deily
b5dd6d2287
Issue #17557 : Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
13 years ago
Larry Hastings
2e3e593e34
Issue #17899 : Fix rare file descriptor leak in os.listdir().
(Done as separate patch from trunk as the code has diverged quite a bit.)
13 years ago
Christian Heimes
b3c872403d
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 years ago
Christian Heimes
4fec4314cf
Issue #18599 : Fix name attribute of _sha1.sha1() object. It now returns
'SHA1' instead of 'SHA'.
13 years ago
Victor Stinner
36577e4e8c
Issue #15893 : frozenmain.c now handles PyMem_Malloc() failure
13 years ago
Christian Heimes
6ca8a05f10
Issue #18561 : Skip name in ctypes' _build_callargs() if name is NULL.
CID 486199
13 years ago
Christian Heimes
9ee5c37c8f
Issue #18559 : Fix NULL pointer dereference error in _pickle module
13 years ago
Christian Heimes
66eda26a72
Handle yet another potential failure in testcapi
CID 1058280
13 years ago
Christian Heimes
5962bef8aa
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
X509_get_version() grows beyond our small int cache.
CID 1058279
13 years ago
Christian Heimes
ec2309b03d
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
13 years ago
Christian Heimes
3205e74d88
Fix declaration-after-statement of d49f65ff4f3c
13 years ago
Christian Heimes
7e138027ff
Fix memory leaks and add checks for failing malloc() calls to testcapi module
CID 1058288
13 years ago
Christian Heimes
ff369a5595
Fix possible NULL pointer dereferences in testcapi module
CID 1058280
CID 1058282
CID 1058284
13 years ago
Christian Heimes
a956e645c1
Fix possible NULL pointer dereference in PyCurses_Start_Color()
CID 1058276
13 years ago
Brett Cannon
845f7845aa
Issue #18556 : Check the return value for PyUnicode_AsWideChar() in
U_set() from ctypes.
CID #486657
13 years ago
Christian Heimes
9228837e31
Issue #18549 : Eliminate dead code in socket_ntohl().
CID 982369
13 years ago
Ezio Melotti
61b0c672b5
#16937 : document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
13 years ago
Christian Heimes
60a6067709
Issue #15905 : Fix theoretical buffer overflow in handling of sys.argv[0],
prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
13 years ago
Christian Heimes
43d82df406
Now all error paths of _freeze_importlib use 'goto error' and the error label cleans up all used resources.
13 years ago
Christian Heimes
8c4c1f6e66
Issue #18514 : Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()
13 years ago
Christian Heimes
96f628f487
Fix reference and memory leaks in _freeze_importlib
13 years ago
Christian Heimes
a6404ad43c
Check return value of PyEval_GetGlobals() for NULL
CID 486814
13 years ago
Christian Heimes
09994a9c59
Check return value of flush_character_buffer()
CID 486663
13 years ago
Mark Dickinson
58ceecfe5a
Issue #18513 : Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
13 years ago
Christian Heimes
7ed4294d7f
Add missing check of PyDict_Update()'s return value in _elementtree.c
CID 719637
13 years ago
Christian Heimes
97cb67b9ca
Add missing check of PyDict_SetItem()'s return value
CID 486659
13 years ago
Ronald Oussoren
138d080a28
#18480 : Add missing PyType_Ready call to _elementtree extension
13 years ago
Victor Stinner
45e90394e7
Fix posix_chflags(): return_value was uninitialized when follow_symlinks=False
whereas the fchmodat() function is not avaialble.
13 years ago
Richard Oudkerk
9ad51ec81b
Issue #18344 : Fix potential ref-leaks in _bufferedreader_read_all().
13 years ago
Serhiy Storchaka
275d5fdbe4
Issue #18101 : Tcl.split() now process strings nested in a tuple as it
do with byte strings.
Added tests for Tcl.split() and Tcl.splitline().
13 years ago
R David Murray
296b73c83d
#18399 : fix comment typo.
Patch by Andrew Rowe.
13 years ago
Victor Stinner
8d3795474e
Issue #18343 : faulthandler.register() now keeps the previous signal handler
when the function is called twice, so faulthandler.unregister() restores
correctly the original signal handler.
13 years ago
Christian Heimes
8087879349
Singular form just like the other error message.
13 years ago
Christian Heimes
a24b4d260b
Issue #18339 : Negative ints keys in unpickler.memo dict no longer cause a
segfault inside the _pickle C extension.
13 years ago
Victor Stinner
36b82d85a3
Fix time.strftime("%Y") on AIX: raise a ValueError for year > 9999
time.strtime("%Y") returned "2345" when formatting year 12345.
13 years ago
Victor Stinner
6efa965a27
Issue #18135 : ssl.SSLSocket.write() now raises an OverflowError if the input
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises
a ValueError if the password is longer than 2 gigabytes. The ssl module does
not support partial write.
13 years ago
Christian Heimes
91e8b8180d
Check for correct macro, code uses S_ISDIR().
13 years ago
Victor Stinner
9ee0203057
Issue #18135 : Fix a possible integer overflow in ssl.SSLSocket.write()
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
13 years ago
Victor Stinner
4569cd5eab
_ssl.c: strip trailing spaces
13 years ago
Andrew Kuchling
da30acf50b
Closes #18220 : expand itertools.islice docstring to 2 lines
13 years ago