[issue32056] Improve exceptions in Lib/wave.py

2018-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5717 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue32056] Improve exceptions in Lib/wave.py

2018-03-01 Thread zhangdeyue
zhangdeyue added the comment: ok, I found this bug when I use librosa-0.5.1 to read audio file in the audio-classification project -- an ASR project. (https://github.com/nextco/audio-classification) In the project, librosa.load function read audio file, and it called wave.open function final

[issue32056] Improve exceptions in Lib/wave.py

2018-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have no idea why this was classified as a vulnerability. I don't think it can crash an application. If you have an example of crashing please provide it. I would not classify this issue even as a bug. It is obvious that invalid files can cause an exceptio