• MySQL Build Team's avatar
    Backport into mysql-5.1.34sp1-release · e4e5c649
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 1810.3885.1
    > revision-id: holyfoot@mysql.com-20090428094726-i4j7z985mxr43jym
    > parent: gshchepa@mysql.com-20090428001913-plzojd1pwplior44
    > committer: Alexey Botchkov <holyfoot@mysql.com>
    > branch nick: 50mrg
    > timestamp: Tue 2009-04-28 14:47:26 +0500
    > message:
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >      the Point() and Linestring() functions create WKB representation of an
    >      object instead of an real geometry object.
    >      That produced bugs when these were inserted into tables.
    >   
    >      GIS tests fixed accordingly.
    >               
    >   per-file messages:
    >     mysql-test/r/gis-rtree.result
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >       test result
    >     mysql-test/r/gis.result
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >       test result
    >     mysql-test/t/gis-rtree.test
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >       test fixed - GeomFromWKB invocations removed
    >     mysql-test/t/gis.test
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >       test fixed - AsWKB invocations added
    >     sql/item_geofunc.cc
    >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
    >        Point() and similar functions to create a proper object
    e4e5c649
item_geofunc.cc 16.5 KB