lib/ldb Add checks for overflow during ldb pack and parse
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Nov 2015 05:45:23 +0000 (18:45 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 17 Dec 2015 02:23:21 +0000 (03:23 +0100)
commit315049e083814d529af6973be263e296ed78ca75
tree8c3bad170d9a84701ac35addb2c6b40d5a938b0b
parent486fd453805770e1cd17cce380f497781dfeca33
lib/ldb Add checks for overflow during ldb pack and parse

Both as requested by Jeremy Allison <jra@samba.org> during
patch review and as found by american fuzzy lop.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11602
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/common/ldb_pack.c