mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[escher] Fix bug in text area (afl-fuzz)
This commit is contained in:
@@ -116,7 +116,7 @@ int TextArea::Text::removeRemainingLine(size_t index, int direction) {
|
||||
} else {
|
||||
m_buffer[++jump] = m_buffer[k+1];
|
||||
}
|
||||
if (m_buffer[k] == 0) {
|
||||
if (m_buffer[k] == 0 || m_buffer[k+1] == 0) {
|
||||
return delta;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user