From 1849016a4c0fd3d62b0acb66e7fd0f8c92b4c6fb Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 00:37:06 -0400 Subject: 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 --- all_pairs/source/huff_enc/huff_enc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'all_pairs/source/huff_enc/huff_enc.c') 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 ) { huff_enc_input_pos = 0; huff_enc_output_pos = 0; + huff_enc_byte_nb_to_write = 0; + huff_enc_val_to_write = 0; } -- cgit v1.2.2