[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

Martin v. Löwis report at bugs.python.org
Sat Sep 4 20:48:46 CEST 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

> I guess this test should simply removed.

(not sure which test you are referring to: the test case, or the
test for too long path names:) I think both tests need to stay.

Instead, I think that testMaxPathLen is incorrect: it doesn't
take into account the terminating NUL, which also must fit
into the 108 bytes (IIUC). baikie: why did the test pass for
you?

----------
title: socket: Buffer overrun while reading unterminated AF_UNIX addresses -> socket: Buffer overrun while reading unterminated AF_UNIX	addresses

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8372>
_______________________________________


More information about the Python-bugs-list mailing list