DF-0935 / run.sh
#!/bin/sh # run.sh — DF-0935 disprove the claimed overflow # Usage: ./run.sh (after ./build.sh, as unprivileged user) set -e echo "=== Original PoC (default rlimits, inflates 6 uncapped resources) ===" ./dfpoc-rlimit-overflow echo echo "=== Theoretical maximum output across three cap scenarios ===" ./maxcalc echo echo "=== Empirical: maximally inflate all 12 rlimits, read /proc/self/rlimit ===" ./maxinflate echo echo "RESULT: no overflow on any achievable configuration (max = 499 bytes < 512)." |