New submission from 张德岳 <abcdyzh...@163.com>: I found a bug in wave.py because there is no check for self._channel in _read_fmt_chunk function. When I try to open a wav file which channel is zero, it will crash bacause of divided by zero in initfp function.
---------- components: Library (Lib) files: audio-testcase.wav messages: 306420 nosy: BT123 priority: normal pull_requests: 4381 severity: normal status: open title: bug in Lib/wave.py type: crash versions: Python 3.6 Added file: https://bugs.python.org/file47270/audio-testcase.wav _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32056> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com