<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13938">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ran_a_make_handover_request(): allow no encryption<br><br>Fixes: coverity CID 198454<br>Change-Id: Ifb83ab2a8b6148b457224687ffada2dff4c3204f<br>---<br>M src/libmsc/ran_msg_a.c<br>1 file changed, 2 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/38/13938/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libmsc/ran_msg_a.c b/src/libmsc/ran_msg_a.c</span><br><span>index 2e498a2..ba0990d 100644</span><br><span>--- a/src/libmsc/ran_msg_a.c</span><br><span>+++ b/src/libmsc/ran_msg_a.c</span><br><span>@@ -1068,7 +1068,8 @@</span><br><span> </span><br><span>           .speech_version_used = n->speech_version_used,</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-           .chosen_encryption_algorithm_serving = n->geran.chosen_encryption->alg_id,</span><br><span style="color: hsl(120, 100%, 40%);">+              .chosen_encryption_algorithm_serving =</span><br><span style="color: hsl(120, 100%, 40%);">+                        n->geran.chosen_encryption ? n->geran.chosen_encryption->alg_id : 0,</span><br><span> </span><br><span>            .old_bss_to_new_bss_info_raw = n->old_bss_to_new_bss_info_raw,</span><br><span>            .old_bss_to_new_bss_info_raw_len = n->old_bss_to_new_bss_info_raw_len,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13938">change 13938</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/13938"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ifb83ab2a8b6148b457224687ffada2dff4c3204f </div>
<div style="display:none"> Gerrit-Change-Number: 13938 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>