From: Rusty Russell Date: Mon, 14 Jan 2013 07:40:59 +0000 (+1030) Subject: ccanlint: fix stack smash. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=6bab11a210f123033225553057e24e68b99a8afd;hp=6bab11a210f123033225553057e24e68b99a8afd ccanlint: fix stack smash. "engla" on IRC reported that ccanlint on linux/powerpc would loop infinitely calling dep_failed after all tests are run and the score is output. Reproduced, and discovered that cannot_run() takes a container_of(), except our top node is not a struct ccanlint. The result was harmless on x86, but set dep_failed to the return address on powerpc, causing that to be called repeatedly. Signed-off-by: Rusty Russell ---