<p>dexter <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22349">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2_vc_fsm: fix nullpointer dereference when sending uintdata<br><br>the function gprs_ns2_vc_rx() is called from gprs_ns2.c with tp=NULL.<br>This leads into a null pointer dereference because gprs_ns2_vc_rx() is<br>accessing tp several times. tp is also handed up into the FSM, with the<br>exception of unitdata. Apparently for unitdata tp does not exist, so we<br>can move up the part where unitdata is handed up into the FSM and after<br>that we can check if tp is NULL to make sure the code which is accessing<br>it is not executed.<br><br>Change-Id: I7d7c95604ba4af4ed4b6019f1d432970225f8d7a<br>---<br>M src/gb/gprs_ns2_vc_fsm.c<br>1 file changed, 10 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/49/22349/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22349">change 22349</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/libosmocore/+/22349"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7d7c95604ba4af4ed4b6019f1d432970225f8d7a </div>
<div style="display:none"> Gerrit-Change-Number: 22349 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Assignee: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>