[macruby-changes] [4451] MacRuby/trunk/array.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 23 13:20:08 PDT 2010
Revision: 4451
http://trac.macosforge.org/projects/ruby/changeset/4451
Author: martinlagardette at apple.com
Date: 2010-08-23 13:20:07 -0700 (Mon, 23 Aug 2010)
Log Message:
-----------
Fix #flatten not setting untrust state
Modified Paths:
--------------
MacRuby/trunk/array.c
Modified: MacRuby/trunk/array.c
===================================================================
--- MacRuby/trunk/array.c 2010-08-23 00:15:08 UTC (rev 4450)
+++ MacRuby/trunk/array.c 2010-08-23 20:20:07 UTC (rev 4451)
@@ -2998,6 +2998,9 @@
if (OBJ_TAINTED(ary)) {
OBJ_TAINT(result);
}
+ if (OBJ_UNTRUSTED(ary)) {
+ OBJ_UNTRUST(result);
+ }
return result;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100823/4e9f3d0e/attachment.html>
More information about the macruby-changes
mailing list