Opened 2 years ago

Last modified 21 months ago

#3055 assigned defect

[raster] ST_Clip() on a raster without band crashes the server

Reported by: pracine Owned by: dustymugs
Priority: high Milestone: PostGIS 2.1.9
Component: raster Version: 2.1.x
Keywords: Cc:

Description

SELECT ST_Clip(ST_MakeEmptyRaster(42, 42, 0, 0, 1.0, 1.0, 0, 0, 4269), ST_MakeEnvelope(0, 0, 20, 20, 4269));

crashes the server.

When the ST_Clip() crop parameter is set to TRUE, ST_Clip() could just change the extent of the empty raster.... When it is set to false, it could just return the raster unmodified.

Change History (5)

comment:1 Changed 2 years ago by dustymugs

Status: newassigned

comment:2 Changed 2 years ago by dustymugs

Milestone: PostGIS 2.1.6
Priority: mediumhigh

comment:3 Changed 2 years ago by pramsey

Milestone: PostGIS 2.1.6PostGIS 2.1.7

comment:4 Changed 2 years ago by robe

Milestone: PostGIS 2.1.7PostGIS 2.1.8

comment:5 Changed 21 months ago by pramsey

Milestone: PostGIS 2.1.8PostGIS 2.1.9
Note: See TracTickets for help on using tickets.