[postgis-tickets] [PostGIS] #2195: [Security] Crash Postgres Service when call ST_OffsetCurve with Identicall point in LineString

PostGIS trac at osgeo.org
Wed Jan 30 12:21:23 PST 2013


#2195: [Security] Crash Postgres Service when call ST_OffsetCurve with Identicall
point in LineString
---------------------------------------------+------------------------------
 Reporter:  unnamed38                        |       Owner:  pramsey      
     Type:  defect                           |      Status:  new          
 Priority:  high                             |   Milestone:  PostGIS 2.0.3
Component:  postgis                          |     Version:  2.0.x        
 Keywords:  ST_offsetCurve Crash postgres 9  |  
---------------------------------------------+------------------------------

Comment(by robe):

 This doesn't seem to crash on my 2.1.0 9.2 64-bit windows:

 {{{
 PostgreSQL 9.2.2, compiled by Visual C++ build 1600,
 64-bitPOSTGIS="2.1.0SVN r11008" GEOS="3.4.0dev-CAPI-1.8.0 r0" PROJ="Rel.
 4.8.0, 6 March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" RASTER
 }}}

 Just gives error:


 {{{
 ERROR:  GEOSOffsetCurve: IllegalArgumentException: RobustDeterminant
 encountered non-finite numbers

 }}}

 so might be an already fixed bug in GEOS.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2195#comment:1>
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-tickets mailing list