mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fixed memory overrun in spatial init code
sql/spatial.cc: Fixed memory overrun sql/spatial.h: Fixed memory overrun
This commit is contained in:
@@ -251,7 +251,7 @@ public:
|
||||
}
|
||||
|
||||
bool envelope(String *result) const;
|
||||
static Geometry::Class_info *ci_collection[Geometry::wkb_end];
|
||||
static Geometry::Class_info *ci_collection[Geometry::wkb_end+1];
|
||||
|
||||
protected:
|
||||
static Class_info *find_class(int type_id)
|
||||
|
Reference in New Issue
Block a user