Actions
Bug #2595
closeddb: find the best way to allocate unused random extension and avoid infinite loop
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10/25/2017
Due date:
% Done:
0%
Spec Reference:
Description
in libmsc/db.c
db_subscriber_alloc_exten() runs an infinite loop that will never exit
if an unused extension cannot be allocated between GSM_MAX_EXTEN and GSM_MIN_EXTEN
A routine is required that efficiently finds a free extension.
Some suggestions as to how it might be done and comments were posted here:
https://gerrit.osmocom.org/#/c/3910/
Actions