dsdb-cracknames: Always use talloc_zero()
authorAndrew Bartlett <abartlet@samba.org>
Wed, 24 Oct 2012 00:56:02 +0000 (11:56 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Oct 2012 03:12:04 +0000 (05:12 +0200)
commit8697acd4b08354fb4185b05da07f4399bda917bc
tree099791212a9cf300ab2cd27f02c2c664b2c36907
parentd5d0a454cef8c732235b554df89761d4dcd854ba
dsdb-cracknames: Always use talloc_zero()

Otherwise, we will return un-initialised values to the caller, which will
attempt to push them onto the wire.

Found by Greg Dickie <greg@justaguy.ca>.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 24 05:12:04 CEST 2012 on sn-devel-104
source4/dsdb/samdb/cracknames.c