<p> Attention is currently required from: N A. </p>
<p>N A <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18363">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_iax2: Prevent crash if dialing RSA-only call without outkey.<br><br>Currently, if attempting to place a call to a peer that only allows<br>RSA authentication, if we fail to provide an outkey when placing<br>the call, Asterisk will crash.<br><br>This exposes the broader issue that IAX2 is prone to causing a crash<br>if encryption or decryption is attempted but we never initialized<br>the encryption and decryption keys. In other words, if the logic<br>to use encryption in chan_iax2 is not perfectly aligned with the<br>decision to build keys in the first place, then a crash is not<br>only possible but probable. This was demonstrated by ASTERISK_29264,<br>for instance.<br><br>This permanently prevents such events from causing a crash by explicitly<br>checking that keys are initialized properly before setting the flags<br>to use encryption for the call. Instead of crashing, the call will<br>now abort.<br><br>ASTERISK-30007 #close<br><br>Change-Id: If925c3d86099ceac7f621804f2532baac5050c9a<br>---<br>M channels/chan_iax2.c<br>1 file changed, 23 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/18363/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18363">change 18363</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/18363"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If925c3d86099ceac7f621804f2532baac5050c9a </div>
<div style="display:none"> Gerrit-Change-Number: 18363 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>