mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Fix read overrun
This commit is contained in:
@@ -64,6 +64,7 @@ bool PortabilityLayer::DeflateCodec::DecompressStream(GpIOStream *stream, size_t
|
||||
|
||||
zstream.avail_in = sizeToRead;
|
||||
zstream.next_in = buffer;
|
||||
inSize -= sizeToRead;
|
||||
}
|
||||
|
||||
int result = inflate(&zstream, Z_NO_FLUSH);
|
||||
|
Reference in New Issue
Block a user