diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 13626f3cb55..4949fd2accb 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -3271,6 +3271,9 @@ again: /* * Now we analyze the NBT header */ + if (state->hdr.nbt[0] != 0x00) { + state->min_recv_size = 0; + } state->pktlen = smb2_len(state->hdr.nbt); if (state->pktlen == 0) { goto got_full; |