[Tile-serving] [openstreetmap/osm2pgsql] Don't use sprintf (#916)

Paul Norman notifications at github.com
Mon Feb 25 23:41:18 UTC 2019


In places we have
```c++
    char buffer[64];	
    sprintf(buffer, "%" PRIdOSMID, osm_id);
````

This should be replaced by `snprintf` if we're working with c-strings.

-- 
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/916
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190225/6f78ba92/attachment.html>


More information about the Tile-serving mailing list