Fix a 32/64bit stack corruption bug
authorVolker Lendecke <vl@samba.org>
Sat, 25 Jul 2009 17:21:57 +0000 (13:21 -0400)
committerVolker Lendecke <vl@samba.org>
Sat, 25 Jul 2009 17:23:44 +0000 (13:23 -0400)
source3/rpc_server/srv_lsa_nt.c

index ace045cfa5df3a5addc63119ae60628a09745ae1..054a09f83446e5b6f588c5c31155c0c57d274621 100644 (file)
@@ -1642,7 +1642,7 @@ NTSTATUS _lsa_CreateAccount(pipes_struct *p,
        struct lsa_info *info;
        uint32_t acc_granted;
        struct security_descriptor *psd;
-       uint32_t sd_size;
+       size_t sd_size;
 
        /* find the connection policy handle. */
        if (!find_policy_by_hnd(p, r->in.handle, (void **)(void *)&handle))