FT: Account for unexpected (corrupt) data
Recopying the item list in LHCb!3735 (merged):
-
if a bank is sent with no header (would create a segfault) (already done in !961 (merged)); -
if a bank does not have an even size (already done in !961 (merged)); -
if a bank has an absurd number of clusters (> number of links * maximum number of clusters per link); -
if a link is larger than 24 (would create a segfault); -
if a link sent more than 24 clusters.
Bonus:
- [] Create error counters
Edited by Roel Aaij