[postgis-tickets] [PostGIS] #2332: ST_GeomFromWKB crashes PostgreSQL server

PostGIS trac at osgeo.org
Thu May 16 04:37:31 PDT 2013


#2332: ST_GeomFromWKB crashes PostgreSQL server
---------------------+------------------------------------------------------
 Reporter:  dbaston  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 On closer inspection -- I think its something wrong with the way PostGIS
 parser is throwing errors (which for whatever reason only PostgreSQL
 9.2x64-bit is sensitive to).

 The reason I say this is that the same function for geography which is
 defined in exactly the same way works just fine on my 9.2 64-bit
 2.1.0beta2 and just throws the:


 {{{
 SELECT
 st_geogfromwkb('0104000020E61000000100000001010000008812F4177AE557C040745E6397943D40'::bytea);
 }}}


 {{{
 ERROR:  Invalid endian flag value encountered.
 }}}
 regardless how many times I run it.

 It too is defined with immutable strict

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