Closed kcgen closed 2 years ago
There's no bug here because those values are checked in the section right above it. Regardless, I've added a clamp which should clean this error up.
Confirmed fixed; all clean! Thanks again @mackron 🚀
Thanks for confirming that. This fix has been released.
_"The array index could be controlled by an attacker, leading to reads outside the bounds of the array. In
drwav_read_pcm_frames_s16__ima
: read from array at index computed using an unscrutinized value from an untrusted source (CWE-129)"_