[PostGIS] #6080: Error casting int -> uint8_t

PostGIS trac at osgeo.org
Thu Jun 18 06:20:09 PDT 2026


#6080: Error casting int -> uint8_t
-----------------------+---------------------------
  Reporter:  ezimanyi  |      Owner:  pramsey
      Type:  defect    |     Status:  closed
  Priority:  medium    |  Milestone:  PostGIS 3.6.5
 Component:  postgis   |    Version:  3.6.x
Resolution:  fixed     |   Keywords:
-----------------------+---------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"07e64e5f0f1361abec66940c45b951d835c5bd1f/git" 07e64e5/git]:
 {{{#!CommitTicketReference repository="git"
 revision="07e64e5f0f1361abec66940c45b951d835c5bd1f"
 Fix signed hex WKB lookup

 Cast hex input bytes to uint8_t before indexing the liblwgeom hex lookup
 table, and cover malformed high-bit WKB input in CUnit.

 Closes https://github.com/postgis/postgis/pull/902
 Closes #6080
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6080#comment:1>
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