From 567ded60735fde0bb0e7d0eb9c319651d39c5146 Mon Sep 17 00:00:00 2001 From: nagai Date: Fri, 28 Jul 2006 21:14:30 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ext/tk/lib/multi-tk.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 10e7f03566..3e0cf04eb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI + + * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason. + Fri Jul 28 17:18:03 2006 Nobuyoshi Nakada * ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings. diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index 36cb4388ae..78ed1aa6ee 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -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