Description
Hi again !
We have some crashes on iOS reported by Crashlytics. The stack trace points to SoLoud::WavInstance::getAudio, line 55, but at first glance I don’t see anything that could cause it. I asked Claude, and it suggested this could be an out-of-bounds issue with mParent->mData when mOffset exceeds mSampleCount, causing the unsigned subtraction to underflow. But I’m not entirely convinced, what do you think?
Steps To Reproduce
We don't have a reproduction scenario unfortunately :(
Expected Behavior
No crash :P
Screenshots
Additional Context
We only see it on iOS for now.
Description
Hi again !
We have some crashes on iOS reported by Crashlytics. The stack trace points to
SoLoud::WavInstance::getAudio, line 55, but at first glance I don’t see anything that could cause it. I asked Claude, and it suggested this could be an out-of-bounds issue withmParent->mDatawhen mOffset exceedsmSampleCount, causing the unsigned subtraction to underflow. But I’m not entirely convinced, what do you think?Steps To Reproduce
We don't have a reproduction scenario unfortunately :(
Expected Behavior
No crash :P
Screenshots
Additional Context
We only see it on iOS for now.