[Tile-serving] [openstreetmap/osm2pgsql] Avoid reading from empty sparseBlock (#1443)
mmd
notifications at github.com
Thu Apr 1 11:25:25 UTC 2021
Reading from uninitialized memory is undefined behavior, and triggers valgrind memory error messages as per #1442.
Fixes #1442
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1443
-- Commit Summary --
* Avoid reading from empty sparseBlock
-- File Changes --
M src/node-ram-cache.cpp (4)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1443.patch
https://github.com/openstreetmap/osm2pgsql/pull/1443.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/1443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210401/b10ff053/attachment.htm>
More information about the Tile-serving
mailing list