mirror of
https://github.com/red0124/ssp.git
synced 2026-04-07 02:29:56 +02:00
Fix buffer overflow on multiline restricted with unterminated quote and multiple empty lines (#41)
This commit is contained in:
@@ -269,6 +269,7 @@ private:
|
||||
|
||||
void handle_error_multiline_limit_reached() {
|
||||
constexpr static auto error_msg = "multiline limit reached";
|
||||
splitter_.unterminated_quote_ = false;
|
||||
|
||||
if constexpr (string_error) {
|
||||
error_.clear();
|
||||
|
||||
Reference in New Issue
Block a user