[postgis-devel] [PostGIS] #1335: ST_AddPoint returns incorrect result on Linux

PostGIS trac at osgeo.org
Tue Nov 29 11:46:14 PST 2011


#1335: ST_AddPoint returns incorrect result on Linux
---------------------------+------------------------------------------------
 Reporter:  realityexists  |       Owner:  pramsey      
     Type:  defect         |      Status:  new          
 Priority:  critical       |   Milestone:  PostGIS 2.0.0
Component:  postgis        |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by rouault):

 * cc: rouault (added)


Comment:

 The issue is an incorrect use of memcpy() instead of memmove() because of
 overlapping source/destination. So the result depends on implementations.
 I've fixed the addpoint and removepoint cases, but haven't done an
 extensive review of other potential similar errors.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1335#comment:6>
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-devel mailing list