aboutsummaryrefslogtreecommitdiff
path: root/src/crunch.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-12-11 17:16:35 -0500
committerB. Watson <urchlay@slackware.uk>2025-12-11 17:17:42 -0500
commit717d581f9751f73e9a7cf69a02dfe73050add281 (patch)
treec4d046bcc8bdfdb300f2beee24ce4001c011480c /src/crunch.h
parentdec390744fe3466cede66d3b1a0209ca0c6a3df8 (diff)
downloadalftools-717d581f9751f73e9a7cf69a02dfe73050add281.tar.gz
crunch.c: Safety margin for outoput_buf
Diffstat (limited to 'src/crunch.h')
-rw-r--r--src/crunch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crunch.h b/src/crunch.h
index 4db2f1a..b977ede 100644
--- a/src/crunch.h
+++ b/src/crunch.h
@@ -1,7 +1,7 @@
#define MAX_INPUT_SIZE (1 << 24)
extern u8 input_buf[MAX_INPUT_SIZE];
-extern u8 output_buf[MAX_INPUT_SIZE];
+extern u8 output_buf[MAX_INPUT_SIZE + 3];
extern unsigned int input_len, output_len, out_bitpos;
void crunch(void);