[Asterisk-code-review] app queue: Frequent segfaults in function can ring entry() (asterisk[13])
ibercom
asteriskteam at digium.com
Mon Apr 18 05:06:27 CDT 2016
ibercom has uploaded a new change for review.
https://gerrit.asterisk.org/2635
Change subject: app_queue: Frequent segfaults in function can_ring_entry()
......................................................................
app_queue: Frequent segfaults in function can_ring_entry()
ASTERISK-25888 #close
Change-Id: I007a2f2dd99823e04fb5be3ff01f02b0a2956117
---
M apps/app_queue.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/35/2635/1
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 939a0e2..34fdfe7 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4164,7 +4164,7 @@
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;
--
To view, visit https://gerrit.asterisk.org/2635
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I007a2f2dd99823e04fb5be3ff01f02b0a2956117
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: ibercom <ibercom123 at gmail.com>
More information about the asterisk-code-review
mailing list