[asterisk-commits] app queue: Frequent segfaults in function can ring entry() (asterisk[11])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 19 09:49:22 CDT 2016


Joshua Colp has submitted this change and it was merged.

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(-)

Approvals:
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved
  George Joseph: Looks good to me, but someone else must approve



diff --git a/apps/app_queue.c b/apps/app_queue.c
index 4a80290..fa432cb 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3641,7 +3641,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/2634
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I007a2f2dd99823e04fb5be3ff01f02b0a2956117
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: ibercom <ibercom123 at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list