<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13849">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_internal: LOGPENDP: ensure *endp is not NULL<br><br>In certain cases the endp can be NULL. LOGPENDP will dereference the<br>pointer to retreive the endpoint number.<br><br>Fixes: 8a893442a1e9 ("mgcp_internal: LOGPENDP: ensure *endp is not NULL")<br>Change-Id: Ie9b5ecf08f69533ccb2fbd7fbbb529105e0c922f<br>---<br>M include/osmocom/mgcp/mgcp_internal.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/49/13849/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/mgcp/mgcp_internal.h b/include/osmocom/mgcp/mgcp_internal.h</span><br><span>index 24e28b4..82ff6c8 100644</span><br><span>--- a/include/osmocom/mgcp/mgcp_internal.h</span><br><span>+++ b/include/osmocom/mgcp/mgcp_internal.h</span><br><span>@@ -338,7 +338,7 @@</span><br><span> </span><br><span> #define LOGPENDP(endp, cat, level, fmt, args...) \</span><br><span> LOGP(cat, level, "endpoint:0x%x " fmt, \</span><br><span style="color: hsl(0, 100%, 40%);">-     ENDPOINT_NUMBER(endp), \</span><br><span style="color: hsl(120, 100%, 40%);">+     endp ? ENDPOINT_NUMBER(endp) : -1, \</span><br><span>      ## args)</span><br><span> </span><br><span> #define LOGPCONN(conn, cat, level, fmt, args...) \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13849">change 13849</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/13849"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie9b5ecf08f69533ccb2fbd7fbbb529105e0c922f </div>
<div style="display:none"> Gerrit-Change-Number: 13849 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>