Skip to content

Commit

Permalink
merge revision(s) 20072:
Browse files Browse the repository at this point in the history
	* 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_7@22028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed Feb 4, 2009
1 parent 6249e5f commit fead30a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Wed Feb 4 14:26:58 2009 Yukihiro Matsumoto <matz@ruby-lang.org>

* dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>

Tue Feb 3 14:35:26 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>

* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
Expand Down
2 changes: 1 addition & 1 deletion dir.c
Expand Up @@ -1660,7 +1660,7 @@ dir_globs(argc, argv, flags)
for (i = 0; i < argc; ++i) {
int status;
VALUE str = argv[i];
StringValue(str);
SafeStringValue(str);
status = push_glob(ary, RSTRING(str)->ptr, flags);
if (status) GLOB_JUMP_TAG(status);
}
Expand Down
8 changes: 4 additions & 4 deletions version.h
@@ -1,15 +1,15 @@
#define RUBY_VERSION "1.8.7"
#define RUBY_RELEASE_DATE "2009-02-03"
#define RUBY_RELEASE_DATE "2009-02-04"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20090203
#define RUBY_PATCHLEVEL 104
#define RUBY_RELEASE_CODE 20090204
#define RUBY_PATCHLEVEL 105

#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 7
#define RUBY_RELEASE_YEAR 2009
#define RUBY_RELEASE_MONTH 2
#define RUBY_RELEASE_DAY 3
#define RUBY_RELEASE_DAY 4

#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
Expand Down

0 comments on commit fead30a

Please sign in to comment.