[postgis-tickets] [PostGIS] #2773: Invalid reads in rt_raster_gdal_rasterize

PostGIS trac at osgeo.org
Fri Jun 20 09:05:48 PDT 2014


#2773: Invalid reads in rt_raster_gdal_rasterize
--------------------+-------------------------------------------------------
 Reporter:  strk    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  high    |   Milestone:  PostGIS 2.0.7
Component:  raster  |     Version:  2.0.x        
 Keywords:          |  
--------------------+-------------------------------------------------------
 Running "make check" in 2.0 branch, with GDAL trunk (2.0.0) installed:
 {{{
 ==18483== Invalid read of size 4
 ==18483==    at 0x5420C20: GDALDataset::GetShared() (gdaldataset.cpp:1112)
 ==18483==    by 0x542127A: GDALClose (gdaldataset.cpp:2603)
 ==18483==    by 0x41E4F6: rt_raster_gdal_rasterize (rt_api.c:10568)
 ==18483==    by 0x40AE63: testGDALRasterize (testapi.c:1894)
 ==18483==    by 0x4058EF: main (testapi.c:2857)
 ==18483==  Address 0xef10aa0 is 80 bytes inside a block of size 280 free'd
 ==18483==    at 0x4C2BADC: operator delete(void*) (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==18483==    by 0x5428CA5: GDALDriverManager::~GDALDriverManager()
 (gdaldrivermanager.cpp:196)
 ==18483==    by 0x5428E08: GDALDriverManager::~GDALDriverManager()
 (gdaldrivermanager.cpp:297)
 ==18483==    by 0x41E4EE: rt_raster_gdal_rasterize (rt_api.c:10566)
 ==18483==    by 0x40AE63: testGDALRasterize (testapi.c:1894)
 ==18483==    by 0x4058EF: main (testapi.c:2857)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2773>
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