⬢ DragonFlyBSD Kernel Audit
DF-3455 / fixrun.sh
← back to finding ↓ download raw
#!/bin/sh
# A/B: the FIXED builds must NOT fault on the previously-OOB inputs
cd "$(dirname "$0")"
run() { ./$1 $2 > /tmp/fx.out 2>&1; rc=$?; if [ $rc -eq 0 ] && grep -q FIXED /tmp/fx.out; then
	echo "FIXED-OK ($rc): $3"; else echo "FIXED-BAD (rc=$rc): $3"; cat /tmp/fx.out | head -3; fi }
run df3324f oob "DF-3324 parse_ath length check"
run df3325f oob "DF-3325 hostap pre-dispatch length gate"
run df3342hf oob "DF-3342 sta pre-dispatch length gate"
run df3416f oob "DF-3416 adhoc pre-dispatch length gate"
run df3329f 1 "DF-3329 preq IE bound"
run df3329f 2 "DF-3329 perr IE bound"
run df3329f 3 "DF-3329 perr walk bound"
run df3341f oob "DF-3341 TIM length check"
run df3374f 1 "DF-3374 CSA length check"
run df3374f 2 "DF-3374 CSA length check"
run df3343f oob "DF-3343 MCS index clamp"
run df3284f 1 "DF-3284 802.3 header gate"
run df3284f 2 "DF-3284 802.3 header gate"
run df3274f uaf "DF-3274 capture length before free"
run df3322f null "DF-3322 rcvif NULL guard"
run df3393f oob "DF-3393 stored-key clamp"
run df3442f oob "DF-3442 name termination check"
run df3346f poison "DF-3346 attach-before-publish"
run df3347f poison "DF-3347 abort on create failure"