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).)
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user