Skip to content

Conversation

@nataraj-hates-MS-for-stealing-github

If you build perl (and consequently Net::SSLleay) using Address Sanitizer, t/local/44_sess.t test will fail.

This PR is made from two patches:

First patch: Adds CTX_frees where they should be. But this affects testing results, as freeing a context trigger remove callback, as far as I guess. I've corrected expected results too.

Second patch: Removes condition for SSL_SESSION_free() . We should always free session, without care if session remove was successful or not. See commit message for more explanations.

You can find instruction on how to build perl in this modulet using ASan in #469

PS please refer me as NATARAJ (Nikolay Shaplov) if you ever would like to mention me anywhere..

…adjust expected values of some tests, and far as when you call CTX_free, is automatically call remove_cb callback, and it changes expected call back call count values
…by increasing reference count. We should cancel that reservation by calling SSL_SESSION_free() anyway, not caring if session have been detached or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant