[postgis-tickets] [PostGIS] #4383: Sanitizer warnings
PostGIS
trac at osgeo.org
Wed Apr 24 04:02:22 PDT 2019
#4383: Sanitizer warnings
-------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.0.0
Component: postgis | Version: trunk
Resolution: | Keywords:
-------------------------+---------------------------
Comment (by Raul Marin):
In [changeset:"17412" 17412]:
{{{
#!CommitTicketReference repository="" revision="17412"
lwout_wkb.c: Address implicit type conversion with value change
lwout_wkb.c:288:16: runtime error: implicit conversion from type 'char' of
value -16 (8-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed
the value to 240 (8-bit, unsigned)
lwout_wkb.c:654:27: runtime error: implicit conversion from type
'uint32_t' (aka 'unsigned int') of value 2147483663 (32-bit, unsigned) to
type 'int' changed the value to -2147483633 (32-bit, signed)
lwout_wkb.c:213:16: runtime error: implicit conversion from type 'char' of
value -128 (8-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed
the value to 128 (8-bit, unsigned)
lwout_wkb.c:607:27: runtime error: implicit conversion from type
'uint32_t' (aka 'unsigned int') of value 2147483651 (32-bit, unsigned) to
type 'int' changed the value to -2147483645 (32-bit, signed)
References #4383
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4383#comment:3>
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