smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Apr 2008 17:26:52 +0000 (19:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 Apr 2008 00:39:29 +0000 (02:39 +0200)
metze

source/smb_server/smb2/fileio.c

index 8f8b4e771cbea2941e62f2d4f4eb9feae32df73a..af1a4130095a673199dd4c75cb7f356ce0b5cc84 100644 (file)
@@ -79,6 +79,7 @@ void smb2srv_create_recv(struct smb2srv_request *req)
        SMB2SRV_CHECK(smb2_pull_o32s32_blob(&req->in, io, req->in.body+0x30, &blob));
        /* TODO: parse the blob */
        ZERO_STRUCT(io->smb2.in.eas);
+       ZERO_STRUCT(io->smb2.in.blobs);
 
        /* the VFS backend does not yet handle NULL filenames */
        if (io->smb2.in.fname == NULL) {