DragonFlyBSD Kernel Audit
DF-0351 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
# DF-0351 run — demonstrates the uint32 metric-accumulation overflow
# (route poisoning) on the "vulnerable" code path and confirms the
# saturating-add "fix" path rejects the attack.
cd "$(dirname "$0")"
./hwmp_metric_overflow
echo "RUN_EXIT=$?"