<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/18490">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix osmo_mi_name_c() to always return talloced strings, via osmo_mi_name_buf()<br><br>Fix osmo_mi_name_buf() to snprintf() into the buf in *all* cases.<br><br>osmo_mi_name_c() is implemented via osmo_mi_name_buf(), which returns<br>compile-time string constants in special cases. That means that<br>osmo_mi_name_c() does return non-allocated strings in these special cases.<br>The caller of functions like osmo_mi_name_c() must always be able to rely on<br>getting a talloced string, or run a danger of deallocating const pointers.<br><br>Change-Id: I623959f01b72642bcdd18508097c5c405c59f6f1<br>---<br>M src/gsm/gsm48.c<br>1 file changed, 5 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/90/18490/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/18490">change 18490</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/+/18490"/><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: I623959f01b72642bcdd18508097c5c405c59f6f1 </div>
<div style="display:none"> Gerrit-Change-Number: 18490 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>