-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
SoundEffects.cpp
example segfaults due to channel count mismatch
#3079
Comments
ASAN report on Arch Linux x64
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisite Checklist
Describe your issue here
The
SoundEffects.cpp
example segfaults on my machine, with invalid accesses at these lines. It seems like, in the first case, there is a mismatch in the size offilters
(which ismusic.getChannelCount()
) and the indexchannel
(which goes up toframeChannelCount
).In my machine,
music.getChannelCount() == 2
andframeChannelCount == 8
.Example stack trace
Your Environment
master
branchSteps to reproduce
master
,examples/sound_effects
working directoryExpected behavior
No segfault
Actual behavior
Yes segfault
The text was updated successfully, but these errors were encountered: