<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/7841">View Change</a></p><p>Patch set 1:</p><p>(2 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/7841/1/res/res_pjsip.c">File res/res_pjsip.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7841/1/res/res_pjsip.c@2576">Patch Set #1, Line 2576:</a> <code style="font-family:monospace,monospace">               ast_log(LOG_ERROR, "Unable to add endpoint identifier. Out of memory.\n");</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">To be honest I think this and all similar allocation failure messages shoul</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Well this second allocation failure message can be more descriptive of why we wanted memory.  However, the logger is going to try to allocate more memory for the log message. :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">George seems to like them. :P</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7841/1/res/res_pjsip.c@2580">Patch Set #1, Line 2580:</a> <code style="font-family:monospace,monospace">   id_list_item->name = name;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Should you prevent this value from being NULL as well?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">No this actually is valid to be NULL.  See ast_sip_register_endpoint_identifier().</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/7841">change 7841</a>. To unsubscribe, 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/7841"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ib8819ec4b811da8a27419fd93528c54d34f01484 </div>
<div style="display:none"> Gerrit-Change-Number: 7841 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 06 Jan 2018 00:44:28 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>