mirror of
https://github.com/MariaDB/server.git
synced 2026-04-19 06:45:32 +02:00
MDEV-38372 ASAN error in InnoDB on malformed WKB
Geometry::is_binary_valid() method added, and used to check WKB before storing in the engine.
This commit is contained in:
parent
64c9efbfa5
commit
9fc46b8857
5 changed files with 50 additions and 15 deletions
|
|
@ -17283,8 +17283,7 @@ set f1 = f1;
|
|||
return f1;
|
||||
END//
|
||||
SELECT fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
|
||||
fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@')
|
||||
| ||||