talloc: Remove talloc_abort_magic()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 8 Jan 2018 04:29:19 +0000 (17:29 +1300)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jan 2018 21:42:21 +0000 (22:42 +0100)
commit00ee9da50b289a68621f2af755d4283fe6cb3bc7
tree86709a193493f5e4446918dd4826eb829cfe9706
parent4519134ef72511c1d6a7321a6641dd869b4f2759
talloc: Remove talloc_abort_magic()

The check required for talloc_abort_magic() prevents the 'access after free error'
from being printed.

It is also no longer possible to determine the difference between invalid memory
and a talloc version mismatch as the magic is now random on many platforms.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13210

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/talloc/talloc.c