diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-24 00:15:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-24 00:15:08 +0000 |
commit | 151b131ee01ef916c072bcdaa9943a2e984a0f45 (patch) | |
tree | 2bfcdd7101b70b40463dd5b8dff1d9f8f6bf3f5d /source/lib | |
parent | 2aa21db960666736331b18956422b7c13aad0f0f (diff) | |
download | samba-151b131ee01ef916c072bcdaa9943a2e984a0f45.tar.gz samba-151b131ee01ef916c072bcdaa9943a2e984a0f45.tar.xz samba-151b131ee01ef916c072bcdaa9943a2e984a0f45.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.
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/util_sid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/util_sid.c b/source/lib/util_sid.c index add2494346e..43fd7ecc594 100644 --- a/source/lib/util_sid.c +++ b/source/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; |