• Rúben Soares Silva's avatar
    Change compute_PDU_Length input parameter to uint32_t. · d795c729
    Rúben Soares Silva authored
    The total_length parameter in compute_PDU_Length being uint16_t causes
    the passed value to be possibly truncated, which can cause the
    PDU_Length to be incorrectly calculated.
    This change prevents that truncation, since it now matches the size
    of the values passed into the function where it is being called.
    d795c729
nr_mac_common.h 14.3 KB