<p>Neels Hofmeyr <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/11016">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix Classmark Update without VLR subscriber<br><br>This recent patch moves Classmark storage to the VLR subscriber, and introduced<br>a segfault when a Classmark Update is received during IMSI detach:<br><br>commit 986fe7ed18580775bed91399a1f02eae60bda251<br>change-id I27081bf6e9e017923b2d02607f7ea06beddad82a<br>Mon Sep 17 01:12:13 2018 +0200<br>"store classmark in vlr_subscr, not conn"<br><br>It assumed that we would never accept any Classmark Update messages unless we<br>also have a valid subscriber for it. Well, that is proven wrong by the<br>ttcn3-msc-test TC_imsi_detach_by_imsi(), which brings osmo-msc to its knees.<br><br>Fix: in case of no valid vlr_subscr being present, store Classmark in the conn<br>temporarily, and copy any received Classmark to VLR subscriber as soon as it<br>gets associated with the conn (if at all).<br><br>Change-Id: Ib2a2ae6bf86e8f29fc6751a8b5cdb7187cd70290<br>---<br>M include/osmocom/msc/gsm_data.h<br>M src/libmsc/gsm_04_08.c<br>M src/libmsc/osmo_msc.c<br>3 files changed, 31 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/16/11016/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/11016">change 11016</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/11016"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ib2a2ae6bf86e8f29fc6751a8b5cdb7187cd70290 </div>
<div style="display:none"> Gerrit-Change-Number: 11016 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>