[postgis-devel] [PostGIS] #1349: ST_AddBand is not null safe

PostGIS trac at osgeo.org
Sun Dec 4 16:37:51 PST 2011


#1349: ST_AddBand is not null safe
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 I was able to crash the postgres daemon when one of my procedures produced
 something like this.


 {{{
 SELECT ST_AddBand(ST_MakeEmptyRaster(271,271, 0, 0, 1, -1,0,0) ,
 NULL::raster );
 }}}

 It should just throw an error rather than crashing the postgres daemon I
 think.

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