<p>Diederik de Groot <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10854">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAII: Change order or variables in clang version<br><br>This prevents use-after-scope issues when unwinding the stack,<br>which happens in reverse order. The varname variable needs to<br>remain alive for the destruction to be able to access it.<br>Issue was found using clang + address-sanitizer.<br><br>Change-Id: I00811c34ae910836a5fb6d22304528aef92624db<br>---<br>M include/asterisk/utils.h<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/10854/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10854">change 10854</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/10854"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I00811c34ae910836a5fb6d22304528aef92624db </div>
<div style="display:none"> Gerrit-Change-Number: 10854 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Diederik de Groot <dkgroot@talon.nl> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>