mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2a0b4cc13c
commit
567ded6073
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
|
||||
|
||||
Fri Jul 28 17:18:03 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
|
||||
|
|
|
@ -949,7 +949,7 @@ class MultiTkIp
|
|||
def _create_slave_ip_name
|
||||
name = @@SLAVE_IP_ID.join('')
|
||||
@@SLAVE_IP_ID[1].succ!
|
||||
name
|
||||
name.freeze
|
||||
end
|
||||
private :_create_slave_ip_name
|
||||
|
||||
|
|
Loading…
Reference in a new issue