<p>Richard Mudgett <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/8747">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjsip_scheduler.c: Fix ao2 usage errors.<br><br>* Removed several invalid uses of OBJ_NOLOCK. These uses resulted in the<br>'tasks' container being accessed without a lock in a multi-threaded<br>environment. A recipe for crashes.<br><br>* Removed needlessly obtaining schtd object references. If the caller<br>providing you a pointer to an object doesn't have a valid reference then<br>you cannot safely get one from it.<br><br>* Getting a ref to 'tasks' when you aren't copying the pointer into<br>another location is useless. The 'tasks' container pointer is global.<br><br>* Removed many unnecessary uses of RAII_VAR.<br><br>* Make ast_sip_schedule_task() name parameter const.<br><br>ASTERISK_26806<br><br>Change-Id: I5c62488e651314e2a1dbc01f5b078a15512d73db<br>---<br>M include/asterisk/res_pjsip.h<br>M res/res_pjsip/pjsip_scheduler.c<br>2 files changed, 56 insertions(+), 48 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/47/8747/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/8747">change 8747</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8747"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I5c62488e651314e2a1dbc01f5b078a15512d73db </div>
<div style="display:none"> Gerrit-Change-Number: 8747 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>