Skip to content

Commit

Permalink
Reduce logging on huffman
Browse files Browse the repository at this point in the history
  • Loading branch information
louve committed Aug 27, 2024
1 parent 0d57c0c commit 2f3989f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Utils/Huffman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ namespace Utils::Huffman
if (++outputBitCount >= outputSize * 8)
{
// some symbols take more than 8 bits to (de)compress, so the check in the outer loop isn't adequate to prevent OOB in the inner loop
Components::Logger::Debug("Huffman compression out-of-bounds write detected!");
break;
}
}
Expand All @@ -55,7 +54,6 @@ namespace Utils::Huffman
if (++inputBitCount >= inputSize * 8)
{
// some symbols take more than 8 bits to (de)compress, so the check in the outer loop isn't adequate to prevent OOB in the inner loop
Components::Logger::Debug("Huffman decompression out-of-bounds read detected!");
break;
}
}
Expand Down

0 comments on commit 2f3989f

Please sign in to comment.