Check for unsigned underflow
commit3a66f6a6851818f86e7ef598744d71ee7de1e29a
authorChris Robinson <chris.kcat@gmail.com>
Tue, 19 Nov 2024 10:32:52 +0000 (19 02:32 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Tue, 19 Nov 2024 10:32:52 +0000 (19 02:32 -0800)
tree47e312b8d999f56da48a3d74af211043c27da616
parent290fb4e49751fdba36c35bbc71418aaab7a799b9
Check for unsigned underflow

SourcesMax can become smaller than mNumSources if the device is reset and
reconfigured for fewer sources when more or already allocated.
al/auxeffectslot.cpp
al/source.cpp