summaryrefslogtreecommitdiff
path: root/lib/util/talloc_stack.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-07-18 04:54:31 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-07-18 04:54:31 +0930
commit4f331872bc783445c709e5fe4846b8687e274953 (patch)
tree01730b205abad309b3aabc6b466a1992bdefe957 /lib/util/talloc_stack.c
parent8893215aaf714154c190c66bf7d1ce568118ec39 (diff)
downloadsamba-4f331872bc783445c709e5fe4846b8687e274953.tar.gz
samba-4f331872bc783445c709e5fe4846b8687e274953.tar.bz2
samba-4f331872bc783445c709e5fe4846b8687e274953.zip
talloc: don't allow a talloc_pool inside a talloc_pool.
We explicitly call free() on a pool which falls to zero, assuming it's not inside another pool (we crash). Check on creation and explicitly document this case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/util/talloc_stack.c')
0 files changed, 0 insertions, 0 deletions