From 25380d9b6846574b1bad03708226f7bf346b8391 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Nov 2025 04:12:07 -0500 Subject: alf: Sanity-check generated Atari filenames. --- src/alf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/alf.c') diff --git a/src/alf.c b/src/alf.c index 916958d..7559eae 100644 --- a/src/alf.c +++ b/src/alf.c @@ -7,6 +7,7 @@ #include #include +#include "sanity.h" #include "self.h" #ifndef u8 @@ -155,6 +156,7 @@ void create_header(void) { atarify_filename(hdr_filename); printf("Crunching %s\n", hdr_filename); + sanity_check_filename(hdr_filename); if(opt_alftime) time = 0x03130588; -- cgit v1.2.3