Files
lightning/common
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer.
Christian and I both unwittingly used it in form:

	*tal_arr_expand(&x) = tal(x, ...)

Since '=' isn't a sequence point, the compiler can (and does!) cache
the value of x, handing it to tal *after* tal_arr_expand() moves it
due to tal_resize().

The new version is somewhat less convenient to use, but doesn't have
this problem, since the assignment is always evaluated after the
resize.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-15 12:01:38 +01:00
..
2018-11-02 05:58:01 +00:00
2019-01-15 12:01:38 +01:00
2018-01-29 04:46:54 +00:00
2018-02-08 22:49:34 +01:00
2019-01-15 12:01:38 +01:00
2019-01-15 12:01:38 +01:00
2019-01-15 12:01:38 +01:00
2018-08-05 02:03:58 +00:00
2019-01-08 19:20:28 +01:00
2019-01-08 19:20:28 +01:00
2018-03-06 19:26:21 +01:00
2018-12-05 23:15:59 +00:00
2019-01-15 12:01:38 +01:00
2018-06-18 12:31:09 +02:00