<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7948">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, but someone else must approve
Matthew Fredrickson: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_osplookup.c: Avoid two format truncations.<br><br>GCC 7 warned about this.<br><br>ASTERISK-27578<br><br>Change-Id: I4a00458dbe9b575ef04338b6a7852272745e1552<br>---<br>M apps/app_osplookup.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c<br>index d749a74..c42e187 100644<br>--- a/apps/app_osplookup.c<br>+++ b/apps/app_osplookup.c<br>@@ -2346,7 +2346,7 @@<br> struct osp_headers headers;<br> unsigned int i;<br> const char* cinfo[OSP_MAX_CUSTOMINFO] = { NULL };<br>- char buffer[OSP_SIZE_TOKSTR];<br>+ char buffer[OSP_SIZE_TOKSTR + strlen(": ") + strlen(OSP_SIP_HEADER)];<br> struct osp_results results;<br> const char* status;<br> char* tmp;<br>@@ -2632,7 +2632,7 @@<br> struct ast_var_t* current;<br> struct osp_results results;<br> OSPE_OPERATOR_NAME type;<br>- char buffer[OSP_SIZE_TOKSTR];<br>+ char buffer[OSP_SIZE_TOKSTR + strlen(": ") + strlen(OSP_SIP_HEADER)];<br> unsigned int callidtypes = OSP_CALLID_UNDEF;<br> const char* status;<br> char* tmp;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7948">change 7948</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/7948"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I4a00458dbe9b575ef04338b6a7852272745e1552 </div>
<div style="display:none"> Gerrit-Change-Number: 7948 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Matthew Fredrickson <creslin@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>