Georg Brandl [Tue, 30 Sep 2014 17:34:19 +0000 (19:34 +0200)]
Issue #19855: uuid.getnode() on Unix now looks on the PATH for the
executables used to find the mac address, with /sbin and /usr/sbin as
fallbacks.
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
Georg Brandl [Tue, 30 Sep 2014 12:56:46 +0000 (14:56 +0200)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes and send a 414 error code for higher lengths. Patch contributed
by Devin Cook.
Georg Brandl [Tue, 30 Sep 2014 12:45:39 +0000 (14:45 +0200)]
Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
Georg Brandl [Tue, 30 Sep 2014 12:12:24 +0000 (14:12 +0200)]
Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
Georg Brandl [Tue, 30 Sep 2014 12:04:51 +0000 (14:04 +0200)]
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).
Jason R. Coombs [Sun, 20 Jul 2014 14:52:46 +0000 (10:52 -0400)]
Issue #13540: Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524.
R David Murray [Wed, 18 Sep 2013 00:30:02 +0000 (20:30 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
Gregory P. Smith [Tue, 30 Apr 2013 07:05:25 +0000 (00:05 -0700)]
This local change was lost during the fixing of issue17192 to update
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)
Gregory P. Smith [Tue, 30 Apr 2013 06:45:38 +0000 (23:45 -0700)]
* Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone
in the merge fun from upstream which already had it in 3.0.13.
* Add the missing update to libffi.info.
Gregory P. Smith [Sat, 23 Mar 2013 18:44:25 +0000 (11:44 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
doko@ubuntu.com [Thu, 21 Mar 2013 20:21:49 +0000 (13:21 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
R David Murray [Thu, 21 Mar 2013 00:36:14 +0000 (20:36 -0400)]
#5713: Handle 421 error codes during sendmail by closing the socket.
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.