[postgis-devel] [PostGIS] #1432: [RASTER] segfaults on regression testing with --enable-cassert

PostGIS trac at osgeo.org
Wed Jan 4 14:31:19 PST 2012


#1432: [RASTER] segfaults on regression testing with --enable-cassert
----------------------------+-----------------------------------------------
 Reporter:  strk            |       Owner:  dustymugs    
     Type:  defect          |      Status:  new          
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by strk):

  * owner:  pracine => dustymugs


Comment:

 What happens is that RASTER_asGDALRaster builds the "options" variable to
 be NULL terminated but trims the allocated array to the exact number of
 items thus de-allocating he terminating null.

 r8674 fixes this case, but there are more. --enable-cassert is your friend
 Bborie !

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1432#comment:2>
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