r14160: don't write behind the buffer
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Mar 2006 15:10:47 +0000 (15:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:56:56 +0000 (13:56 -0500)
metze
(This used to be commit bce4db8d1c293d05546dfd1b0229252babdb64b2)

source4/libcli/raw/rawfile.c

index 2eacd1d22e540ce527083882504dde81e2aaa5ae..9d2611f7b248bbc3b1862e35733c519b9df48770 100644 (file)
@@ -318,7 +318,6 @@ static struct smbcli_request *smb_raw_nttrans_create_send(struct smbcli_tree *tr
        SIVAL(params, 40, ea_blob.length);
        SIVAL(params, 48, parms->ntcreatex.in.impersonation);
        SCVAL(params, 52, parms->ntcreatex.in.security_flags);
-       SCVAL(params, 53, 0);
 
        /* the empty string first forces the correct alignment */
        smbcli_blob_append_string(tree->session, mem_ctx, &nt.in.params,"", 0);