diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 00:37:06 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 00:37:06 -0400 |
commit | 1849016a4c0fd3d62b0acb66e7fd0f8c92b4c6fb (patch) | |
tree | 932b2074ccc51d279ea04495b4d840a813e28ee2 /all_pairs/source/huff_enc | |
parent | 83f8b415563703d9efdf258a60f10fcca264565d (diff) |
Fix 4 more bugs in TACLeBench
- anagram: Fix two off-by-ones, the heap size, and the result
- rijndael_dec: Reset result checksum at job start
- huff_enc: Reset mutable global variables at job start
Diffstat (limited to 'all_pairs/source/huff_enc')
-rw-r--r-- | all_pairs/source/huff_enc/huff_enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/all_pairs/source/huff_enc/huff_enc.c b/all_pairs/source/huff_enc/huff_enc.c index f2db552..6a0b901 100644 --- a/all_pairs/source/huff_enc/huff_enc.c +++ b/all_pairs/source/huff_enc/huff_enc.c | |||
@@ -153,6 +153,8 @@ void huff_enc_init( void ) | |||
153 | { | 153 | { |
154 | huff_enc_input_pos = 0; | 154 | huff_enc_input_pos = 0; |
155 | huff_enc_output_pos = 0; | 155 | huff_enc_output_pos = 0; |
156 | huff_enc_byte_nb_to_write = 0; | ||
157 | huff_enc_val_to_write = 0; | ||
156 | } | 158 | } |
157 | 159 | ||
158 | 160 | ||