On Sat, Jan 20, 2018 at 10:06 PM, Dan Williams <dan.j.williams@xxxxxxxxx> wrote: > From: Mark Rutland <mark.rutland@xxxxxxx> > > Document the rationale and usage of the new array_ptr() helper. [...] > +A call to array_ptr(arr, idx, sz) returns a sanitized pointer to > +arr[idx] only if idx falls in the [0, sz) interval. When idx < 0 or idx > sz, "or idx >= sz"?