[postgis-tickets] [PostGIS] #4327: Possible problem in file raster/rt_pg/rtpostgis.c line 471
PostGIS
trac at osgeo.org
Mon Feb 18 06:03:12 PST 2019
#4327: Possible problem in file raster/rt_pg/rtpostgis.c line 471
--------------------+---------------------------
Reporter: petrum | Owner: Bborie Park
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.2
Component: raster | Version: trunk
Keywords: |
--------------------+---------------------------
While experimenting with a novel static analysis technique in CodeSonar,
we noticed the following potential problem at the next location:
FilePath: raster/rt_pg/rtpostgis.c
Function: _PG_init
Line number: 471
If the POSTGIS_ENABLE_OUTDB_RASTERS variable is set to the empty string,
the result of getenv will be deallocated at the indicated line (which is
forbidden according to the specification of getenv).
Thanks,
Petru-Florin Mihancea
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4327>
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