-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of bound array access in src_linear.c #208
Labels
Comments
lkoenig
added a commit
to lkoenig/libsamplerate
that referenced
this issue
Mar 6, 2024
This is to repro a bug reported in libsndfile#208
lkoenig
added a commit
to lkoenig/libsamplerate
that referenced
this issue
Mar 6, 2024
This is to repro a bug reported in libsndfile#208
lkoenig
added a commit
to lkoenig/libsamplerate
that referenced
this issue
Mar 7, 2024
Fix libsndfile#208 about out of bount access in linear resampler. Also migrates to count the sumber of frames instead of the number of samples and remove some redundant member of the private state. Signed-off-by: Lionel Koenig Gélas <lionel.koenig@gmail.com>
lkoenig
added a commit
to lkoenig/libsamplerate
that referenced
this issue
Mar 7, 2024
Fix libsndfile#208 about out of bount access in linear resampler. Also migrates to count the sumber of frames instead of the number of samples and remove some redundant member of the private state. Signed-off-by: Lionel Koenig Gélas <lionel.koenig@gmail.com>
Hi @lkoenig |
Hi @evpobr :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 whenpriv->in_used
is 0 because.I'll add a PR with a test case catching this corner case.
The text was updated successfully, but these errors were encountered: