libsamplerate
libsamplerate copied to clipboard
Out of bound array access in src_linear.c
In some particular cases, src_linear.c perform an access on the input array with an index of -1 in https://github.com/libsndfile/libsamplerate/blob/master/src/src_linear.c#L122 when priv->in_used is 0 because.
I'll add a PR with a test case catching this corner case.
Hi @lkoenig
Hi @evpobr :-)