There is a div zero bug in wav.c:967, functon startread.
With crafted wav file, it crashes.
Trigger command: ./src/.libs/sox bug1 -n noiseprof /dev/null
$playDownloads/sox-zero.wavplayFAILformats:badinputformatforfile`Downloads/sox-zero.wav': data encoding or sample size was not specified$sox~/Downloads/sox-zero.wav-nnoiseprof/dev/nullsoxFAILformats:badinputformatforfile`/Users/hans/Downloads/sox-zero.wav': data encoding or sample size was not specified
What is the version where you are seeing this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Cannot reproduce with current git:
What is the version where you are seeing this?