s4-pyldb: null terminate string ldb message elements from python
authorAndrew Tridgell <tridge@samba.org>
Thu, 11 Feb 2010 12:37:44 +0000 (23:37 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Feb 2010 14:08:11 +0000 (01:08 +1100)
commit9ba0d105ccd5599987c17e2474ecfe8ac3547f1b
tree362778af43a865d5a9567a2d0a68fb071fc7c869
parent76a2e936a02ba99a474dd20822ed170787b55a45
s4-pyldb: null terminate string ldb message elements from python

We need to eventually get rid of ldb_msg_find_attr_as_string() (or add
a mem_ctx to it), but meanwhile we have too many places that break if
we don't add a nul to the end of ldb msg strings from python.
source4/lib/ldb/pyldb.c