You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this while reading the code, not through testing. The reference count on the ctx structure is incremented for the assignment of ctx to s->initial_ctx but this is not decremented on the code path through the err: label. The increment/decrement is matched for the assignment of ctx to s->ctx.
Rather than a half-hearted attempt to free up resources and fix
ref counting at the SSL_CTX level, let SSL_free() do its job.
This diff got lost in the shuffle somewhere. It's from last year.
Ref counting error reported by Parakleta in github ticket #51. Thanks!
ok jsing@, beck@
Found this while reading the code, not through testing. The reference count on the
ctx
structure is incremented for the assignment ofctx
tos->initial_ctx
but this is not decremented on the code path through theerr:
label. The increment/decrement is matched for the assignment ofctx
tos->ctx
.ssl_lib.c.
The text was updated successfully, but these errors were encountered: