1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/lib/ldb/ldb_key_value
Andrew Bartlett 542e7c1791 ldb_tdb: Remove pointless check of ldb_dn_is_valid()
If the DN is not valid the ltdb_search_dn1() will catch it with ldb_dn_validate() which
is the only safe way to check this.  ldb_dn_is_valid() does not actually check, but instead
returns only the result of the previous checks, if there was one.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-15 07:08:24 +02:00
..
ldb_kv_cache.c lib ldb: rename LTDB_* constants to LDB_KV_* 2018-07-30 14:31:54 +02:00
ldb_kv_index.c fix mem leak in ltdb_index_dn_base_dn and ltdb_search_indexed 2018-08-15 07:08:24 +02:00
ldb_kv_search.c ldb_tdb: Remove pointless check of ldb_dn_is_valid() 2018-08-15 07:08:24 +02:00
ldb_kv.c CVE-2018-1140 ldb_tdb: Check for DN validity in add, rename and search 2018-08-14 13:57:15 +02:00
ldb_kv.h lib ldb key value: convert TDB_DATA structs to ldb_val 2018-07-30 17:23:22 +02:00