aboutsummaryrefslogtreecommitdiff
path: root/src/crunch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crunch.c')
-rw-r--r--src/crunch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crunch.c b/src/crunch.c
index ada46e8..5f21223 100644
--- a/src/crunch.c
+++ b/src/crunch.c
@@ -121,6 +121,7 @@ void inc_output_len(void) {
fprintf(stderr, "%s: fatal: compressed file would be >16MB.\n", self);
exit(1);
}
+ output_buf[output_len] = 0;
}
void append_bit(int bit) {