[postgis-devel] [PostGIS] #1150: Prevent people from inserting entries in spatial_ref_sys with no proj4text

PostGIS trac at osgeo.org
Tue Oct 11 03:07:16 PDT 2011


#1150: Prevent people from inserting entries in spatial_ref_sys with no proj4text
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.4
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Robe: I get no crash, but an exception, when proj4text is empty:

 {{{
 =# select st_transform('srid=4326;POINT(0 0)'::geometry, 2046);ERROR:
 AddToPROJ4SRSCache: couldn't parse proj4 string: '': (null)
 }}}

 This is with current (svn r7968) PostGIS
 Can you reproduce a real crash on windows with it ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1150#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