mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCompress: Fix uninitialized member variable in Zlib, found by Coverity
This commit is contained in:
committed by
Andreas Kling
parent
ff0c7da75d
commit
82dbf76dee
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user