mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 22:15:07 +00:00
LibCompress: Fix uninitialized member variable in Zlib, found by Coverity
This commit is contained in:
parent
ff0c7da75d
commit
82dbf76dee
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ Zlib::Zlib(ReadonlyBytes data)
|
|||
m_check_bits = flags & 0xF;
|
||||
m_has_dictionary = (flags >> 5) & 0x1;
|
||||
m_compression_level = (flags >> 6) & 0x3;
|
||||
m_checksum = 0;
|
||||
|
||||
ASSERT(m_compression_method == 8);
|
||||
ASSERT(m_compression_info == 7);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue