nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Prebuilding bundle header is not thread safe #26

Open jpswinski opened 4 years ago

jpswinski commented 4 years ago

In the bplib_store function there is a check to see if the header needs to be prebuilt. This is not thread safe against itself nor against the bplib_process function when forwarding bundles.