directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1064348 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
Date Thu, 27 Jan 2011 23:00:38 GMT
Author: akarasulu
Date: Thu Jan 27 23:00:38 2011
New Revision: 1064348

URL: http://svn.apache.org/viewvc?rev=1064348&view=rev
Log:
fix for bind request stack overflow errors due to infinite recursion

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java?rev=1064348&r1=1064347&r2=1064348&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
Thu Jan 27 23:00:38 2011
@@ -57,7 +57,7 @@ public class BindRequestDecorator extend
      */
     public BindRequest getBindRequest()
     {
-        return getBindRequest();
+        return ( BindRequest ) getDecoratedMessage();
     }
 
 



Mime
View raw message