mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-27 04:05:04 +00:00
CID:1024418 Unintentional integer overflow
This commit is contained in:
parent
4238339176
commit
386000d877
@ -3184,7 +3184,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fail) {
|
if (fail) {
|
||||||
int64_t wait = campon_sleep * 1000000;
|
int64_t wait = (int64_t)campon_sleep * 1000000;
|
||||||
|
|
||||||
while (stake.running && wait > 0 && switch_channel_ready(caller_channel)) {
|
while (stake.running && wait > 0 && switch_channel_ready(caller_channel)) {
|
||||||
switch_yield(100000);
|
switch_yield(100000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user