<p>Emmanuel BUU <strong>uploaded patch set #3</strong> to this change.</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: correct ast_frdup() and ast_frisolate() in case of empty text frame<br><br>If a channel creates a AST_TEXT_FRAME with datalen == 0, the ast_frdup()<br>and the ast_frisolate() would create a clone with and an invalid data.ptr.<br>It would causes a crash. The proposed fix is to make sure that for such empty<br>text frames,  ast_frdup() and ast_frisolate() return cloned text frames with<br>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/3</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: 3 </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>