mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
app_queue: Frequent segfaults in function can_ring_entry()
ASTERISK-25888 #close Change-Id: I007a2f2dd99823e04fb5be3ff01f02b0a2956117
This commit is contained in:
@@ -4164,7 +4164,7 @@ static int can_ring_entry(struct queue_ent *qe, struct callattempt *call)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (call->member->in_call && call->lastqueue->wrapuptime) {
|
||||
if (call->member->in_call && call->lastqueue && call->lastqueue->wrapuptime) {
|
||||
ast_debug(1, "%s is in call, so not available (wrapuptime %d)\n",
|
||||
call->interface, call->lastqueue->wrapuptime);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user