diff --git a/server/modules/protocol/MySQL/mariadbclient/setparser.hh b/server/modules/protocol/MySQL/mariadbclient/setparser.hh index 5c89aeda9..5caad7ab2 100644 --- a/server/modules/protocol/MySQL/mariadbclient/setparser.hh +++ b/server/modules/protocol/MySQL/mariadbclient/setparser.hh @@ -185,7 +185,7 @@ public: bypass_whitespace(); - if (is_set(m_pI)) + if (m_pEnd - m_pI > 3 && is_set(m_pI)) { rv = parse(pResult); }