valid_pol in lsa_query_secret() needed to be initialised to False.
[samba.git] / source3 / rpc_client / cli_lsarpc.c
index e24f9140e401a46df915f6cbfa4e15d4c10c0161..df4589662953645b1bd4d05f6804b007a4066c65 100644 (file)
@@ -108,7 +108,7 @@ BOOL lsa_open_secret(struct cli_state *cli, uint16 fnum,
        prs_struct rbuf;
        prs_struct buf; 
        LSA_Q_OPEN_SECRET q_o;
-       BOOL valid_pol;
+       BOOL valid_pol = False;
 
        if (hnd_pol == NULL) return False;