fix: hardening

This commit is contained in:
fufsob committed 2026-09-30 09:16:21 +00:00
1 parent f609334849
commit 18a2049a1c
19 files changed
+486 -119

No files matched your search

+3 -1
View File
@@ -583,7 +583,9 @@ let
echo "proxy-suite: $1 is not a regular file" >&2
return 1
fi
${pkgs.coreutils}/bin/dd if="$1" iflag=nofollow,nonblock status=none
# A MiB at most: an entry is a URL or one outbound, and the start script holds
# what it reads in shell variables.
${pkgs.coreutils}/bin/dd if="$1" iflag=nofollow,nonblock,fullblock bs=1M count=1 status=none
;;
*) ${pkgs.coreutils}/bin/cat -- "$1" ;;
esac