aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c2
1 files changed, 2 insertions, 0 deletions
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 <sys/stat.h>
#include <time.h>
+#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;