<p><a href="https://gerrit.osmocom.org/10481">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/10481/1/src/signal.c">File src/signal.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/10481/1/src/signal.c@39">Patch Set #1, Line 39:</a> <code style="font-family:monospace,monospace">void *tall_sigh_ctx;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Oh, wow, it is not even being initialized to NULL. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It's implicitly initialized to NULL. All global variables are  since they are allocated in a zeroed page.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think it's exposed on purpose, because osmo-bsc and osmocom-bb were using it directly... a patch for osmocom-bb is still needed to move to the new API.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/10481/1/src/signal.c@55">Patch Set #1, Line 55:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tall_sigh_ctx = talloc_size(root_ctx, 0);<br>       talloc_set_name_const(tall_sigh_ctx, "osmo_signal");<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Feel free to use talloc_init() here.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">ACK</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10481">change 10481</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/10481"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09 </div>
<div style="display:none"> Gerrit-Change-Number: 10481 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 16 Aug 2018 18:59:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>