Spatial types for PosgreSQL [mirror]

  • 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
.github Loading commit data...
ci Loading commit data...
deps Loading commit data...
doc Loading commit data...
extensions Loading commit data...
extras Loading commit data...
fuzzers Loading commit data...
liblwgeom Loading commit data...
libpgcommon Loading commit data...
loader Loading commit data...
macros Loading commit data...
postgis Loading commit data...
raster Loading commit data...
regress Loading commit data...
topology Loading commit data...
utils Loading commit data...
.clang-format Loading commit data...
.drone-1.0.yml Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
ChangeLog Loading commit data...
GNUmakefile.in Loading commit data...
HOWTO_RELEASE Loading commit data...
LICENSE.TXT Loading commit data...
MIGRATION Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.postgis Loading commit data...
STYLE Loading commit data...
TODO Loading commit data...
Version.config Loading commit data...
astyle.sh Loading commit data...
authors.git Loading commit data...
authors.svn Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
make_dist.sh Loading commit data...
postgis_config.h.in Loading commit data...
spatial_ref_sys.sql Loading commit data...