]> git.ozlabs.org Git - ccan/commitdiff
tal/str: fix error in tal_strndup()
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 16 Oct 2015 19:42:40 +0000 (06:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 16 Oct 2015 19:42:40 +0000 (06:12 +1030)
It used strlen() on the source, which might not be valid.

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

No differences found