tdb: Fix CID 1471761 String not null terminated
authorVolker Lendecke <vl@samba.org>
Tue, 12 Jan 2021 10:19:54 +0000 (11:19 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 14 Jan 2021 13:29:35 +0000 (13:29 +0000)
commit5ef25729bd9e6dc455d158c0016b2bd6191e8d51
tree0582bfef6bc91688b1642131546c0538e0ebd961
parentda052dde8a9801063e74d036d15f516d079d3720
tdb: Fix CID 1471761 String not null terminated

This is a false positive (in is length 3 initialized to 0), but this
patch does not hurt

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
lib/tdb/tools/tdbrestore.c