[Bug 459178] Re: ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated

2015-12-26 Thread Bas Couwenberg
This should be fixed in precise and later.

** Changed in: gdal (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/459178

Title:
  ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo
  terminated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdal/+bug/459178/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459178] Re: ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated

2009-11-14 Thread Even Rouault
Likely a duplicate of
https://bugs.launchpad.net/ubuntu/+source/gdal/+bug/271670

-- 
ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated
https://bugs.launchpad.net/bugs/459178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459178] Re: ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated

2009-10-23 Thread Russell McOrmond
At http://geogratis.cgdi.gc.ca/geogratis/en/option/select.do?id=1169
there are  shapefiles which represent the electoral districts of Canada,
for election years 2000, 2004, 2006 and 2008.

In 2000 it was not the same boundaries as they are now (they changed in
2003 -- and will again in 2013).

In 2004 it is the right boundaries, with only the electoral ID as data:
FED_NUM: Integer (9.0)


This worked:
ogr2ogr -s_srs ESRI::fed308.2004/fed308_a.prj -t_srs WGS84 -f KML 
fed308.2004_a.kml fed308.2004/fed308_a.shp -dsco NameField=FED_NUM -dsco 
DescriptionField=FED_NUM
  The output KML can be browsed with Google Earth (too big for Google Maps)


In 2006 they added more information, and now ogr tools core dump with a buffer 
overflow.
AREA: Real (20.5)
PERIMETER: Real (20.5)
FED308_A_: Real (11.0)
FED308_A_I: Real (11.0)
FED_NUM: Real (11.0)
ED_NAMEE: String (100.0)
ED_NAMEF: String (100.0)

In 2008 they added even more information:
AREA: Real (19.5)
PERIMETER: Real (19.5)
FED_NUM: Integer (9.0)
FED_TYPE: String (4.0)
ED_ID: Integer (7.0)
ED_NAMEE: String (100.0)
ED_NAMEF: String (100.0)
ELCT_CNT: Integer (6.0)
OBJECTID: Integer (10.0)
SHAPE_AREA: Real (19.11)
SHAPE_LEN: Real (19.11)
PARTY_WIN: String (1.0)

Here is what happens with the 2008 data:

$ ogr2ogr -s_srs ESRI::fed308.2008/fed308_a.prj -t_srs WGS84 -f KML 
fed308.2008_a.kml fed308.2008/fed308_a.shp -dsco NameField=FED_NUM -dsco 
DescriptionField=FED_NUM
*** buffer overflow detected ***: ogr2ogr terminated
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x80ede8]
/lib/tls/i686/cmov/libc.so.6[0x80de20]
/lib/tls/i686/cmov/libc.so.6[0x80d779]
/lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0x80d664]
/usr/lib/libgdal1.5.0.so.1(_ZN10OGRFeature16GetFieldAsStringEi+0x34e)[0x4d93be]
/usr/lib/libgdal1.5.0.so.1(_ZN11OGRKMLLayer13CreateFeatureEP10OGRFeature+0x2ec)[0x46cffc]
ogr2ogr[0x80496d2]
ogr2ogr[0x804a541]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x744b56]
ogr2ogr[0x80491b1]


** Visibility changed to: Public

-- 
ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated
https://bugs.launchpad.net/bugs/459178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459178] Re: ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated

2009-10-23 Thread Alan Boudreault
Did you tested with gdal 1.6.2 ? You can do a simple test somewhere with
those gdal packages: https://launchpad.net/~ubuntugis/+archive/ppa

-- 
ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated
https://bugs.launchpad.net/bugs/459178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 459178] Re: ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated

2009-10-23 Thread Russell McOrmond
Alan,

I haven't tested yet.  The Ubuntu machine I have here is already running
Ubuntu 9.10 (karmic), which doesn't have packages yet
http://ppa.launchpad.net/ubuntugis/ppa/ubuntu/dists/ .  Looking forward
to adding this to my repositories as I'll likely want to follow the
latest on this desktop.

Thank you.

-- 
ogrinfo assert failure: *** buffer overflow detected ***: ogrinfo terminated
https://bugs.launchpad.net/bugs/459178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs