[postgis-devel] [PostGIS] #571: TRIANGLE and TIN fails crash me test (was: TRIANGLE fails crash me test)

PostGIS trac at osgeo.org
Tue Aug 17 14:16:58 PDT 2010


#571: TRIANGLE and TIN fails crash me test
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  reopened     
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 More hotspots


 {{{
 SELECT ST_Boundary(ST_GeomFromEWKT(
 'TRIANGLE ((
                 0 0,
                 0 9,
                 9 0,
                 0 0
             ))') ;

 SELECT ST_IsValid(ST_GeomFromEWKT(
 'TRIANGLE ((
                 0 0,
                 0 9,
                 9 0,
                 0 0
             ))') );

 SELECT ST_IsValid(ST_GeomFromEWKT('TIN (((
                 0 0 0,
                 0 0 1,
                 0 1 0,
                 0 0 0
             )), ((
                 0 0 0,
                 0 1 0,
                 1 1 0,
                 0 0 0
             ))
             )') );
 }}}

 I suspect pretty much any GEOS function will crash the server when
 confronted with TRIANGLE or TIN.

 Probably related to #570.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/571#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list