Fix segfaults in codepaths only tested by the NET-API-BECOME-DC test.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Jan 2008 04:34:44 +0000 (15:34 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Jan 2008 04:34:44 +0000 (15:34 +1100)
commit8bceed449d7332a5f860000b8c1b53ed8ccf72fa
tree5837576f69a581c0cdf06429541dabb7c27a7cce
parent56a611b12618ef0224a7a8a12883e0ab8340962d
Fix segfaults in codepaths only tested by the NET-API-BECOME-DC test.

(I presume this has resulted from the global variable elimination)

Perhaps the iconv handle argument to ndr_push_struct needs to be
marked as 'not NULL' or similar?

Andrew Bartlett
(This used to be commit e8081333b8d43d96974c9e06a26aaa25dd34da56)
source4/dsdb/schema/schema_syntax.c
source4/libnet/libnet_become_dc.c