summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-05-28 13:01:27 +0200
committerVolker Lendecke <vl@samba.org>2013-06-03 10:21:28 +0200
commit854c5f0aac03c7c6d7e1b37997dcdc848fec1499 (patch)
tree6c83492bdef9a447149748ed33ce58b2aa1c720c /source3/passdb
parente19d46f7e31a32e2b5ae3ec05e13f32b8ac2109d (diff)
downloadsamba-854c5f0aac03c7c6d7e1b37997dcdc848fec1499.tar.gz
samba-854c5f0aac03c7c6d7e1b37997dcdc848fec1499.tar.bz2
samba-854c5f0aac03c7c6d7e1b37997dcdc848fec1499.zip
tdb: add overflow detection to tdb_expand_adjust()
We round up at maximun to a new size of 4GB, but still return at least the given size. The caller has to deal with ENOSPC itself. Pair-Programmed-With: Volker Lendecke <vl@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/passdb')
0 files changed, 0 insertions, 0 deletions