diff options
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb2/smb2_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb2/smb2_server.h b/source4/smb_server/smb2/smb2_server.h index 57563cf0f5..f3ac78dee3 100644 --- a/source4/smb_server/smb2/smb2_server.h +++ b/source4/smb_server/smb2/smb2_server.h @@ -70,11 +70,13 @@ struct smbsrv_request; DEBUG(0,("%s: buffer too small 0x%x. Expected 0x%x\n", \ __location__, is_size, want_size)); \ smb2srv_send_error(req, NT_STATUS_FOOBAR); \ + return; \ }\ if (field_size != want_size) { \ DEBUG(0,("%s: unexpected fixed body size 0x%x. Expected 0x%x\n", \ __location__, field_size, want_size)); \ smb2srv_send_error(req, NT_STATUS_FOOBAR); \ + return; \ } \ } while (0) |