Skip to main content

REDZONE_TAIL

Constant REDZONE_TAIL 

Source
const REDZONE_TAIL: usize = 8;
Expand description

Bytes reserved at the end of every slab block for the canary + padding. The user-visible allocation size is slab_size - REDZONE_TAIL, ensuring writes to the full user area cannot overwrite the canary.