Opened 7 years ago

Closed 7 years ago

#3875 closed defect (fixed)

Undefined behaviour in geohash_point_as_int

Reported by: Raul Marin Owned by: strk
Priority: low Milestone: PostGIS 2.2.6
Component: liblwgeom Version: master
Keywords: Cc:

Description

Running the tests with asan undefined on shows that geohash_point_as_int has undefined behaviour under certain inputs.

Fix in Github PR: https://github.com/postgis/postgis/pull/148

Change History (5)

comment:1 by Raul Marin, 7 years ago

Component: postgisliblwgeom
Owner: changed from pramsey to strk

comment:2 by pramsey, 7 years ago

In 15918:

geohash_point_as_int: Fix undefined behaviour in shift operation
References #3875

comment:3 by pramsey, 7 years ago

In 15919:

geohash_point_as_int: Fix undefined behaviour in shift operation
References #3875

comment:4 by pramsey, 7 years ago

In 15920:

geohash_point_as_int: Fix undefined behaviour in shift operation
References #3875

comment:5 by pramsey, 7 years ago

Resolution: fixed
Status: newclosed

In 15921:

geohash_point_as_int: Fix undefined behaviour in shift operation
Closes #3875

Note: See TracTickets for help on using tickets.