Commit 0e230593 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 261663 (Overrunning array reestablish_rnti_map of 16...

Fix Coverity Scan CID 261663 (Overrunning array reestablish_rnti_map of 16 4-byte elements at element index 16 (byte offset 64) using index i (which evaluates to 16).)
parent 864e5df4
...@@ -6919,13 +6919,12 @@ rrc_eNB_decode_dcch( ...@@ -6919,13 +6919,12 @@ rrc_eNB_decode_dcch(
// clear currentC-RNTI from map // clear currentC-RNTI from map
reestablish_rnti_map[i][0] = 0; reestablish_rnti_map[i][0] = 0;
reestablish_rnti_map[i][1] = 0; reestablish_rnti_map[i][1] = 0;
LOG_D(RRC, "reestablish_rnti_map[%d] [0] %x, [1] %x\n",
i, reestablish_rnti_map[i][0], reestablish_rnti_map[i][1]);
break; break;
} }
} }
LOG_D(RRC, "reestablish_rnti_map[%d] [0] %x, [1] %x\n",
i, reestablish_rnti_map[i][0], reestablish_rnti_map[i][1]);
if (!ue_context_p) { if (!ue_context_p) {
LOG_E(RRC, LOG_E(RRC,
PROTOCOL_RRC_CTXT_UE_FMT" LTE_RRCConnectionReestablishmentComplete without UE context, falt\n", PROTOCOL_RRC_CTXT_UE_FMT" LTE_RRCConnectionReestablishmentComplete without UE context, falt\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment