Skip to content
Snippets Groups Projects
Commit 3d12d16c authored by DONG Anyuan's avatar DONG Anyuan
Browse files

Fix Coverity Scan CID 21906 (Using uninitialized value pcfich_bt[2 * i].)

parent bdd6b0fb
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,8 @@ void generate_pcfich(uint8_t num_pdcch_symbols,
subframe,num_pdcch_symbols,amp,frame_parms->nb_antenna_ports_eNB,frame_parms->Ncp);
#endif
memset(pcfich_bt, 0, sizeof(pcfich_bt));
// scrambling
if ((num_pdcch_symbols>0) && (num_pdcch_symbols<4))
pcfich_scrambling(frame_parms,subframe,pcfich_b[num_pdcch_symbols-1],pcfich_bt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment