jcifs-1.1.3 from tgz
authorFelix Schumacher <p0354740@isib001.(none)>
Wed, 6 Aug 2008 14:25:17 +0000 (16:25 +0200)
committerFelix Schumacher <p0354740@isib001.(none)>
Wed, 6 Aug 2008 14:25:17 +0000 (16:25 +0200)
Tue Nov 30 19:20:57 EST 2004
jcifs-1.1.3 released

A concurrency error was introduced with the getChallengeForDomain code used
by the NTLM HTTP Filter. This has been fixed.

README.txt
build.xml
src/jcifs/smb/SmbSession.java
src/jcifs/smb/SmbTransport.java

index 937172a..3ba27d5 100644 (file)
@@ -1,3 +1,9 @@
+Tue Nov 30 19:20:57 EST 2004
+jcifs-1.1.3 released
+
+A concurrency error was introduced with the getChallengeForDomain code used
+by the NTLM HTTP Filter. This has been fixed. 
+
 Sun Oct 31 00:58:04 EDT 2004
 jcifs-1.1.1 released
 
index fe319db..8448fe9 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,7 +1,7 @@
 <project name="jcifs" default="usage" basedir=".">
 
-    <property name="version" value="1.1.2"/>
-    <property name="reldate" value="Nov 2, 2004"/>
+    <property name="version" value="1.1.3"/>
+    <property name="reldate" value="Nov 30, 2004"/>
 
     <target name="usage">
         <echo>
index a796c57..4142d09 100644 (file)
@@ -103,9 +103,11 @@ synchronized( DOMAIN ) {
                     } else {
                         trans.getSmbSession( NtlmPasswordAuthentication.DEFAULT ).getSmbTree( LOGON_SHARE, null ).treeConnect( null, null );
                     }
+synchronized( trans ) {
                     if( trans.sessions.size() > (trans.SSN_LIMIT / 10)) {
                         incr_dc_list_range();
                     }
+}
                     dc_list_index++;
                     return new NtlmChallenge( trans.server.encryptionKey, dc );
                 } catch( SmbException se ) {
index 19d0529..48542cd 100644 (file)
@@ -235,7 +235,7 @@ private static byte[] rcv_buf = new byte[0xFFFF];
                 ssn = (SmbSession)iter.next();
                 if( ssn.expiration < now ) {
                     ssn.logoff( false );
-                    sessions.remove( ssn );
+                    iter.remove();
                 }
             }
         }