1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Douglas Bagnall 2aace18f17 ldb_controls: control_to_string avoids crash
Otherwise a malformed control with unexpected NULL data will segfault
ldb_control_to_string(), though this is not very likely to affect
anyone in practice as converting controls to strings is rarely
necessary. If it happens at all in Samba it is in Python code.

Found by Honggfuzz using fuzz_ldb_parse_control.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Jul 29 04:43:23 UTC 2020 on sn-devel-184
2020-07-29 04:43:23 +00:00
..
addns lib/addns: clang: Fix 'Assigned value is garbage or undefined' 2019-07-24 21:33:21 +00:00
afs s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
async_req lib: Fix a valgrind error 2020-04-23 21:53:38 +00:00
audit_logging audit_logging tests: Fix timezone validation 2020-03-07 06:37:09 +00:00
compression lib:compression: Fix undefined behavior in lzxpress 2018-11-22 22:13:27 +01:00
crypto Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
dbwrap dbwrap_rbt: support TDB_INSERT and TDB_MODIFY store flags 2020-06-10 19:08:40 +00:00
fuzzing CVE-2020-10704: libcli ldap_message: Add search size limits to ldap_decode 2020-05-04 02:59:32 +00:00
krb5_wrap krb5_wrap: map KRB5_REALM_UNKNOWN to NT_STATUS_NO_SUCH_DOMAIN 2020-02-10 17:59:34 +00:00
ldb ldb_controls: control_to_string avoids crash 2020-07-29 04:43:23 +00:00
ldb-samba Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
messaging lib/messaging: Move messages_dgm out of source3 2020-05-06 00:06:40 +00:00
mscat lib:mscat: Add missing return check for error in dumpsmcat 2019-05-24 06:07:08 +00:00
param tls: Use NORMAL:-VERS-SSL3.0 as the default configuration 2020-07-01 14:56:33 +00:00
printer_driver lib:printer_driver: Retrieve Class value 2019-01-28 15:44:18 +01:00
pthreadpool build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
replace dsdb: Allow "password hash userPassword schemes = CryptSHA256" to work on RHEL7 2020-07-01 13:34:30 +00:00
smbconf waf: add library dependency for sendfile on Solaris 2019-02-17 13:33:15 +01:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc talloc: Mark ptr of talloc_unlink() not as a tainted scalar 2020-06-09 16:02:59 +00:00
tdb tdb: Fix some signed/unsigned comparisons 2020-07-16 01:29:45 +00:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent tevent: Fix a tevent tutorial error 2020-05-19 12:07:42 +00:00
texpect texpect: Avoid duplicate sys_write() 2020-01-15 21:25:34 +00:00
torture lib/torture: fix subunit names of nested suites 2020-07-07 10:30:40 +00:00
tsocket tsocket: Fix a typo 2020-06-15 17:59:38 +00:00
util util: Fix a signed/unsigned comparison 2020-07-16 04:00:52 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library