mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error
We should not try to parse the result if the status is not NT_STATUS_OK. metze
This commit is contained in:
parent
bcb89826de
commit
b97a591e2c
@ -305,7 +305,7 @@ _PUBLIC_ struct smbcli_request *smb_raw_write_send(struct smbcli_tree *tree, uni
|
||||
NTSTATUS smb_raw_write_recv(struct smbcli_request *req, union smb_write *parms)
|
||||
{
|
||||
if (!smbcli_request_receive(req) ||
|
||||
smbcli_request_is_error(req)) {
|
||||
!NT_STATUS_IS_OK(req->status)) {
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user