libsamplerate icon indicating copy to clipboard operation
libsamplerate copied to clipboard

Out of bound array access in src_linear.c

Open lkoenig opened this issue 1 year ago • 2 comments

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.

lkoenig avatar Mar 06 '24 08:03 lkoenig

Hi @lkoenig

evpobr avatar May 11 '24 03:05 evpobr

Hi @evpobr :-)

lkoenig avatar May 13 '24 13:05 lkoenig