• Gabriel's avatar
    bug fixes from Fujitsu (bugs 18, 19, 20) · bdaef795
    Gabriel authored and Cedric Roux's avatar Cedric Roux committed
    ----------------------------------------------------------
    bug 18
    
    Ttile:
    Probably he/she wants to copy the contents of arrays, but
    this coding doesn't copy anything, moreover index overflow
    occurs.
    
    Bug Location:
    u2e_t[UE_id][eNB_id]->tx_data[3]=tx[eNB_id][3];
    u2e_t[UE_id][eNB_id]->rx_data[3]=rx[NB_eNB_INST+UE_id][3];
    
    Note:
    Detected by CppCheck
    ----------------------------------------------------------
    bug 19
    
    Title:
    Probably he/she wants to copy the contents of arrays, but
    this coding doesn't copy anything, moreover index overflow
    occurs.
    
    Bug Location:
    e2u_t[eNB_id][UE_id]->tx_data[3]=tx[NB_eNB_INST+UE_id][3];
    e2u_t[eNB_id][UE_id]->rx_data[3]=rx[eNB_id][3];
    
    Note:
    Detected by CppCheck
    ----------------------------------------------------------
    bug 20
    
    Title:
    Probably he/she wants to copy the contents of arrays, but
    this coding doesn't copy anything, moreover index overflow
    occurs.
    
    Bug Location:
    tx_data[3]=cthread->tx_data[3];
    rx_data[3]=cthread->rx_data[3];
    
    Note:
    Detected by CppCheck
    ----------------------------------------------------------
    bdaef795