Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for negotiateContextCount (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            final int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
            // Validate negotiate context count - prevent excessive memory allocation
            if (negotiateContextCount < 0 || negotiateContextCount > 100) {
                throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            // if SMB 3.11 support negotiateContextOffset/negotiateContextCount
            int negotitateContextOffsetOffset = 0;
            if (this.negotiateContexts == null || this.negotiateContexts.length == 0) {
                SMBUtil.writeInt8(0, dst, dstIndex);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top