[postgis-tickets] [PostGIS] #3980: [SFCGAL] Potential access to	freed memory
    PostGIS 
    trac at osgeo.org
       
    Fri Jan 12 00:49:02 PST 2018
    
    
  
#3980: [SFCGAL] Potential access to freed memory
----------------------+---------------------------
  Reporter:  lucasvr  |      Owner:  colivier
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.4.3
 Component:  sfcgal   |    Version:  2.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by strk):
 All memory in PosgreSQL is allocated in "pools"
 and the DETOAST memory pool will be freed up
 upon elog(ERROR, ...) so that's not a problem.
 I guess POSTGIS2SFCGALGeometry will fully copy
 the data to SFCGAL representation, so there's
 no problem freening the input after that,
 it's just lwgeom_from_gserialized that holds
 references to serialized memory.
 BTW, the patch does not apply cleanly to
 current trunk nor to current tip of 2.4
 branch
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3980#comment:3>
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