for(n = 0; n < Maxdest; n++, qp->curdest++) if (setdestoutns(qp->curdest, n) < 0) On 22 August 2012 09:05, erik quanstrom wrote: > since qb->curdest is indirected, for example by setdestoutns, this must be > a valid pointer to remain safe. > only when the pointer is valid. I think cinap is right.