diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-28 17:31:09 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-28 17:31:09 +0000 |
commit | 6b7e06ac5ed2ec59830b2b250b069dd817fa27fa (patch) | |
tree | e05575bdfb9883fde7a0d906a289ee7465852c4c /channels | |
parent | 923c881643eaa6f31c578ae187ecf0c381661873 (diff) |
Make sure the pvt exists before accessing it again as it may have gone away (issue #7562 reported by Seb7 and issue #7939 reported by sorg)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43915 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index fa32a05a4..9aceac5a7 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7579,7 +7579,7 @@ retryowner2: if (duped_fr) { schedule_delivery(duped_fr, updatehistory, 0, &fr->ts); } - if (iaxs[fr->callno]->last < fr->ts) { + if (iaxs[fr->callno] && iaxs[fr->callno]->last < fr->ts) { iaxs[fr->callno]->last = fr->ts; #if 1 if (option_debug && iaxdebug) |