r14408: More on fix for coverity #36. The previous fix would cause us to
authorJim McDonough <jmcd@samba.org>
Wed, 15 Mar 2006 02:31:11 +0000 (02:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:29 +0000 (11:15 -0500)
commit0e0d21dd3deaa5c08e04de796c7abe32125c213d
treef9b416691454a6edc2abfd36afb1e146b270aaf0
parentfa42d65a47d8ac35cddd485ae53e7f03a8061e88
r14408: More on fix for coverity #36.  The previous fix would cause us to
marshall a buffer based on an unknown size.  Zero out the sec_desc
buffer to prevent this.  This is still not getting proper results for
a registry security descriptor (everything gets ACCESS DENIED), but
at least we aren't blowing out memory now...
(This used to be commit cb370cc28ce361628df137c9aef02739aca062db)
source3/libmsrpc/cac_winreg.c