Opened 10 years ago
Closed 10 years ago
#2720 closed defect (fixed)
lwpoly_add_ring should update maxrings after realloc
Reported by: | fatcathu | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.7 |
Component: | liblwgeom | Version: | 2.0.x |
Keywords: | Cc: |
Description
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
Change History (1)
comment:1 by , 10 years ago
Milestone: | PostGIS 2.2.0 → PostGIS 2.0.7 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 2.1.x → 2.0.x |
Note:
See TracTickets
for help on using tickets.
Fixed in 2.0 at r12909, 2.1 at r12910, trunk at r12911