[postgis-tickets] [PostGIS] #2720: lwpoly_add_ring should update maxrings after realloc

PostGIS trac at osgeo.org
Sun Apr 27 23:48:56 PDT 2014


#2720: lwpoly_add_ring should update maxrings after realloc
-----------------------+----------------------------------------------------
 Reporter:  fatcathu   |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.2.0
Component:  liblwgeom  |     Version:  2.1.x        
 Keywords:             |  
-----------------------+----------------------------------------------------
 in lwpoly.c, lwpoly_add_ring function.

 when nrings >= maxrings, rings will be lwrealloc to the size of
 new_maxrings, then then maxrings member should be updated to new_maxrings

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