Skip to main content

KLV length damage

Flip one bit in the first BER length byte immediately after the 16-byte KLV key. This deliberately makes the encoded length inconsistent or invalid.

The BER length changes from hexadecimal 0x20 to 0x21, but the actual local set still contains 32 bytes.

SettingDefaultRangeEffect
Probability (%)10–100Chance of damaging each complete eligible metadata packet.
KLV PID (-1 = auto)-1-1–8191, integerAuto-detect metadata across PIDs or target one PID.

Payload bytes are retained and the checksum is not repaired. Use this to test malformed-length handling and parser recovery. The actual parser response depends on the original BER encoding and the receiver.

Return to KLV.