init mac_key in reestab request packing

fixes issue seen by coverity that is not really an issue
because the integrity generation will init it anyway
This commit is contained in:
Andre Puschmann 2019-05-02 11:57:06 +02:00
parent 6b2e98ec71
commit 389753e5a0
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ void rrc::send_con_restablish_request(asn1::rrc::reest_cause_e cause)
cellid, pci, crnti, N_bytes, N_bits);
// Compute MAC-I
uint8_t mac_key[4];
uint8_t mac_key[4] = {};
switch(integ_algo) {
case INTEGRITY_ALGORITHM_ID_128_EIA1:
security_128_eia1(&k_rrc_int[16],