[Tile-serving] [openstreetmap/osm2pgsql] Error in `osm2pgsql': corrupted double-linked list: 0x000000005064bed0 (#723)
Paul Norman
notifications at github.com
Sat Mar 25 10:39:15 UTC 2017
`tagtransform-lua.cpp:108` has `out_tags.emplace_back(key, value);`, where out_tags is the 5th parameter to `lua_tagtransform_t::filter_tags`. Going up to `geometry-processor.cpp:104` has the function
```cpp
multitaglist_t relation_helper::get_filtered_tags(tagtransform_t *transform,
export_list const &el) const
{
A multitaglist_t filtered(roles.size());
size_t i = 0;
for (auto const &w : data.select<osmium::Way>()) {
B transform->filter_tags(w, nullptr, nullptr, el, filtered[++i]);
}
return filtered;
```
because roles.size = the number of ways in many cases, on the last iteration of the loop, B is trying to read from i+1 where i = roles.size(), which is out of bounds.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/723#issuecomment-289203618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170325/e4518594/attachment.html>
More information about the Tile-serving
mailing list