diff options
author | Jeremy Allison <jra@samba.org> | 2020-10-20 10:52:55 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-11-09 02:46:50 +0000 |
commit | 4566ee91b8c37f62e8b56242a48230db59cd5ff0 (patch) | |
tree | 634faeca5b900cf2288c87e44ec4d19911e9a7bf /lib/tdr/testsuite.c | |
parent | 30a8bea8a340dcf9a3120f5ee8041e62fb129d8d (diff) | |
download | samba-4566ee91b8c37f62e8b56242a48230db59cd5ff0.tar.gz |
lib: talloc: Fix memlimit on pool realloc.
We only have to do the memlimit check before any
real malloc or realloc. Allocations out of a
memory pool have already been counted in the
memory limit, so don't check in those cases.
This is an application-visible change (although
fixing a bug) so bump the ABI to 2.3.1 -> 2.3.2.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14540
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/tdr/testsuite.c')
0 files changed, 0 insertions, 0 deletions