USNavalResearchLaboratory / nrlsmf

NRL Simplified Multicast Forwarding (SMF) implementation (RFC 6621)
https://www.nrl.navy.mil/itd/ncs/products/smf
Other
10 stars 2 forks source link

DPD: fix crash due to NULL itemPool in Prune #3

Closed Jafaral closed 2 years ago

Jafaral commented 2 years ago

During DPD packet ID table pruning, entries may get recycled with new packet ID size where a new poolArray slot hasn't been created yet for that packet entry. In that case, create a new itemPool and save it to the array.

Signed-off-by: Jafar Al-Gharaibeh jafar@atcorp.com