<p><a href="https://gerrit.osmocom.org/12901">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12901/2/src/libmsc/gsm_04_11.c">File src/libmsc/gsm_04_11.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12901/2/src/libmsc/gsm_04_11.c@1044">Patch Set #2, Line 1044:</a> <code style="font-family:monospace,monospace">       /* According to 8.2.3, MR is in the range 0 through 255 */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">That kinda looks suspicious as well: it's not clear from the comment whether 255 is included in the  […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The "... in the range 0 through 255" comes from the specs. as is.</p><p style="white-space: pre-wrap; word-wrap: break-word;">As far as I understand, 0xff is also a valid value, but I don't think a subscriber can reach such value. Even in case of the multi-part SMS, when each part has a unique Message Reference. The current code does limit the amount of parts to 255.</p><p style="white-space: pre-wrap; word-wrap: break-word;">How often do you send SMS messages consisting of 256 parts? ;)<br>In case of OTA messages, I don't think a regular SIM has such amount of RAM available.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12901">change 12901</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/12901"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I2d3a6334f49989bedbb1430d26ffad8b61dfd873 </div>
<div style="display:none"> Gerrit-Change-Number: 12901 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 14 Feb 2019 19:09:38 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>