Created attachment 17873 [details]
Response with credit 0 for request containing a malformed MessageID
When I used a TreeConnection request with a mutated MessageID field, the smbd server grants zero credit to the client.
The normal TREECONNECT request contains a MessageID with value 3. If this field is mutated from 3 to 252, the server would respond with a TREECONNECT response whose credit is 0, as shown in the attached file. However, the guideline  says that "The server MUST ensure that the number of credits held by the client is never reduced to zero."
Can you please show this test running against a Windows server. I'd like to see what Windows returns in this case.