Re: [OSM-dev] bug in tirex mapnik backend?

2015-12-16 Thread Frederik Ramm
Hi,

On 12/16/2015 01:41 PM, Stefano Salvador wrote:
> I'm trying to set up a tile server with tirex but using the latest svn
> code the mapnik backend fails with a buffer overflow.

I've wanted to move tirex from SVN to git, and created

https://github.com/geofabrik/tirex

where the bug you describe has been fixed a while ago. I then had second
thoughts about hosting it on "geofabrik" and wondered if it should
rather be on "openstreetmap" and then procrastinated, failing to
actually remove the SVN repo and replace it with a "moved to github"
message as I had originally intended.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] bug in tirex mapnik backend?

2015-12-16 Thread Stefano Salvador
Hi,

I'm trying to set up a tile server with tirex but using the latest svn code
the mapnik backend fails with a buffer overflow. Debugging the code it
turns out that the offending code was the line 129 of metatilehandler.cc :

   memset(&offsets, 0, numtiles * sizeof(entry));

 I modified it as:

   memset(offsets, 0, numtiles * sizeof(entry));

and everything works.

Bye,

Stefano
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev