summaryrefslogtreecommitdiff
path: root/source4/smb_server/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/blob.c')
-rw-r--r--source4/smb_server/blob.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c
index 19d29edd84..4cf484f6a0 100644
--- a/source4/smb_server/blob.c
+++ b/source4/smb_server/blob.c
@@ -544,6 +544,13 @@ NTSTATUS smbsrv_pull_passthru_sfileinfo(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
case RAW_SFILEINFO_RENAME_INFORMATION:
+ if (!req) {
+ /*
+ * TODO: get rid of smbsrv_request argument of
+ * smbsrv_blob_pull_string()
+ */
+ return NT_STATUS_NOT_IMPLEMENTED;
+ }
BLOB_CHECK_MIN_SIZE(blob, 12);
st->rename_information.in.overwrite = CVAL(blob->data, 0);