MemoryInputStream doesn't initialise dataSize

Just a quick report: The constructor of MemoryInputStream that takes a MemoryBlock&& rvalue doesn’t initialise the dataSize field. This can lead to out-of-bounds access later in MemoryInputStream::read.

Thanks! We’ll get that sorted out.

1 Like