diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-05-28 13:01:27 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-06-03 10:21:28 +0200 |
commit | 854c5f0aac03c7c6d7e1b37997dcdc848fec1499 (patch) | |
tree | 6c83492bdef9a447149748ed33ce58b2aa1c720c /testprogs/win32/spoolss/string.h | |
parent | e19d46f7e31a32e2b5ae3ec05e13f32b8ac2109d (diff) | |
download | samba-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 'testprogs/win32/spoolss/string.h')
0 files changed, 0 insertions, 0 deletions