1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib
Andrew Bartlett dbd87b94aa tdb: Refuse to load a database with hash size 0
This just ensures we reject (rather than div-by-0) a corrupt
DB with a zero hash size.

Found with american fuzzy lop

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec 18 08:26:25 CET 2015 on sn-devel-144
2015-12-18 08:26:24 +01:00
..
addns lib: Fix CID 1273234 Untrusted value as argument 2015-06-23 22:12:08 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req: do not install async_connect_send_test. 2015-12-01 17:41:19 +01:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto vfs: Remove smb_traffic_analyzer 2015-11-11 00:23:35 +01:00
dbwrap dbwrap_rbt: fix modifying the db during traverse 2015-11-27 10:10:18 +01:00
krb5_wrap krb5_wrap: Fix picky const compiler warnings 2015-11-23 15:17:18 +01:00
ldb lib/ldb: Use talloc_memdup() because we know the length of the attribute already 2015-12-17 03:23:21 +01:00
ldb-samba Fix propagation of LDB errors through TDB. 2015-12-04 06:08:29 +01:00
nss_wrapper build: Build *_wrapper without -DNDEBUG for in-tree use 2015-10-16 16:36:22 +02:00
param lib/param: handle (ignore) substitution variable in smb.conf 2015-12-09 02:05:30 +01:00
replace libreplace: Only check for malloc.h if needed 2015-11-19 07:01:09 +01:00
resolv_wrapper build: Build *_wrapper without -DNDEBUG for in-tree use 2015-10-16 16:36:22 +02:00
smbconf lib/smbconf: remove const warning 2014-11-14 23:27:05 +01:00
socket Fix bug # 9666 - Broken filtering of link-local addresses. 2013-02-28 20:56:57 +01:00
socket_wrapper build: Build *_wrapper without -DNDEBUG for in-tree use 2015-10-16 16:36:22 +02:00
talloc talloc: version 2.1.5 2015-11-05 18:04:23 +01:00
tdb tdb: Refuse to load a database with hash size 0 2015-12-18 08:26:24 +01:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib/tdr/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
tevent Set LD_LIBRARY_PATH during tests. 2015-11-18 21:40:25 +01:00
texpect texpect: undefined symbol rep_fprintf 2015-10-22 14:28:17 +02:00
torture lib/torture: add torture_assert_hresult_{equal,ok} macros. 2015-07-31 01:55:28 +02:00
tsocket lib/tsocket: fix non-blockging connect() error handling 2015-10-21 23:13:17 +02:00
uid_wrapper uwrap: Bump version to 1.2.0 2015-11-05 12:30:02 +01:00
util CVE-2015-5330: next_codepoint_handle_ext: don't short-circuit UTF16 low bytes 2015-12-09 17:19:53 +01:00
README subunit: Update to newer upstream version. 2010-03-29 18:05:29 +02: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)
dnspython - Python module for working with DNS.
nss_wrapper - Wrapper for the user and group NSS API allowing the use 
              of other data sources.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
socket_wrapper - Wrapper library allowing TCP/IP traffic to be redirected 
                 over Unix domain sockets.
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