Opened 13 years ago

Closed 13 years ago

#1263 closed defect (fixed)

[raster] md5(NULL::raster) crashes the process

Reported by: dustymugs Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

The following crashes the postgresql process.

SELECT md5(NULL::raster)

Crash is caused in RASTER_to_bytea() where arg 0 is NULL.

pgraster = (rt_pgraster *) PG_DETOAST_DATUM(PG_GETARG_DATUM(0));

Change History (1)

comment:1 by dustymugs, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r8102

Note: See TracTickets for help on using tickets.