[jcifs] jcifs-1.2.18e released / DCERPC, Robust Recovery, URL Decoding, NPEs and Much More

Michael B Allen miallen at ioplex.com
Wed Feb 6 05:36:19 GMT 2008


This release includes a few significant fixes for DCERPC related issues. It also includes numerous minor fixes for issues that have accumulated over time. The issues that have been fixed are as follows:

    * The SID.getServerSid() method could fail with NetApp servers due to a "generic" mask values. The mask has been changed to 0x00000001 which corresponds to an LsaOpenPolicy mask of POLICY_VIEW_LOCAL_INFORMATION.
    * The LsaPolicyHandle class would not throw an error if the LsarOpenPolicy2 call failed. This has been fixed.
    * If a share was unshared while JCIFS was in the middle of reading files from it, the transport could enter an error state from which it could not immediately recover if the share was subsequently restored. A small change to SmbTransport.doRecv() fixes this problem.
    * The SmbFile constructor could inappropriately URL decode the authority component of SMB URLs.
    * The NTLM HTTP Filter documentation has been updated.
    * An Invalid state: 4 error has been fixed.
    * A NetBIOS name service issue caused by Jetdirect printers has been fixed.
    * An ArrayIndexOutOfBounds exception in the SmbException class has been fixed.
    * A NullPointerException in SmbSession.getChallengeForDomain() has been fixed.
    * A NullPointerException in NbtAddress related to hosts without adequate localhost address configuration has been fixed.
    * An ArrayIndexOutOfBounds exception could be thrown if a server requires NTLMv2. This exception has been replaced with a more informative one.
    * The SmbSessionSetup constructor will now compare the challenge and encryptionKey using Arrays.equals instead of == to satisfy unforseen use-cases that otherwise trigger an NT_STATUS_ACCESS_VIOLATION.


More information about the jcifs mailing list