mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r18715: 0x8 style status returns should also fail here (thanks metze)
This commit is contained in:
parent
8999a9eb2e
commit
f55de25ab3
@ -56,7 +56,7 @@ NTSTATUS smb2_read_recv(struct smb2_request *req,
|
|||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
if (!smb2_request_receive(req) ||
|
if (!smb2_request_receive(req) ||
|
||||||
smb2_request_is_error(req)) {
|
!smb2_request_is_ok(req)) {
|
||||||
return smb2_request_destroy(req);
|
return smb2_request_destroy(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user