Skip to content
Snippets Groups Projects
Commit 8b981725 authored by David Goulet's avatar David Goulet
Browse files

Add a rend cache failure info dup function


When validating a new descriptor against our rend cache failure, we were
added the failure entry to the new cache entry without duplicating. It was
then freed just after the validation ending up in a very bad memory state
that was making tor abort(). To fix this, a dup function has been added and
used just before adding the failure entry.

Fixes #17041

Signed-off-by: default avatarDavid Goulet <dgoulet@ev0ke.net>
parent 41891cbf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment