<p>Neels Hofmeyr <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/13575">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add OSMO_IMSI_SIZE<br><br>Various places in our code base figure out how many chars they need to safely<br>store an IMSI. An IMSI can have a checksum digit, which is not reflected by<br>GSM23003_IMSI_MAX_DIGITS. And we usually need a terminating \0.<br><br>Instead of having a magic +2 repeated every so often, rather define<br>OSMO_IMSI_SIZE to contain both checksum digit and nul char, and have the<br>explanatory comment with it here in libosmocore.<br><br>Change-Id: Id11ada4c96b79f7f0ad58185ab7dbf24622fb770<br>---<br>M include/osmocom/gsm/protocol/gsm_23_003.h<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/75/13575/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13575">change 13575</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/13575"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Id11ada4c96b79f7f0ad58185ab7dbf24622fb770 </div>
<div style="display:none"> Gerrit-Change-Number: 13575 </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: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>