#!/bin/sh
# run.sh -- run the DF-0265 harness. Default (no arg) uses windowBits=-8,
# the vulnerable small-window case: a SIGSEGV/SIGBUS during inflate
# (reported by the harness) proves the heap OOB read in sys/net/zlib.c.
# Pass "-15" as $1 for the control (32KiB window swallows the distance,
# no OOB).
cd "$(dirname "$0")"
./harness "$@"
echo "RUN_EXIT=$?"
