[New-bugs-announce] [issue32056] bug in Lib/wave.py
张德岳
report at bugs.python.org
Fri Nov 17 04:42:26 EST 2017
New submission from 张德岳 <abcdyzhang at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32056>
_______________________________________
More information about the New-bugs-announce
mailing list