Project

General

Profile

Actions

Bug #4237

closed

SSL_shutdown should be called until it returns 0

Added by tenderlovemaking (Aaron Patterson) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:34150]

Description

=begin
The documentation says SSL_shutdown should be called until it returns 0. I believe this was causing heap corruption that can be demonstrated through the steps listed here:

http://intertwingly.net/blog/2010/12/07/SQLite3-CorruptException-database-disk-image-is-malformed

make sure you use Ruby r30293 or earlier. I believe r30294 only fixed a symptom is it closes the SSL socket twice (once from the call to close and once again during GC).

Please note that Sam sees the problem because postfix is establishing a TLS connection.
=end


Files

noname (500 Bytes) noname tenderlovemaking (Aaron Patterson), 06/23/2011 12:29 AM
noname (500 Bytes) noname tenderlovemaking (Aaron Patterson), 06/24/2011 02:23 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #4241: IMAPTest#test_imaps_verify_none does not stopClosednahi (Hiroshi Nakamura)01/06/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0