From: Rusty Russell Date: Mon, 6 Dec 2010 03:12:13 +0000 (+1030) Subject: idtree: fix overflow for v. large ids on allocation and removal X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=c5074939f21be43eb408dbab5f6708dd74dba531;hp=c5074939f21be43eb408dbab5f6708dd74dba531 idtree: fix overflow for v. large ids on allocation and removal Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove. ---