summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-24 00:15:08 +0000
committerJeremy Allison <jra@samba.org>2000-06-24 00:15:08 +0000
commitec1c58fcc0dc19138fe04533484b8acffef2cf0f (patch)
tree30e1112e2fb0cc71a757811b718bb759b903c1e3 /source3/lib
parenta8c21a8e6b747123d9a176a8048f05f68499b463 (diff)
downloadsamba-ec1c58fcc0dc19138fe04533484b8acffef2cf0f.tar.gz
samba-ec1c58fcc0dc19138fe04533484b8acffef2cf0f.tar.bz2
samba-ec1c58fcc0dc19138fe04533484b8acffef2cf0f.zip
lib/util_sid.c: Uninitialized memory read.
rpc_parse/parse_spoolss.c: Added note about prs_align when marshalling a SEC_DESC... rpc_server/srv_lsa.c: Tim - your changes broke the display of the 'everyone' group when doing file access with no winbindd running. This is a partial fix - more when I have analysed this more. rpc_server/srv_spoolss_nt.c: Fix for the 'change driver' problem ! Hurrah ! Jeremy. (This used to be commit 151b131ee01ef916c072bcdaa9943a2e984a0f45)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index add2494346..43fd7ecc59 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -344,6 +344,8 @@ void sid_copy(DOM_SID *dst, const DOM_SID *src)
{
int i;
+ memset((char *)dst, '\0', sizeof(DOM_SID));
+
dst->sid_rev_num = src->sid_rev_num;
dst->num_auths = src->num_auths;