aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-09-11 15:09:07 +0200
committerDavid Goulet <dgoulet@ev0ke.net>2015-09-11 15:09:07 +0200
commit8b981725798880a8bc8b1bee638e4285ffb7fe5a (patch)
treee28a0637d144fab98e4ad661e644c5b087b0670b /src/common/tortls.c
parent41891cbf93c32282ed6136d29375b5863efcf727 (diff)
downloadtor-8b981725798880a8bc8b1bee638e4285ffb7fe5a.tar.gz
tor-8b981725798880a8bc8b1bee638e4285ffb7fe5a.zip
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: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/common/tortls.c')
0 files changed, 0 insertions, 0 deletions