<p>Kevin Harwell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10664">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_strings: negative array index can cause corruption on some architectures<br><br>When using the HASHKEYS function if there are no matching keys the code writes<br>a NULL value to a negative index on the given buffer.<br><br>This patch protects the write by first checking if the buffer's length is not<br>zero before writing. If so it skips the write.<br><br>ASTERISK-28159<br>patches:<br>  ASTERISK-28159.diff submitted by Michael Walton (license 6502)<br><br>Change-Id: I6e57fe7307dfd856271753aed5ba64c59b511487<br>---<br>M funcs/func_strings.c<br>1 file changed, 10 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/64/10664/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10664">change 10664</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/10664"/><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: I6e57fe7307dfd856271753aed5ba64c59b511487 </div>
<div style="display:none"> Gerrit-Change-Number: 10664 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>