mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-11 20:56:04 -05:00
Fix readrpl temp zlib buffer size
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user