summaryrefslogtreecommitdiffstats
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-17 19:19:04 +0100
committerVolker Lendecke <vl@samba.org>2009-01-18 15:40:45 +0100
commitecb5184ce57259c709d728ed5f7be1bdf666bbcc (patch)
treeba7379199073b2aa3a87780d097b3d44cb647457 /source3/rpc_client/cli_pipe.c
parent3f9f188877de8a4c0b2883e2360f2834c41b66c1 (diff)
downloadsamba-ecb5184ce57259c709d728ed5f7be1bdf666bbcc.tar.gz
samba-ecb5184ce57259c709d728ed5f7be1bdf666bbcc.tar.xz
samba-ecb5184ce57259c709d728ed5f7be1bdf666bbcc.zip
Fix an uninitialized variable
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 35c3a9301f..c32124f678 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2148,6 +2148,7 @@ static uint32 calculate_data_len_tosend(struct rpc_pipe_client *cli,
RPC_HDR_AUTH_LEN - *p_auth_len;
data_len = MIN(data_space, data_left);
+ *p_ss_padding = 0;
if (data_len % 8) {
*p_ss_padding = 8 - (data_len % 8);
}