]> granicus.if.org Git - python/commit
[3.6] bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (GH-4235...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 9 Nov 2017 19:40:29 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Nov 2017 19:40:29 +0000 (21:40 +0200)
commit596286f8f3c8e53ef010d6298464775dc900a515
tree7781deaa28ae6e2bd0cbcff14920279871b82c5c
parent726467616f6810a76d903683c0a734c1897ceae2
[3.6] bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (GH-4235) (#4352)

* Fix compilation of the socket module on NetBSD 8.
* Fix the assertion failure or reading arbitrary data when parse
  a AF_BLUETOOTH address on NetBSD and DragonFly BSD.
* Fix other potential errors and make the code more reliable.
(cherry picked from commit d3187158c09cf899e9849f335bdff10594209167)
Misc/NEWS.d/next/Library/2017-11-02-18-26-40.bpo-31927.40K6kp.rst [new file with mode: 0644]
Modules/socketmodule.c
Modules/socketmodule.h