diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-11-30 17:29:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:40 -0500 |
commit | 9a6ce67fbf89ea7fc9eed72776dff4712ba67e2b (patch) | |
tree | 65240a018af536c95b77cbab141f52be90d638d8 | |
parent | 53f15a0881de489e809bb58217ecabccd6d77e2c (diff) | |
download | samba-9a6ce67fbf89ea7fc9eed72776dff4712ba67e2b.tar.gz |
r11975: Fix valgrind error -- bug 3291
-rw-r--r-- | source/libsmb/cliconnect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index b352d3572a7..ac7d1b1650c 100644 --- a/source/libsmb/cliconnect.c +++ b/source/libsmb/cliconnect.c @@ -163,6 +163,7 @@ static BOOL cli_session_setup_guest(struct cli_state *cli) char *p; uint32 capabilities = cli_session_setup_capabilities(cli); + memset(cli->outbuf, '\0', smb_size); set_message(cli->outbuf,13,0,True); SCVAL(cli->outbuf,smb_com,SMBsesssetupX); cli_setup_packet(cli); |