bmx-ng / pub.mod

BlitzMax NG Pub modules port.
7 stars 8 forks source link

fixed: TPipeStream::ReadLine would occasionally segfault #49

Closed ProPuke closed 2 years ago

ProPuke commented 2 years ago

It was reading a byte past the currently read buffer, and if this happened to contain a linefeed character (which happened rarely) the bufferpos would be subtracted down to -1, resulting in an erroneous memmove size