mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 10:41:12 +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;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
std::vector<char> temp;
|
std::vector<char> temp;
|
||||||
temp.resize(header.size);
|
temp.resize(header.size-sizeof(uint32_t));
|
||||||
fh.read(temp.data(), temp.size());
|
fh.read(temp.data(), temp.size());
|
||||||
|
|
||||||
stream.avail_in = header.size;
|
stream.avail_in = header.size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user