mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-16 08:30:37 -07:00
This part was not correctly patched for AST-2008-010.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@133360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1318,10 +1318,10 @@ static int find_callno(unsigned short callno, unsigned short dcallno, struct soc
|
||||
|
||||
gettimeofday(&now, NULL);
|
||||
|
||||
start = 1 + (rand() % (TRUNK_CALL_START - 1));
|
||||
start = 2 + (rand() % (TRUNK_CALL_START - 1));
|
||||
for (x = start; 1; x++) {
|
||||
if (x == TRUNK_CALL_START) {
|
||||
x = 0;
|
||||
x = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user