1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00
samba-mirror/lib/ldb/ldb_key_value
Douglas Bagnall 0a99463b3e ldb:kv_index: help static analysers to not worry (CID 1615192)
The point of this realloc is that we are not using this array, but
keeping it around to remain a node the talloc tree. We'd prefer to
reduce it to nothing.

Coverity rightly spotted that it was reallocing an array of `struct
ldb_val` to an array of `struct ldb_val *`, which has a different size
and all. But it doesn't matter in this case, because we will never use
it.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <josutton@catalyst.net.nz>
(cherry picked from commit e2a74963fb)
2024-10-07 08:33:18 +00:00
..
ldb_kv_cache.c lib:ldb:ldb_key_value: Fix code spelling 2023-04-04 07:31:36 +00:00
ldb_kv_index.c ldb:kv_index: help static analysers to not worry (CID 1615192) 2024-10-07 08:33:18 +00:00
ldb_kv_search.c CVE-2023-0614 ldb: Filter on search base before redacting message 2023-04-05 02:10:35 +00:00
ldb_kv.c ldb: Fix code spelling 2023-10-25 22:23:37 +00:00
ldb_kv.h CVE-2023-0614 ldb: Make use of ldb_filter_attrs_in_place() 2023-04-05 02:10:35 +00:00