mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3: Fix Coverity ID 2582: FORWARD_NULL
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 20:46:43 CEST 2011 on sn-devel-104
This commit is contained in:
parent
9cc68e49ee
commit
5290faca7a
@ -399,6 +399,11 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
|
||||
char *pdata;
|
||||
NTSTATUS status;
|
||||
|
||||
if (fsp == NULL) {
|
||||
tevent_req_nterror(req, NT_STATUS_FILE_CLOSED);
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
|
||||
if (in_max_output < 16) {
|
||||
DEBUG(0,("FSCTL_GET_SHADOW_COPY_DATA: "
|
||||
"in_max_output(%u) < 16 is invalid!\n",
|
||||
|
Loading…
Reference in New Issue
Block a user