diff options
author | monty@mysql.com <> | 2004-03-16 00:42:10 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-16 00:42:10 +0200 |
commit | a6ba9f3cbc382647cae3f62b11ba84bb7bc295ae (patch) | |
tree | 4fb956f41d3d1d9d7e092a6304f23aeafada895f /sql/spatial.cc | |
parent | 56af3931e0e7352f6fa8a130f51a5301fb6eb0ce (diff) | |
download | mariadb-git-a6ba9f3cbc382647cae3f62b11ba84bb7bc295ae.tar.gz |
Fixed memory overrun in spatial init code
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r-- | sql/spatial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc index ec6bfb307b9..ab415d9af10 100644 --- a/sql/spatial.cc +++ b/sql/spatial.cc @@ -19,7 +19,7 @@ /***************************** Gis_class_info *******************************/ -Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_end]= +Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_end+1]= { NULL, NULL, NULL, NULL, NULL, NULL, NULL }; |