DragonFlyBSD Kernel Audit
DF-0521 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-0521 — static demonstration of the sun_len<pathoff underflow.
# Live kernel trigger requires root + a malformed-sockaddr source
# (defense-in-depth bug; see VERDICT.md).
set -e
cd "$(dirname "$0")"
./df0521
echo "RUN_EXIT=$?"