Fix a valgrind bug in the new [ug]id2sid cache
authorVolker Lendecke <vl@samba.org>
Sat, 3 May 2008 00:41:10 +0000 (02:41 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 6 May 2008 10:16:56 +0000 (12:16 +0200)
commit90c37a7c2cdac3de0b75f889d63f5fe1b87a48e3
tree02b27912290acea27cc35a2c332b9c203d37ebea
parent8fa46f521d9bf39cfbeb055d3aa68820370e5c03
Fix a valgrind bug in the new [ug]id2sid cache

When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
source/passdb/lookup_sid.c