OndÅej BÃlka wrote: > + memset (p, perturb_byte & 0xff, n); While you're simplifying, you can safely omit that '& 0xff'. Similarly for alloc_perturb.