[postgis-tickets] [PostGIS] #4415: ST_GeomFromGeoHash allows invalid base32 characters

PostGIS trac at osgeo.org
Mon Jun 3 08:04:13 PDT 2019


#4415: ST_GeomFromGeoHash allows invalid base32 characters
------------------------+---------------------------
 Reporter:  johnpowell  |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  medium      |  Milestone:  PostGIS 2.5.3
Component:  postgis     |    Version:  2.4.x
 Keywords:              |
------------------------+---------------------------
 SELECT ST_AsText(ST_GeomFromGeoHash('IamNotAGeoHash_ThisIsABug')) returns
 POINT(7.23566132272554 -65.0109736310277). It appears that there is no
 check in decode_geohash_bbox,
 https://postgis.net/docs/doxygen/2.5/dc/dc0/lwalgorithm_8c_source.html#l00584,
 for characters that are not defined in base32.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4415>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list