ruby-changes:8988
From: matz <ko1@a...>
Date: Fri, 5 Dec 2008 01:20:18 +0900 (JST)
Subject: [ruby-changes:8988] Ruby:r20524 (trunk): * pack.c (pack_pack): propagate taint status from format string to
matz 2008-12-05 01:20:02 +0900 (Fri, 05 Dec 2008) New Revision: 20524 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20524 Log: * pack.c (pack_pack): propagate taint status from format string to result string. Modified files: trunk/ChangeLog trunk/pack.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20523) +++ ChangeLog (revision 20524) @@ -1,3 +1,8 @@ +Fri Dec 5 01:19:21 2008 Yukihiro Matsumoto <matz@r...> + + * pack.c (pack_pack): propagate taint status from format string to + result string. + Fri Dec 5 00:34:10 2008 NAKAMURA Usaku <usa@r...> * process.c (run_exec_dup2): need to sort by reverted order when Index: pack.c =================================================================== --- pack.c (revision 20523) +++ pack.c (revision 20524) @@ -1017,6 +1017,7 @@ if (associates) { rb_str_associate(res, associates); } + OBJ_INFECT(res, fmt); return res; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/