summaryrefslogtreecommitdiff
path: root/lib/ldb/wscript
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-02-19 10:26:56 +1300
committerStefan Metzmacher <metze@samba.org>2019-02-26 12:15:12 +0100
commit8ddaf853404f3cddef84b77b38951526d73ffbda (patch)
treeef046558eb457f3ea912cc9c5ee6295264d71576 /lib/ldb/wscript
parentc62bd66b84defc73465e5f16f230f1855fb3bde3 (diff)
downloadsamba-8ddaf853404f3cddef84b77b38951526d73ffbda.tar.gz
CVE-2019-3824 ldb: wildcard_match end of data check
ldb_handler_copy and ldb_val_dup over allocate by one and add a trailing '\0' to the data, to make them safe to use the C string functions on. However testing for the trailing '\0' is not the correct way to test for the end of a value, the length should be checked instead. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13773 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'lib/ldb/wscript')
0 files changed, 0 insertions, 0 deletions