ldb_tdb: Use memcmp rather than strncmp() in ltdb_key_is_record(), re_key() and re_in...
commit5311eb4c369bb566a87ad3e95dd58cf7f4014b21
authorAndrew Bartlett <abartlet@samba.org>
Thu, 7 Sep 2017 04:23:43 +0000 (7 16:23 +1200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Sep 2017 15:48:26 +0000 (14 17:48 +0200)
treebca8170ef40af8425a9e208e3a8110a633673547
parent0c87159b0e97824a9722fe87bc1adc2905eb1b96
ldb_tdb: Use memcmp rather than strncmp() in ltdb_key_is_record(), re_key() and re_index()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13016

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 3ce80cfb60d86a80efb6b66205f6d8d683791f6c)
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/ldb_tdb/ldb_tdb.c