[postgis-devel] [PostGIS] #1263: [raster] md5(NULL::raster) crashes the process
PostGIS
trac at osgeo.org
Tue Nov 1 15:49:14 PDT 2011
#1263: [raster] md5(NULL::raster) crashes the process
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
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));
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1263>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list