[postgis-tickets] [PostGIS] #4787: Calling ST_GEOMFROMWKB with empty byte array crashes backend

PostGIS trac at osgeo.org
Fri Nov 6 06:38:19 PST 2020


#4787: Calling ST_GEOMFROMWKB with empty byte array crashes backend
-----------------------+---------------------------
 Reporter:  topogrids  |      Owner:  pramsey
     Type:  defect     |     Status:  new
 Priority:  medium     |  Milestone:  PostGIS 3.1.0
Component:  postgis    |    Version:
 Keywords:             |
-----------------------+---------------------------
 SELECT st_geomfromwkb(''::bytea) makes backend crash, all backend
 processes will be terminated, the server goes into recovery mode.


  select postgis_version(), version();
             postgis_version            |
 version
 ---------------------------------------+---------------------------------------------------------------------------------------------------------
  3.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 | PostgreSQL 12.4 on x86_64-pc-
 linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), 64-bit

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4787>
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