DragonFlyBSD Kernel Audit
DF-2664 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-2664 — run the userspace harness as the unprivileged user.
#   Test A:  inputSize==0  -> SIGSEGV inside LZ4_decompress_safe (the bug)
#   Test A2: inputSize==1  -> clean decode of the canonical null stream
#   Test B:  1,000,000-iteration guard-paged fuzz -> 0 faults (negative proof)
set -eu
cd "$(dirname "$0")"
./lz4_zero_input_harness 1000000