summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9ad912e)
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.
{
int n, m, sh;
struct idtree_layer *p, *pn;
{
int n, m, sh;
struct idtree_layer *p, *pn;
- struct idtree_layer *pa[MAX_LEVEL];
+ struct idtree_layer *pa[MAX_LEVEL+1];
unsigned int l, id, oid;
uint32_t bm;
unsigned int l, id, oid;
uint32_t bm;