[Tile-serving] [openstreetmap/osm2pgsql] Remove possible dangling pointer from node_persistent_cache (#1451)

Jochen Topf notifications at github.com
Mon Apr 12 17:45:01 UTC 2021


Storing a pointer to a string that might go away isn't a good idea.
Using std::string instead. Also slightly improved logging.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1451

-- Commit Summary --

  * Remove possible dangling pointer from node_persistent_cache

-- File Changes --

    M src/node-persistent-cache.cpp (23)
    M src/node-persistent-cache.hpp (7)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1451.patch
https://github.com/openstreetmap/osm2pgsql/pull/1451.diff

-- 
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/pull/1451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210412/c752ef9b/attachment.htm>


More information about the Tile-serving mailing list