mackron / dr_libs

Audio decoding libraries for C/C++, each in a single source file.
Other
1.28k stars 205 forks source link

dr_wav (0.13.3): Coverity flagged Division or modulo by zero (CWE-369) #216

Closed kcgen closed 2 years ago

kcgen commented 2 years ago

"The program will have undefined behavior, likely a crash. In drwav_read_raw: Division or modulo by zero results in undefined behavior. (CWE-369)"

2021-11-28_06-44_1

mackron commented 2 years ago

Fixed in dev branch. If needed, continue discussion in https://github.com/mackron/dr_libs/issues/215.

kcgen commented 2 years ago

Confirmed fixed!