mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-16 15:27:11 -05:00
GCZ: use 64-bit for m_data_offset
A malicious GCZ file could probably force this to be negative. Shouldn't cause any issues other than file read failures, but need to fix because it is causing errors on MSVC.
This commit is contained in:
committed by
OatmealDome
parent
fe4b08bc37
commit
289ff60cc2
@@ -72,7 +72,7 @@ private:
|
||||
CompressedBlobHeader m_header = {};
|
||||
std::vector<u64> m_block_pointers = {};
|
||||
std::vector<u32> m_hashes = {};
|
||||
int m_data_offset = 0;
|
||||
u64 m_data_offset = 0;
|
||||
File::DirectIOFile m_file = {};
|
||||
u64 m_file_size = 0;
|
||||
std::vector<u8> m_zlib_buffer = {};
|
||||
|
||||
Reference in New Issue
Block a user