dbry / WavPack

WavPack encode/decode library, command-line programs, and several plugins
BSD 3-Clause "New" or "Revised" License
371 stars 67 forks source link

Divide by zero in ParseDsdiffHeaderConfig() #65

Closed rohanpadhye closed 5 years ago

rohanpadhye commented 5 years ago

divzero.wav.zip - Contains fuzzed input

Running cli/wavpack divzero.wav with divzero.wav extracted from the attachment triggers a SIGFPE due to divide by zero in ParseDsdiffHeaderConfig (dsdiff.c:282).

rohanpadhye commented 5 years ago

This is fixed now, thanks!