[postgis-tickets] [PostGIS] #2772: Memory corruption in ST_BandPath
PostGIS
trac at osgeo.org
Fri Jun 20 08:41:44 PDT 2014
#2772: Memory corruption in ST_BandPath
--------------------+-------------------------------------------------------
Reporter: strk | Owner: dustymugs
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.1.4
Component: raster | Version: 2.1.x
Keywords: |
--------------------+-------------------------------------------------------
The ST_BandPath code contains memory error resulting in random memory
being dumped for offline bands, see #2771.
Indeed the code seems to be destroying the memory containing the string
before copying it to final value for return:
https://github.com/postgis/postgis/blob/2.1.3/raster/rt_pg/rt_pg.c#L2619-L2628
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2772>
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-tickets
mailing list