nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Missing check against maximum number of exclude regions #9

Closed jpswinski closed 4 years ago

jpswinski commented 5 years ago

When processing a bundle, if the bundle is to be forwarded, the process function builds up an exclude list of excluded blocks. Currently, the maximum number of excluded blocks is 8, but there is no check in the code against that number which leaves the code open to a buffer overflow.