diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pack.c | 1 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Feb 18 22:12:24 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * pack.c (pack_pack): propagate taint status from format string to + result string. + Wed Feb 18 22:05:44 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly. @@ -1001,6 +1001,7 @@ pack_pack(ary, fmt) if (associates) { rb_str_associate(res, associates); } + OBJ_INFECT(res, fmt); return res; } @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-02-18" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20090218 -#define RUBY_PATCHLEVEL 338 +#define RUBY_PATCHLEVEL 339 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |