1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/tdb
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
..
ABI tdb: version 1.3.8 2015-11-05 18:04:23 +01:00
common tdb: Refuse to load a database with hash size 0 2015-12-18 08:26:24 +01:00
docs Fix various spelling errors 2015-11-06 13:43:45 +01:00
include tdb: introduce tdb_chainlock_read_nonblock(), a nonblock variant of tdb_chainlock_read() 2015-04-28 21:28:18 +02:00
man Revert "tdb: Add tdbdump -u" 2015-09-18 14:03:12 +02:00
python pytdb: Add tests for text interface 2015-07-21 19:04:15 +02:00
test tdb: Reproducer for Bug 11381 2015-07-09 00:42:16 +02:00
tools Revert "tdb: Add tdbdump -u" 2015-09-18 14:03:12 +02:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
_tdb_text.py pyldb: Add a text-based interface for Python 3 2015-07-21 19:04:15 +02:00
configure tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
doxy.config doc: Remove build/ from doxygen config or it will not work in brew. 2012-08-04 16:31:22 +02:00
Makefile tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
pytdb.c tdb python binding: raise KeyError(key) when the key doesn't exist 2015-07-21 19:04:15 +02:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript tdb: version 1.3.8 2015-11-05 18:04:23 +01:00