summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--pack.c1
-rw-r--r--version.h2
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3d3dd3..0d9f784 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 18 22:17:04 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * pack.c (pack_pack): propagate taint status from format string to
+ result string.
+
Wed Feb 18 22:07:44 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.
diff --git a/pack.c b/pack.c
index b22a834..8e58364 100644
--- a/pack.c
+++ b/pack.c
@@ -1001,6 +1001,7 @@ pack_pack(ary, fmt)
if (associates) {
rb_str_associate(res, associates);
}
+ OBJ_INFECT(res, fmt);
return res;
}
diff --git a/version.h b/version.h
index d8772ce..9ac5966 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2009-02-18"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20090218
-#define RUBY_PATCHLEVEL 124
+#define RUBY_PATCHLEVEL 125
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8