Skip to content

Commit 1e6e565

Browse files
committed
merge revision(s) 20072:
* dir.c (dir_globs): need taint check. reported by steve <oksteev at gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 299a699 commit 1e6e565

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Wed Feb 4 14:25:44 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* dir.c (dir_globs): need taint check. reported by steve
4+
<oksteev at gmail.com>
5+
16
Tue Feb 3 14:33:08 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
27

38
* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)

dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1659,7 +1659,7 @@ dir_globs(argc, argv, flags)
16591659
for (i = 0; i < argc; ++i) {
16601660
int status;
16611661
VALUE str = argv[i];
1662-
StringValue(str);
1662+
SafeStringValue(str);
16631663
status = push_glob(ary, RSTRING(str)->ptr, flags);
16641664
if (status) GLOB_JUMP_TAG(status);
16651665
}

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.6"
2-
#define RUBY_RELEASE_DATE "2009-02-03"
2+
#define RUBY_RELEASE_DATE "2009-02-04"
33
#define RUBY_VERSION_CODE 186
4-
#define RUBY_RELEASE_CODE 20090203
5-
#define RUBY_PATCHLEVEL 318
4+
#define RUBY_RELEASE_CODE 20090204
5+
#define RUBY_PATCHLEVEL 319
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 6
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 2
12-
#define RUBY_RELEASE_DAY 3
12+
#define RUBY_RELEASE_DAY 4
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)