s4:torture:base:bench-readwrite: fix uninitialized memory causing segfault
authorAliaksei Karaliou <akaraliou@panasas.com>
Fri, 21 Dec 2018 13:47:00 +0000 (16:47 +0300)
committerJeremy Allison <jra@samba.org>
Tue, 8 Jan 2019 02:40:26 +0000 (03:40 +0100)
commitfacd6f2daf6df0f9c82bcbe36946507736e9648c
tree7adaf03387dec135b0da0b97399c2641e69d8445
parent24cfa0baf515cf81f21c3f7547b66fd7a44a8ea1
s4:torture:base:bench-readwrite: fix uninitialized memory causing segfault

Allocation of 'struct smb_composite_connect' happens without zeroing
so that smb_composite_connect_send() thinks that connection
already exists and fails on its handling.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Douglas Bagnall <dbagnall@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/basic/misc.c