mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-31 03:49:04 +00:00
Fixes (#3032)
This commit is contained in:
@@ -117,7 +117,7 @@ class BufferLineReader {
|
||||
std::strncpy(&it.line_data_[offset], buf, len);
|
||||
offset += len;
|
||||
|
||||
if (len < buf_size)
|
||||
if (len < buf_size || buf[len - 1] == '\n')
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user