mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
doing <flash> *0 while on fxs causes Asterisk to crash (bug 2963)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,5 +1,7 @@
|
|||||||
|
-- chan_zap
|
||||||
|
-- seg fault fix
|
||||||
-- rtp
|
-- rtp
|
||||||
-- fix for a seg fault
|
-- seg fault fix
|
||||||
-- chan_sip
|
-- chan_sip
|
||||||
-- fix to prevent seg fault when attempting a transfer
|
-- fix to prevent seg fault when attempting a transfer
|
||||||
-- fix bug with supervised transfers
|
-- fix bug with supervised transfers
|
||||||
|
@@ -5039,9 +5039,11 @@ static void *ss_thread(void *data)
|
|||||||
p->subs[SUB_THREEWAY].owner;
|
p->subs[SUB_THREEWAY].owner;
|
||||||
struct zt_pvt *pbridge = NULL;
|
struct zt_pvt *pbridge = NULL;
|
||||||
/* set up the private struct of the bridged one, if any */
|
/* set up the private struct of the bridged one, if any */
|
||||||
if (nbridge && nbridge->bridge) pbridge = nbridge->bridge->pvt->pvt;
|
if (nbridge && nbridge->bridge)
|
||||||
if (nbridge &&
|
pbridge = nbridge->bridge->pvt->pvt;
|
||||||
(!strcmp(nbridge->type,"Zap")) &&
|
if (nbridge && pbridge &&
|
||||||
|
(!strcmp(nbridge->type,"Zap")) &&
|
||||||
|
(!strcmp(nbridge->bridge->type, "Zap")) &&
|
||||||
ISTRUNK(pbridge)) {
|
ISTRUNK(pbridge)) {
|
||||||
int func = ZT_FLASH;
|
int func = ZT_FLASH;
|
||||||
/* Clear out the dial buffer */
|
/* Clear out the dial buffer */
|
||||||
|
Reference in New Issue
Block a user