talloc: abort in talloc_unlink with a wrong parent
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Jan 2012 11:06:58 +0000 (12:06 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:46:56 +0000 (18:46 +0200)
commit9f78463aeb5973ba595cf12544740f5a3f5ce10e
treeb8d5c452e69fd3f4d115bad9de688708d76140ca
parent86aa00eeb6ff92bc1c36c03c279b8dcf318a957e
talloc: abort in talloc_unlink with a wrong parent

If a caller passes a pointer that is not the parent
and also not a reference parent, we should handle it
like a double free.

metze
lib/talloc/talloc.c