Menu

#13 random segmentation fault using RSA

open
nobody
None
7
2015-04-16
2011-01-01
max
No

When using RSA encryption, the client occasionally close with a segmentation fault error. No problems when encryption is disabled.

Im using:
- WinXP with Cygwin 5.1
- Crypt::OpenSSL::RSA ver. 0.26
- Mcrypt ver. 2.5.7.0

I suppose the problem is with $rsa variable: segmentation fault is caused by $rsa->size() in ssl_decrypt function.
the fault happens after the first thread quits: after that, $rsa is pointing to null object...

I don't know Perl at all, but I found an empirical solution. Now client works like a charm

Discussion

  • max

    max - 2011-01-01
     
  • max

    max - 2011-01-01
    • priority: 5 --> 7
     
  • Diego Queiroz

    Diego Queiroz - 2015-04-16

    I also have this problem. The provided solution worked as well.

    I think it is a duplicate of http://sourceforge.net/p/http-tunnel/bugs/11/.

     

    Last edit: Diego Queiroz 2015-04-16

Log in to post a comment.

MongoDB Logo MongoDB