summaryrefslogtreecommitdiff
path: root/source4/setup/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-08-24 13:09:10 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-08-24 20:24:18 +1000
commitcc330f93625290dc5f67c9c0f2f17e566ddbf1f1 (patch)
treef8b5db92a9e87597de7fbf24368db509b995fe02 /source4/setup/tests
parent0f98d539e2edc8f1d57271fb20051189699222a7 (diff)
downloadsamba-cc330f93625290dc5f67c9c0f2f17e566ddbf1f1.tar.gz
samba-cc330f93625290dc5f67c9c0f2f17e566ddbf1f1.tar.bz2
samba-cc330f93625290dc5f67c9c0f2f17e566ddbf1f1.zip
s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the end
The problem is that samdb_result_string() and ldb_msg_find_attr_as_string() both simply cast the string, rather than ensuring the return value is NULL terminated. This may be best regarded as a flaw in LDB, but fixing it there is going to be more difficult. Andrew Bartlett
Diffstat (limited to 'source4/setup/tests')
0 files changed, 0 insertions, 0 deletions