diff options
author | zahari <zahari@darkstar.zahari.local> | 2009-03-20 12:03:29 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-03-20 22:54:15 +0100 |
commit | 4fff36f618420dea2e004f87ae5a2699eabd140a (patch) | |
tree | 70fc6026b8b5dbda953d8b8e9f6ef6ace35f5fb1 /source4/lib/tdb_wrap.c | |
parent | ee577ef0eef2d666504d1b78bb102b5c2e070b03 (diff) | |
download | samba-4fff36f618420dea2e004f87ae5a2699eabd140a.tar.gz samba-4fff36f618420dea2e004f87ae5a2699eabd140a.tar.bz2 samba-4fff36f618420dea2e004f87ae5a2699eabd140a.zip |
Setting nTSecurityDescriptor via LDAP fails
Fix for the problem was substitute talloc_strndup() with
talloc_memdup(), allocate 1 more character and put null character
('\0') in the extra place so data copied is null terminated.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/tdb_wrap.c')
0 files changed, 0 insertions, 0 deletions