[postgis-tickets] [PostGIS] #3704: ST_AsX3D returns random data / crashes client
PostGIS
trac at osgeo.org
Thu Feb 9 20:35:11 PST 2017
#3704: ST_AsX3D returns random data / crashes client
------------------------+---------------------------
Reporter: Mike Toews | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: PostGIS 2.3.3
Component: postgis | Version: 2.3.x
Keywords: |
------------------------+---------------------------
Testing ST_AsX3D on various geometries gives varied and interesting
results with PostGIS 2.3 on Windows. I think these are critical bugs,
because they return random data or crash the client.
`SELECT ST_AsX3D('POINT EMPTY');`:: has unexpected behavior, often
returning a zero-length string, or random junk like `@` or `2.3.dll`, but
sometimes raising:
> ERROR: invalid byte sequence for encoding "UTF8": 0xec 0xa3
`SELECT ST_AsX3D('LINESTRING EMPTY');`:: kills the client:
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
> !>
Non-critical bugs with other geometry types will be filed in the next bug
report...
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3704>
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