[OSM-dev] bug in tirex mapnik backend?

Stefano Salvador stefano.salvador at gmail.com
Wed Dec 16 12:41:05 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20151216/30b31570/attachment.html>


More information about the dev mailing list