[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

Charles-François Natali report at bugs.python.org
Sat Jun 11 00:17:02 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

> In oss_check_closed.diff, you might want to add tests for the other
> methods as well.

I've added checks for other methods (not all of them, there are quite a few). I've also added a check for the mixer object.

> You may add parenthesis around the second s

Done.

> I still don't understand these checks

Me neither.
Since I don't know anything about Windows, I tried to keep the existing checks, but this doens't make much sense to me. Maybe Amaury can shed a light on this?

----------
Added file: http://bugs.python.org/file22326/is_selectable.diff

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


More information about the Python-bugs-list mailing list