diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-29 04:12:07 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-29 04:12:07 -0500 |
| commit | 25380d9b6846574b1bad03708226f7bf346b8391 (patch) | |
| tree | 6d5865c224c4a155f193e51ecd880572b6fefd7b /src/alf.c | |
| parent | 8b4a168475a005d7fc4a298321688fccdb2f8ba3 (diff) | |
| download | alftools-25380d9b6846574b1bad03708226f7bf346b8391.tar.gz | |
alf: Sanity-check generated Atari filenames.
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
