Skip to content

Double free inside base certificate store class #135

@TechnikEmpire

Description

@TechnikEmpire

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions