<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17082">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_bssgp_pcu: fixup: fix length check in gprs_bssgp_pcu_rx_dl_ud()<br><br>Change-Id: I7d49b27a615350a7707154aa3cc903db7c1df374<br>Fixes: I7f84bd776cc780a45880f136107f6e0bc56241d1<br>---<br>M src/gprs_bssgp_pcu.cpp<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-pcu refs/changes/82/17082/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp</span><br><span>index 080245a..ccf233a 100644</span><br><span>--- a/src/gprs_bssgp_pcu.cpp</span><br><span>+++ b/src/gprs_bssgp_pcu.cpp</span><br><span>@@ -108,7 +108,7 @@</span><br><span> </span><br><span>       data = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_LLC_PDU);</span><br><span>   len = TLVP_LEN(tp, BSSGP_IE_LLC_PDU);</span><br><span style="color: hsl(0, 100%, 40%);">-   if (len > sizeof(LLC_MAX_LEN))</span><br><span style="color: hsl(120, 100%, 40%);">+     if (len > LLC_MAX_LEN)</span><br><span>    {</span><br><span>            LOGP(DBSSGP, LOGL_NOTICE, "BSSGP TLLI=0x%08x Rx UL-UD IE_LLC_PDU too large\n", tlli);</span><br><span>              return bssgp_tx_status(BSSGP_CAUSE_COND_IE_ERR, NULL, msg);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17082">change 17082</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/c/osmo-pcu/+/17082"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7d49b27a615350a7707154aa3cc903db7c1df374 </div>
<div style="display:none"> Gerrit-Change-Number: 17082 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>