DragonFlyBSD Kernel Audit
DF-0701 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-DF-0701 build: dead-path demonstration (the buggy function is unreachable,
# so the PoC demonstrates the sockopt returns ENOPROTOOPT / is a no-op).
set -e
cd "$(dirname "/usr/bin/bash")"
cc -o ipfw3_sync_deadpath ipfw3_sync_deadpath.c
echo "BUILD_OK"
ls -l ipfw3_sync_deadpath