HttpFilteringEngine icon indicating copy to clipboard operation
HttpFilteringEngine copied to clipboard

Double free inside base certificate store class

Open TechnikEmpire opened this issue 7 years ago • 0 comments

Because we pack the same pointers in internal storage with more than one reference (using SAN's etc for each cert), all of the contexts we store could potentially get double-free'd, and this will cause access violation as sure as you were born.

Switch internal storage to shared_ptr and don't manually delete. This will cause automatic, correct cleanup.

TechnikEmpire avatar Oct 17 '17 11:10 TechnikEmpire