]> git.ozlabs.org Git - ccan/commit
tal: bounds checking fixes.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2012 00:13:29 +0000 (10:43 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2012 00:13:29 +0000 (10:43 +1030)
commitf001ce92f87bbf06b2d94942b935ad7613a47cae
treecc8232761f6bb20be00d74a69f765b76ecc5a79d
parent5e0d0dcb720ebbc4998871c63dfd47c00bca11ba
tal: bounds checking fixes.

First, we need to update the bounds for the group property allocated
with the children property, just in case it's at the end of the
allocations.

Second, we need to allow the tal_check() code to accept the pointer to
the null parent's group property.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/tal.c