torture: fixed a valgrind error in SMB2-CREATE
authorAndrew Tridgell <tridge@samba.org>
Thu, 23 Sep 2010 22:33:36 +0000 (15:33 -0700)
committerAndrew Tridgell <tridge@samba.org>
Sat, 25 Sep 2010 17:38:44 +0000 (10:38 -0700)
commitca847b593d83f7ce09473469bd79531fdc8d0359
tree431cdb8de5bb7413521b05c70bf098d062d66150
parent99f0891944e8df91b98934b6c57f9c68dfed8722
torture: fixed a valgrind error in SMB2-CREATE

the lock structure had uninitialised elements, so we sent a random
length.

This also adds a 1 byte write, so there is real data that is being
truncated with the 2nd open
source4/torture/smb2/create.c