Fix an uninitialized variable
authorVolker Lendecke <vl@samba.org>
Sat, 17 Jan 2009 18:19:04 +0000 (19:19 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 18 Jan 2009 14:40:45 +0000 (15:40 +0100)
source3/rpc_client/cli_pipe.c

index 35c3a9301f2dec466c2b29d44c038229118de1cf..c32124f678d0819da33f44b5152a9c0325771cc9 100644 (file)
@@ -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);
                        }