diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-11 17:16:35 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-11 17:17:42 -0500 |
| commit | 717d581f9751f73e9a7cf69a02dfe73050add281 (patch) | |
| tree | c4d046bcc8bdfdb300f2beee24ce4001c011480c /src/crunch.c | |
| parent | dec390744fe3466cede66d3b1a0209ca0c6a3df8 (diff) | |
| download | alftools-717d581f9751f73e9a7cf69a02dfe73050add281.tar.gz | |
crunch.c: Safety margin for outoput_buf
Diffstat (limited to 'src/crunch.c')
| -rw-r--r-- | src/crunch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crunch.c b/src/crunch.c index 82cc095..f572192 100644 --- a/src/crunch.c +++ b/src/crunch.c @@ -21,7 +21,7 @@ extern int opt_verbose; /* alf.c, -v = 1, -vv = 2 */ u8 input_buf[MAX_INPUT_SIZE]; -u8 output_buf[MAX_INPUT_SIZE]; +u8 output_buf[MAX_INPUT_SIZE + 3]; unsigned int input_len, output_len, out_bitpos; /* sizeof(short) on my machine is 2, so this is a 2MB table. |
