Fix buffer overrun on non-terminated comment
Also made the behavior consistent when an incomplete comment is found.
This commit is contained in:
committed by
Johan Wikman
parent
7f978f275f
commit
9542641dae
@ -9,3 +9,7 @@ SELECT ? /*! +? */;
|
||||
SELECT ? /*!? +? */;
|
||||
SELECT ? /*M! +? */;
|
||||
SELECT ? /*M!? +? */;
|
||||
SELECT ?
|
||||
SELECT ?
|
||||
SELECT ?
|
||||
SELECT ?
|
||||
|
||||
@ -9,3 +9,7 @@ SELECT 1 /*! +1 */;
|
||||
SELECT 1 /*!50101 +1 */;
|
||||
SELECT 2 /*M! +1 */;
|
||||
SELECT 2 /*M!50101 +1 */;
|
||||
SELECT 2 /*
|
||||
SELECT 2 /*
|
||||
SELECT 2 /*/
|
||||
SELECT 2 /**/
|
||||
|
||||
Reference in New Issue
Block a user