Skip to content

Commit 5caedd1

Browse files
committed
merge revision(s) 17578:
* variable.c (rb_f_trace_var): should not be allowed at safe level 4. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent ada8991 commit 5caedd1

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jun 29 18:26:01 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* variable.c (rb_f_trace_var): should not be allowed at safe level 4.
4+
a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
5+
16
Sun Jun 29 18:22:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* array.c (rb_ary_fill): not depend on unspecified behavior at integer

variable.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ rb_f_untrace_var(argc, argv)
647647
struct trace_var *trace;
648648
st_data_t data;
649649

650+
rb_secure(4);
650651
rb_scan_args(argc, argv, "11", &var, &cmd);
651652
id = rb_to_id(var);
652653
if (!st_lookup(rb_global_tbl, id, &data)) {

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-29"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20080629
5-
#define RUBY_PATCHLEVEL 31
5+
#define RUBY_PATCHLEVEL 32
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)