Opened 12 years ago

Closed 12 years ago

#1349 closed defect (fixed)

ST_AddBand is not null safe

Reported by: robe Owned by: pracine
Priority: critical Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Bborie Park, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r8303

Note: See TracTickets for help on using tickets.