Skip to main content

MAX_RENDERED_PATH_LEN

Constant MAX_RENDERED_PATH_LEN 

Source
pub const MAX_RENDERED_PATH_LEN: usize = 1024;
Expand description

Maximum byte length of a rendered path before it is rejected.

Bounds per-event cost (path canonicalization, directory creation) and provides a coarse cap on memory blow-up from attacker-controlled fields.