Opened 7 years ago

Closed 7 years ago

#3923 closed defect (fixed)

lwgeom deserialized with bogus max* attributes

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description

I noticed while debugging that the lwgeom_from_gserialized function does not set the maxgeom, maxrings information on the objects it is creating. The pointarrays do have correct maxpoints set, but it seems dangerous to not have the bounds set on the other pointer arrays.

Change History (2)

comment:1 by robe, 7 years ago

Milestone: PostGIS 2.5.0

comment:2 by pramsey, 7 years ago

Resolution: fixed
Status: newclosed

In 16142:

Make sure max* slots are filled in when deserializing (closes #3923)

Note: See TracTickets for help on using tickets.