Skip to content

Commit

Permalink
Fix for 1480055.
Browse files Browse the repository at this point in the history
  • Loading branch information
faluco authored and andrepuschmann committed May 7, 2020
1 parent eb69321 commit 0ba9164
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/phy/ue/ue_dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,11 @@ int srslte_ue_dl_find_dl_dci(srslte_ue_dl_t* q,
nof_msg = find_dl_dci_type_crnti(q, sf, dl_cfg, rnti, dci_msg);
}

if (nof_msg < 0) {
ERROR("Invalid number of DCI messages\n");
return SRSLTE_ERROR;
}

// Unpack DCI messages
for (uint32_t i = 0; i < nof_msg; i++) {
if (srslte_dci_msg_unpack_pdsch(&q->cell, sf, &dl_cfg->cfg.dci, &dci_msg[i], &dci_dl[i])) {
Expand Down

0 comments on commit 0ba9164

Please sign in to comment.