Out of bound array access in src_linear.c
lkoenig opened this issue · 2 comments
lkoenig commented
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.