mz_avro::util

Constant MAX_ALLOCATION_BYTES

Source
pub const MAX_ALLOCATION_BYTES: usize = _; // 536_870_912usize
Expand description

Maximum number of bytes that can be allocated when decoding Avro-encoded values. This is a protection against ill-formed data, whose length field might be interpreted as enormous.