From 3c5352adf61be39964749faa78f122b9478cb4ee Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 25 Apr 2008 17:40:47 +0000 Subject: [PATCH] Add missing access check. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@651662 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/threads/ThreadWithAttributes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/org/apache/tomcat/util/threads/ThreadWithAttributes.java b/java/org/apache/tomcat/util/threads/ThreadWithAttributes.java index 0940b37f0..b3c89f064 100644 --- a/java/org/apache/tomcat/util/threads/ThreadWithAttributes.java +++ b/java/org/apache/tomcat/util/threads/ThreadWithAttributes.java @@ -96,6 +96,7 @@ public class ThreadWithAttributes extends Thread { * you can use notes for array access. */ public final Hashtable getAttributes(Object control) { + if( this.control != control ) return null; return attributes; } } -- 2.11.0