<p> Attention is currently required from: George Joseph. </p>
<p>Patch set 3:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18067">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File include/asterisk/config.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18067/comment/e1f4117e_7e76a9d9">Patch Set #3, Line 1005:</a> <code style="font-family:monospace,monospace">struct ast_variable *head</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think this can be made "const" since "head" is (and should) not being modified.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18067/comment/7ed32b65_3ed8c11b">Patch Set #3, Line 1006:</a> <code style="font-family:monospace,monospace">struct ast_str *str</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I worry about the potential for a caller trying to use "str" after it's been invalidated. Why not just pass it in as a pointer to a pointer?</p><p style="white-space: pre-wrap; word-wrap: break-word;">In doing so you can still check for, and create if NULL. Also, it makes it so there is no chance of a caller using an invalid pointer after this call (well they'd still have to check for NULL).</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="null">File include/asterisk/xml.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18067/comment/31a8b5d6_71a58311">Patch Set #3, Line 205:</a> <code style="font-family:monospace,monospace"> * \brief Set or reset anm element's name.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">s/anm/an</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18067">change 18067</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/+/18067"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: development/16/geolocation </div>
<div style="display:none"> Gerrit-Change-Id: I330a5f63dc0c218e0d8dfc0745948d2812141ccb </div>
<div style="display:none"> Gerrit-Change-Number: 18067 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 21 Feb 2022 22:46:48 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>