• Raúl Marín's avatar
    Multiple fixes for undefined behaviour in implicit conversions · 2e1bd0c7
    Raúl Marín authored
    shp2pgsql-core.c:839:22: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'DBFFieldType' changed the value to 4294967295 (32-bit, unsigned)
    
     runtime error: implicit conversion from type 'int32' (aka 'int') of value -1 (32-bit, signed) to type 'uint32' (aka 'unsigned int') changed the value to 4294967295 (32-bit, unsigned)
     UndefinedBehaviorSanitizer: undefined-behavior lwgeom_functions_basic.c:2237:10 in
    
     runtime error: implicit conversion from type 'unsigned int' of value 4294967295 (32-bit, unsigned) to type 'int' changed the value to -1 (32-bit, signed)
     UndefinedBehaviorSanitizer: undefined-behavior ptarray.c:333:13 in
    
     runtime error: implicit conversion from type 'unsigned int' of value 4294967295 (32-bit, unsigned) to type 'int' changed the value to -1 (32-bit, signed)
     UndefinedBehaviorSanitizer: undefined-behavior ptarray.c:333:13 in
    
    
    References #4383
    
    
    
    git-svn-id: http://svn.osgeo.org/postgis/trunk@17414 b70326c6-7e19-0410-871a-916f4a2858ee
    2e1bd0c7
Name
Last commit
Last update
..
DEBUG Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
brin_2d.c Loading commit data...
brin_common.c Loading commit data...
brin_nd.c Loading commit data...
geobuf.LICENSE Loading commit data...
geobuf.c Loading commit data...
geobuf.h Loading commit data...
geobuf.proto Loading commit data...
geography.h Loading commit data...
geography.sql.in Loading commit data...
geography_brin.sql.in Loading commit data...
geography_btree.c Loading commit data...
geography_centroid.c Loading commit data...
geography_inout.c Loading commit data...
geography_measurement.c Loading commit data...
geography_measurement_trees.c Loading commit data...
geography_measurement_trees.h Loading commit data...
geometry_inout.c Loading commit data...
gserialized_estimate.c Loading commit data...
gserialized_gist_2d.c Loading commit data...
gserialized_gist_nd.c Loading commit data...
gserialized_spgist_2d.c Loading commit data...
gserialized_spgist_3d.c Loading commit data...
gserialized_spgist_3d.h Loading commit data...
gserialized_spgist_nd.c Loading commit data...
gserialized_supportfn.c Loading commit data...
gserialized_typmod.c Loading commit data...
legacy.sql.in Loading commit data...
legacy_gist.sql.in Loading commit data...
legacy_minimal.sql.in Loading commit data...
long_xact.c Loading commit data...
long_xact.sql.in Loading commit data...
lwgeom_accum.c Loading commit data...
lwgeom_box.c Loading commit data...
lwgeom_box3d.c Loading commit data...
lwgeom_box3d.h Loading commit data...
lwgeom_btree.c Loading commit data...
lwgeom_dump.c Loading commit data...
lwgeom_dumppoints.c Loading commit data...
lwgeom_export.c Loading commit data...
lwgeom_export.h Loading commit data...
lwgeom_functions_analytic.c Loading commit data...
lwgeom_functions_analytic.h Loading commit data...
lwgeom_functions_basic.c Loading commit data...
lwgeom_functions_lrs.c Loading commit data...
lwgeom_functions_temporal.c Loading commit data...
lwgeom_geos.c Loading commit data...
lwgeom_geos.h Loading commit data...
lwgeom_geos_clean.c Loading commit data...
lwgeom_geos_prepared.c Loading commit data...
lwgeom_geos_prepared.h Loading commit data...
lwgeom_geos_relatematch.c Loading commit data...
lwgeom_in_encoded_polyline.c Loading commit data...
lwgeom_in_geohash.c Loading commit data...
lwgeom_in_geojson.c Loading commit data...
lwgeom_in_gml.c Loading commit data...
lwgeom_in_kml.c Loading commit data...
lwgeom_inout.c Loading commit data...
lwgeom_ogc.c Loading commit data...
lwgeom_out_geobuf.c Loading commit data...
lwgeom_out_mvt.c Loading commit data...
lwgeom_rectree.c Loading commit data...
lwgeom_rtree.c Loading commit data...
lwgeom_rtree.h Loading commit data...
lwgeom_sfcgal.c Loading commit data...
lwgeom_sfcgal.h Loading commit data...
lwgeom_spheroid.c Loading commit data...
lwgeom_sqlmm.c Loading commit data...
lwgeom_transform.c Loading commit data...
lwgeom_triggers.c Loading commit data...
lwgeom_window.c Loading commit data...
mvt.c Loading commit data...
mvt.h Loading commit data...
postgis.sql.in Loading commit data...
postgis_brin.h Loading commit data...
postgis_brin.sql.in Loading commit data...
postgis_drop_after.sql Loading commit data...
postgis_drop_before.sql Loading commit data...
postgis_legacy.c Loading commit data...
postgis_libprotobuf.c Loading commit data...
postgis_module.c Loading commit data...
postgis_spgist.sql.in Loading commit data...
sfcgal.sql.in Loading commit data...
sqldefines.h.in Loading commit data...
uninstall_geography.sql.in Loading commit data...
uninstall_legacy.sql.in Loading commit data...
uninstall_long_xact.sql.in Loading commit data...
uninstall_sfcgal.sql.in Loading commit data...
uninstall_sqlmm.sql.in Loading commit data...
vector_tile.LICENSE Loading commit data...
vector_tile.proto Loading commit data...