You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CF_CFDP_R2_CalcCrcChunk function has what appears to be an intent to limit the amount of bytes processed during each call. There is a comparison of a local count_bytes to the configured rx_crc_calc_bytes_per_wakeup here:
The CF_CFDP_R2_CalcCrcChunk function has what appears to be an intent to limit the amount of bytes processed during each call. There is a comparison of a local
count_bytes
to the configuredrx_crc_calc_bytes_per_wakeup
here:CF/fsw/src/cf_cfdp_r.c
Line 721 in ba10b0b
However, nowhere during this loop is
count_bytes
incremented, so it is always 0, and thus this limit is never reached.Found during rework of unit tests on here, branch coverage showed it not possible to get this condition because count_bytes is always 0.
The text was updated successfully, but these errors were encountered: