1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/ldb/include
Joseph Sutton b18ed9ae97 CVE-2023-0614 ldb: Add function to take ownership of an ldb message
Many places in Samba depend upon various components of an ldb message
being talloc allocated, and hence able to be used as talloc contexts.
The elements and values of an unpacked ldb message point to unowned data
inside the memory-mapped database, and this function ensures that such
messages have talloc ownership of said elements and values.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-04-05 02:10:35 +00:00
..
dlinklist.h DLIST_REMOVE: clang: Fix dereference of a null pointer warning 2019-06-11 12:10:17 +00:00
ldb_errors.h ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_handlers.h ldb: Expose ldb_handler_fold() funcion 2011-07-28 15:20:51 +10:00
ldb_module.h CVE-2023-0614 ldb: Add function to take ownership of an ldb message 2023-04-05 02:10:35 +00:00
ldb_private.h lib:ldb: Add ldb_ascii_toupper() 2022-12-23 13:23:29 +00:00
ldb.h lib:ldb:include: Fix code spelling 2023-04-04 07:31:36 +00:00