[postgis-tickets] [PostGIS] #4406: Undefined behavior in decode_geohash_bbox with invalid input

PostGIS trac at osgeo.org
Thu Jun 13 04:27:56 PDT 2019


#4406: Undefined behavior in decode_geohash_bbox with invalid input
------------------------+----------------------------
  Reporter:  mentin     |      Owner:  Algunenano
      Type:  defect     |     Status:  assigned
  Priority:  low        |  Milestone:  PostGIS 2.3.10
 Component:  liblwgeom  |    Version:  trunk
Resolution:             |   Keywords:  geohash
------------------------+----------------------------

Comment (by Algunenano):

 PR in https://github.com/postgis/postgis/pull/420

 Changes the decoding procedure to throw on invalid characters:
 {{{
 # Select ST_PointFromGeoHash('@@@@@@');
 ERROR:  decode_geohash_bbox: Invalid character '@'
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4406#comment:2>
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