]> git.ozlabs.org Git - ccan/commitdiff
tal: remove undefined behavior.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 22 Mar 2023 02:12:18 +0000 (12:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 May 2023 02:56:01 +0000 (12:26 +0930)
In particular, we were casting between struct prop_hdr ** and char **:
fixing this properly was quite a rework.

And in one case we were using a pre-realloc pointer in tests: though to be
fair, we tested it for equality.  But ubsan got upset anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found