Actions
Backport #484
closedOpenSSL::Config does not freeze correctly
Status:
Closed
Assignee:
Description
=begin
#!/usr/bin/ruby
require 'openssl'
c = OpenSSL::Config.new
c['foo'] = [['key', 'value']]
c.freeze
c['foo'] = [['key', 'wrong']]
p c['foo']['key']
# Prints "wrong"
=end
Updated by premchai21 (Drake Wilson) about 16 years ago
=begin
Amazing. The preview showed me a completely wrong rendition. Let's try that again.
#!/usr/bin/ruby
require 'openssl'
c = OpenSSL::Config.new
c['foo'] = [ ['key', 'value'] ]
c.freeze
c['foo'] = [ ['key', 'wrong'] ]
p c['foo']['key'] # Prints "wrong"
=end
Updated by shyouhei (Shyouhei Urabe) almost 16 years ago
- Assignee set to gotoyuzo (GOTOU Yuuzou)
=begin
=end
Updated by marcandre (Marc-Andre Lafortune) about 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r25069.
=end
Updated by marcandre (Marc-Andre Lafortune) about 15 years ago
- Category set to lib
- Target version set to Ruby 1.8.8
- ruby -v set to -
=begin
Fixed also for Ruby 1.9 in r25017
=end
Updated by shyouhei (Shyouhei Urabe) about 15 years ago
- Status changed from Closed to Assigned
- Assignee changed from gotoyuzo (GOTOU Yuuzou) to wyhaines (Kirk Haines)
=begin
1.8.6 has this issue, meseems.
=end
Updated by wyhaines (Kirk Haines) over 14 years ago
- Status changed from Assigned to Closed
=begin
This issue was solved with changeset r28002.
Drake, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0Like0Like0Like0Like0