[postgis-tickets] [PostGIS] #3053: possible bug in geometry_geometrytype (strncat overlap)

PostGIS trac at osgeo.org
Mon Feb 23 03:14:44 PST 2015


#3053: possible bug in geometry_geometrytype (strncat overlap)
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  trunk  
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 In file included from /usr/include/string.h:640:0,
                  from /home/postgresql-9.3.4/include/server/c.h:74,
                  from /home/postgresql-9.3.4/include/server/postgres.h:47,
                  from lwgeom_ogc.c:13:
 In function ‘strncat’,
     inlined from ‘geometry_geometrytype’ at lwgeom_ogc.c:183:9:
 /usr/include/x86_64-linux-gnu/bits/string3.h:150:3: warning: call to
 __builtin___strncat_chk might overflow destination buffer [enabled by
 default]
    return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
    ^
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3053>
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