mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 07:41:10 +01:00
Fix readrpl temp zlib buffer size
This commit is contained in:
parent
91dde76fbb
commit
9e4bd3a8b5
@ -591,7 +591,7 @@ bool readSection(std::ifstream &fh, elf::SectionHeader &header, std::vector<char
|
||||
return false;
|
||||
} else {
|
||||
std::vector<char> temp;
|
||||
temp.resize(header.size);
|
||||
temp.resize(header.size-sizeof(uint32_t));
|
||||
fh.read(temp.data(), temp.size());
|
||||
|
||||
stream.avail_in = header.size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user