Skip to content

Commit 8c6b78c

Browse files
committed
merge revision(s) 20525:
* pack.c (pack_pack): propagate taint status from format string to result string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent c80ddbd commit 8c6b78c

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+
Wed Feb 18 22:12:24 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* pack.c (pack_pack): propagate taint status from format string to
4+
result string.
5+
16
Wed Feb 18 22:05:44 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
27

38
* ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.

pack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ pack_pack(ary, fmt)
10011001
if (associates) {
10021002
rb_str_associate(res, associates);
10031003
}
1004+
OBJ_INFECT(res, fmt);
10041005
return res;
10051006
}
10061007

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 "2009-02-18"
33
#define RUBY_VERSION_CODE 186
44
#define RUBY_RELEASE_CODE 20090218
5-
#define RUBY_PATCHLEVEL 338
5+
#define RUBY_PATCHLEVEL 339
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)