1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/ldb/common
Aaron Haslett ea7fd52a78 ldb: removing alloc from unpack_data
Making unpack flag LDB_UNPACK_DATA_FLAG_NO_DATA_ALLOC required
behaviour, since allocating data during unpack is slow and unnecessary
in all current usages. In any future unpack usage, if editing of
returned memory is required, some function that duplicates the message
should be used, such as one of the filter_attrs functions, or msg_copy.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2019-05-15 04:03:36 +00:00
..
attrib_handlers.c schema_syntax: Add comments for our index format functions 2019-04-08 02:07:23 +00:00
ldb_attributes.c ldb_tdb: Read from @INDEXLIST or an override if we are using a GUID index 2017-09-22 21:20:23 +02:00
ldb_controls.c ldb_controls: Add some talloc error checking for controls 2018-11-20 22:14:16 +01:00
ldb_debug.c lib/ldb: Do not vasprintf() the tevent debug messages that will not be shown 2012-08-09 20:14:23 +10:00
ldb_dn.c ldb: avoid NULL deref in ldb_dn_from_ldb_val (CID 1034730) 2019-05-09 22:39:27 +00:00
ldb_ldif.c ldb: use ldb_msg_new(), not talloc/talloc_zero 2019-05-10 01:15:17 +00:00
ldb_match.c CVE-2019-3824 ldb: wildcard_match end of data check 2019-02-25 21:26:12 +01:00
ldb_modules.c Don't load LDB_MODULESDIR as a module file 2018-02-19 07:36:23 +01:00
ldb_msg.c ldb_msg: remove_element() checks element array bounds 2019-05-10 01:15:18 +00:00
ldb_options.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_pack.c ldb: removing alloc from unpack_data 2019-05-15 04:03:36 +00:00
ldb_parse.c CVE-2019-3824 ldb: ldb_parse_tree use talloc_zero 2019-02-25 21:26:11 +01:00
ldb_utf8.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb.c ldb: no need to call del_transaction in ldb_transaction_commit 2018-08-15 07:08:23 +02:00
qsort.c ldb: Fix overflow checks 2018-04-03 20:20:10 +02:00