From: Rusty Russell Date: Fri, 16 Oct 2015 19:42:40 +0000 (+1030) Subject: tal/str: fix error in tal_strndup() X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=28681e0a15c453e86528ca488415e2220cbe0f0a;hp=28681e0a15c453e86528ca488415e2220cbe0f0a;p=ccan tal/str: fix error in tal_strndup() It used strlen() on the source, which might not be valid. Signed-off-by: Rusty Russell ---