Strange problem with 1.0.2f SSL_shutdown in multithreaded server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/02/16 04:25, Jakob Bohm wrote:
> I have not yet found the cause of this issue, however I have
> found that a minimal version of your patch which just adds
> back the SSL_in_init() condition seems to at least make the
> diagnostic test case (using s_client) work again.
> 
> I have not kept the test for s being NULL, as that case would
> have crashed a few lines earlier in SSL_shutdown(), so can't
> reach the if statement anyway.
> 
> I have attached the reduced patch, but I still think the real
> cause must be elsewhere.

I am currently pushing a very similar patch through the internal review
process. The main difference is that -1 is returned in the "else" case.
This is actually primarily to address a different issue, but it seems it
should help you too. It would be good to know the underlying cause though.

Matt





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux