summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-25 13:21:57 -0400
committerVolker Lendecke <vl@samba.org>2009-07-25 13:23:44 -0400
commitdf0731d6e99aa85687b8cc54ed18e4f89c9b741c (patch)
treedc62af375c96750f0032fde478cc917d57867158 /source3
parentb9756de20aab4008c7aa69a0ea54a310426854fc (diff)
downloadsamba-df0731d6e99aa85687b8cc54ed18e4f89c9b741c.tar.gz
samba-df0731d6e99aa85687b8cc54ed18e4f89c9b741c.tar.bz2
samba-df0731d6e99aa85687b8cc54ed18e4f89c9b741c.zip
Fix a 32/64bit stack corruption bug
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index ace045cfa5..054a09f834 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -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))