Opened 15 years ago
Closed 15 years ago
#277 closed defect (fixed)
ST_As* crashes on huge number
Reported by: | colivier | Owned by: | colivier |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 1.4.1 |
Component: | postgis | Version: | 1.4.X |
Keywords: | Cc: |
Description
Following query crash PostgreSQL server
SELECT ST_AsGML(2, GeomFromText('POINT(1 1e308)'));
Impacted: ST_AsGML, ST_AsKML, ST_AsGeoJson, ST_AsSVG on 1.4.x and trunk branches
Attachments (2)
Change History (3)
by , 15 years ago
Attachment: | unit_test.sql added |
---|
by , 15 years ago
Attachment: | unit_test_result added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix commited in 1.4 as r4681 and in trunk as r4682
Define a MAX_DOUBLE number, if data beyond these limit scientific notation is used.
Regressions tests (and results) attached