mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-24 17:28:41 -07:00
Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2236,7 +2236,7 @@ static void update_jbsched(struct chan_iax2_pvt *pvt)
|
||||
static void __get_from_jb(void *p)
|
||||
{
|
||||
int callno = PTR_TO_CALLNO(p);
|
||||
struct chan_iax2_pvt *pvt = iaxs[callno];
|
||||
struct chan_iax2_pvt *pvt = NULL;
|
||||
struct iax_frame *fr;
|
||||
jb_frame frame;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user