[Python-checkins] r80610 - in python/trunk: Misc/ACKS Misc/NEWS Modules/socketmodule.c
antoine.pitrou
python-checkins at python.org
Thu Apr 29 12:05:40 CEST 2010
Author: antoine.pitrou
Date: Thu Apr 29 12:05:40 2010
New Revision: 80610
Log:
Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
of the Linux kernel. Patch by Yaniv Aknin.
Modified:
python/trunk/Misc/ACKS
python/trunk/Misc/NEWS
python/trunk/Modules/socketmodule.c
Modified: python/trunk/Misc/ACKS
==============================================================================
--- python/trunk/Misc/ACKS (original)
+++ python/trunk/Misc/ACKS Thu Apr 29 12:05:40 2010
@@ -14,6 +14,7 @@
Jim Ahlstrom
Farhan Ahmad
Nir Aides
+Yaniv Aknin
Jyrki Alakuijala
Billy G. Allie
Kevin Altis
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu Apr 29 12:05:40 2010
@@ -31,6 +31,9 @@
Library
-------
+- Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
+ of the Linux kernel. Patch by Yaniv Aknin.
+
- Issue #6312: Fixed http HEAD request when the transfer encoding is chunked.
It should correctly return an empty response now.
Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c (original)
+++ python/trunk/Modules/socketmodule.c Thu Apr 29 12:05:40 2010
@@ -1326,6 +1326,7 @@
char *straddr;
addr = (struct sockaddr_l2 *)addr_ret;
+ memset(addr, 0, sizeof(struct sockaddr_l2));
_BT_L2_MEMB(addr, family) = AF_BLUETOOTH;
if (!PyArg_ParseTuple(args, "si", &straddr,
&_BT_L2_MEMB(addr, psm))) {
More information about the Python-checkins
mailing list