Opened 10 years ago

Closed 10 years ago

#3086 closed defect (fixed)

[RASTER] ST_DumpValues() with out-of-domain parameters may crash the back-end

Reported by: kain Owned by: dustymugs
Priority: critical Milestone: PostGIS 2.1.7
Component: raster Version: 2.1.x
Keywords: ST_DumpValues, history Cc:

Description

Run this SQL and the back-end crashes.

A brief description:

when I created a raster table with band 1 and band 2, and queries band numbers other than (1,2) with ST_DumpValues(), then query returns errors and the back-end restarts…

Software environment:

Redhat Enterprise Linux 5, PostgreSQL 9.3.5, PostGIS 2.1.5

And, I've fixed it already, :) I've fix

Attachments (1)

st_dumpvalues.sql (528 bytes ) - added by kain 10 years ago.

Download all attachments as: .zip

Change History (10)

by kain, 10 years ago

Attachment: st_dumpvalues.sql added

comment:1 by robe, 10 years ago

Milestone: PostGIS 2.1.7

comment:2 by dustymugs, 10 years ago

Priority: highcritical

comment:3 by dustymugs, 10 years ago

Status: newassigned

comment:4 by kain, 10 years ago

if necessary, I can attach my patch file here, or through GIT etc.

comment:5 by robe, 10 years ago

If you have fixed it, then just go ahead and attach it to this ticket and Bborie will take a look next he gets the chance.

comment:6 by dustymugs, 10 years ago

Ah. I see the problem. Fixes posted shortly…

comment:7 by dustymugs, 10 years ago

Fixed in master as of r13390.

in reply to:  7 comment:8 by kain, 10 years ago

Replying to dustymugs:

Fixed in master as of r13390.

Cool, I fix it in the same way, but you do it quicker, :)

comment:9 by dustymugs, 10 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed

Fixed in 2.1 as of r13393

Note: See TracTickets for help on using tickets.