DragonFlyBSD Kernel Audit
DF-0746 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0746 run — execute the BUGGY transcription first (UAF read confirmed),
# then the FIXED transcription (read eliminated).
set -e
cd "$(dirname "$0")"
echo "===== BUGGY transcription (l2cap_rtx as in sys/netbt/l2cap_misc.c) ====="
./harness; echo "HARNESS_RC=$?"
echo
echo "===== FIXED transcription (lr_id captured before free) ====="
./harness_fixed; echo "HARNESS_FIXED_RC=$?"