[yecht] 02/13: Use the correct taint method - why do we have so many ways of tainting stuff

Miguel Landaeta nomadium at moszumanska.debian.org
Sat Jan 24 21:47:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomadium pushed a commit to branch master
in repository yecht.

commit dc680bedcf9587ff54c36a88c1fa29cc183c347e
Author: Ola Bini <ola.bini at gmail.com>
Date:   Wed Oct 21 10:36:13 2009 +0800

    Use the correct taint method - why do we have so many ways of tainting stuff
---
 ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java b/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
index ebae0ec..4a9fc5c 100644
--- a/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
+++ b/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
@@ -47,7 +47,7 @@ public class RubyLoadHandler implements NodeHandler {
         }
 
         if(bonus.taint) {
-            obj.setTaint(true);
+            obj.taint(runtime.getCurrentContext());
         }
 
         if(bonus.proc != null) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/yecht.git



More information about the pkg-java-commits mailing list