nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Test CID rollover that causes duplicate entries in active table #54

Open jpswinski opened 4 years ago

jpswinski commented 4 years ago

In the bplib.c bplib_load function, if a bundle requesting custody transfer is placed in the active table when there is already a bundle in the table with the same CID, the code raises the duplicate flag and sets the status to error. But it looks like the bundle is still sent.

What should be the behavior here? This needs to be explicitly tested.