DragonFlyBSD Kernel Audit
DF-2664 / fix_run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
# DF-2664 fix validation (unit level): the FIXED decoder (r96/v1.9.4 guard restored)
# must return -1 for inputSize==0 WITHOUT any fault, and stay green on the fuzz.
set -eu
cd "$(dirname "$0")"
cc -O2 -Wall -o lz4_zero_input_fixed lz4_zero_input_fixed.c 2>/dev/null
./lz4_zero_input_fixed 1000000