summaryrefslogtreecommitdiff
path: root/tests/ftruncate.c
diff options
context:
space:
mode:
authorzahari <zahari@darkstar.zahari.local>2009-03-20 12:03:29 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-03-20 22:54:15 +0100
commit4fff36f618420dea2e004f87ae5a2699eabd140a (patch)
tree70fc6026b8b5dbda953d8b8e9f6ef6ace35f5fb1 /tests/ftruncate.c
parentee577ef0eef2d666504d1b78bb102b5c2e070b03 (diff)
downloadsamba-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 'tests/ftruncate.c')
0 files changed, 0 insertions, 0 deletions