<p>Richard Mudgett <strong>uploaded patch set #4</strong> to the change originally created by Emmanuel BUU.</p><p><a href="https://gerrit.asterisk.org/10269">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">core/frame: Fix ast_frdup() and ast_frisolate() for empty text frames<br><br>If a channel creates an AST_TEXT_FRAME with datalen == 0, the ast_frdup()<br>and ast_frisolate() functions could create a clone frame with an invalid<br>data.ptr which would cause a crash.  The proposed fix is to make sure that<br>for such empty text frames, ast_frdup() and ast_frisolate() return cloned<br>text frames with a valid data.ptr.<br><br>ASTERISK-28076<br>Reported by: Emmanuel BUU<br>Tested by: Emmanuel BUU<br><br>Change-Id: Ib882dd028598f13c4c233edbfdd7e54ad44a68e9<br>---<br>M main/frame.c<br>1 file changed, 3 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/69/10269/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10269">change 10269</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/10269"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ib882dd028598f13c4c233edbfdd7e54ad44a68e9 </div>
<div style="display:none"> Gerrit-Change-Number: 10269 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Emmanuel BUU <emmanuel.buu@ives.fr> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>