]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Three uses of makesockaddr() used sockaddr buffers that had not be cleared;
authorFred Drake <fdrake@acm.org>
Wed, 9 May 2001 19:13:40 +0000 (19:13 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 9 May 2001 19:13:40 +0000 (19:13 +0000)
commit62648d14068f4650068659c12bc9a6d1660a7d00
treec905bb0d79d9280f2e099ae373165a4a89ec0ef8
parent2db09cc6e4263462e095c25d55860017737af771
Three uses of makesockaddr() used sockaddr buffers that had not be cleared;
this could cause invalid paths to be returned for AF_UNIX sockets on some
platforms (including FreeBSD 4.2-RELEASE), appearantly because there is
no assurance that the address will be nul-terminated when filled in by the
kernel.

This closes SF bug #416573.
Modules/socketmodule.c