Opened 8 years ago

Closed 8 years ago

#1263 closed defect (fixed)

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

Reported by: Bborie Park Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: trunk
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 Changed 8 years ago by Bborie Park

Resolution: fixed
Status: newclosed

Fixed in r8102

Note: See TracTickets for help on using tickets.