Opened 6 years ago
Closed 6 years ago
#4236 closed defect (fixed)
gidx_to_string doesn't allocate enough memory
Reported by: | Algunenano | Owned by: | Algunenano |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 3.0.0 |
Component: | postgis | Version: | 2.2.x |
Keywords: | Cc: |
Description
Manifested in some logs:
got boxes GIDX( 4.99354171753 1.33285224438 -3.40282346639e+38 3.34260988235, 91.8126296997 100.783157349 3.40282346639e+38 98.150138855 )� and GIDX( 67.4631118774 3.76653146744, 76.9421615601 23.6310768127 ) got boxes GIDX( 7.67286014557 3.55379080772 -3.40282346639e+38 1.00054788589, 96.2146835327 99.1751022339 3.40282346639e+38 94.6226959229 �
For " %.12g"
you need at most 20 chars, but is reserving only 15.
Code has been this way since it was introduced, so all supported releases are affected.
Note:
See TracTickets
for help on using tickets.
All supported releases are affected