2025-05-08 03:04 ftp://ftp.de.debian.org/debian/pool/main/s/spatialite-tools/spatialite-tools_5.1.0a.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 1101 1078 elapsed-time: 69.0 69.0 head-timing-info: old-timing-info: head results: spatialite-tools-5.1.0a/exif_loader.c:243:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:376:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:415:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:553:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:1436:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:1446:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:1459:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:1575:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/exif_loader.c:1038:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] spatialite-tools-5.1.0a/exif_loader.c:947:16: warning: If memory allocation fails, then there is a possible null pointer dereference: blob [nullPointerOutOfMemory] spatialite-tools-5.1.0a/exif_loader.c:945:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/exif_loader.c:945:18: note: Assignment 'blob=malloc(sz)', assigned value is 0 spatialite-tools-5.1.0a/exif_loader.c:947:16: note: Null pointer dereference spatialite-tools-5.1.0a/exif_loader.c:243:12: style:inconclusive: Same expression used in consecutive assignments of 'lat_degs' and 'lat_mins'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:244:12: note: Same expression used in consecutive assignments of 'lat_degs' and 'lat_mins'. spatialite-tools-5.1.0a/exif_loader.c:243:12: note: Same expression used in consecutive assignments of 'lat_degs' and 'lat_mins'. spatialite-tools-5.1.0a/exif_loader.c:244:12: style:inconclusive: Same expression used in consecutive assignments of 'lat_mins' and 'lat_secs'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:245:12: note: Same expression used in consecutive assignments of 'lat_mins' and 'lat_secs'. spatialite-tools-5.1.0a/exif_loader.c:244:12: note: Same expression used in consecutive assignments of 'lat_mins' and 'lat_secs'. spatialite-tools-5.1.0a/exif_loader.c:245:12: style:inconclusive: Same expression used in consecutive assignments of 'lat_secs' and 'long_degs'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:246:12: note: Same expression used in consecutive assignments of 'lat_secs' and 'long_degs'. spatialite-tools-5.1.0a/exif_loader.c:245:12: note: Same expression used in consecutive assignments of 'lat_secs' and 'long_degs'. spatialite-tools-5.1.0a/exif_loader.c:246:12: style:inconclusive: Same expression used in consecutive assignments of 'long_degs' and 'long_mins'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:247:12: note: Same expression used in consecutive assignments of 'long_degs' and 'long_mins'. spatialite-tools-5.1.0a/exif_loader.c:246:12: note: Same expression used in consecutive assignments of 'long_degs' and 'long_mins'. spatialite-tools-5.1.0a/exif_loader.c:247:12: style:inconclusive: Same expression used in consecutive assignments of 'long_mins' and 'long_secs'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:248:12: note: Same expression used in consecutive assignments of 'long_mins' and 'long_secs'. spatialite-tools-5.1.0a/exif_loader.c:247:12: note: Same expression used in consecutive assignments of 'long_mins' and 'long_secs'. spatialite-tools-5.1.0a/exif_loader.c:415:12: style:inconclusive: Same expression used in consecutive assignments of 'hours' and 'mins'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:416:12: note: Same expression used in consecutive assignments of 'hours' and 'mins'. spatialite-tools-5.1.0a/exif_loader.c:415:12: note: Same expression used in consecutive assignments of 'hours' and 'mins'. spatialite-tools-5.1.0a/exif_loader.c:416:12: style:inconclusive: Same expression used in consecutive assignments of 'mins' and 'secs'. [duplicateAssignExpression] spatialite-tools-5.1.0a/exif_loader.c:417:12: note: Same expression used in consecutive assignments of 'mins' and 'secs'. spatialite-tools-5.1.0a/exif_loader.c:416:12: note: Same expression used in consecutive assignments of 'mins' and 'secs'. spatialite-tools-5.1.0a/exif_loader.c:525:11: style: Variable 'type_desc' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/exif_loader.c:1027:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/exif_loader.c:1483:11: style: Variable 'path' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/exif_loader.c:1484:11: style: Variable 'dir_path' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/exif_loader.c:1485:11: style: Variable 'file_path' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/exif_loader.c:1428:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/exif_loader.c:1419:14: note: Assuming condition is true spatialite-tools-5.1.0a/exif_loader.c:1428:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/shell.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:167:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:375:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:641:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:676:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:740:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:813:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:901:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:925:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:1779:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:2490:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:2692:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:2791:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:2806:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:2920:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:4734:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:4997:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:5054:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:5238:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shell.c:371:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] spatialite-tools-5.1.0a/shell.c:4589:35: error: Array 'azArg[50]' accessed at index 99, which is out of bounds. [arrayIndexOutOfBounds] spatialite-tools-5.1.0a/shell.c:1874:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] spatialite-tools-5.1.0a/shell.c:2400:9: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] spatialite-tools-5.1.0a/shell.c:3683:9: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] spatialite-tools-5.1.0a/shell.c:3713:9: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] spatialite-tools-5.1.0a/shell.c:4915:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] spatialite-tools-5.1.0a/shell.c:370:13: style: The statement 'if (ptr!=NULL) ptr=NULL' is logically equivalent to 'ptr=NULL'. [duplicateConditionalAssign] spatialite-tools-5.1.0a/shell.c:371:6: note: Assignment 'ptr=NULL' spatialite-tools-5.1.0a/shell.c:370:13: note: Condition 'ptr!=NULL' is redundant spatialite-tools-5.1.0a/shell.c:4754:8: style: Condition 'zLine' is always true [knownConditionTrueFalse] spatialite-tools-5.1.0a/shell.c:937:3: error: Common realloc mistake: 'zLine' nulled but not freed upon failure [memleakOnRealloc] spatialite-tools-5.1.0a/shell.c:966:5: error: Common realloc mistake: 'zLine' nulled but not freed upon failure [memleakOnRealloc] spatialite-tools-5.1.0a/shell.c:400:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:399:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:399:40: note: Assignment 'p=malloc(sizeof(struct auto_fdo_tables))', assigned value is 0 spatialite-tools-5.1.0a/shell.c:400:5: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:401:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:399:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:399:40: note: Assignment 'p=malloc(sizeof(struct auto_fdo_tables))', assigned value is 0 spatialite-tools-5.1.0a/shell.c:401:5: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:427:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:426:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:426:39: note: Assignment 'p=malloc(sizeof(struct auto_fdo_table))', assigned value is 0 spatialite-tools-5.1.0a/shell.c:427:5: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:428:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:426:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:426:39: note: Assignment 'p=malloc(sizeof(struct auto_fdo_table))', assigned value is 0 spatialite-tools-5.1.0a/shell.c:428:13: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:429:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:426:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:426:39: note: Assignment 'p=malloc(sizeof(struct auto_fdo_table))', assigned value is 0 spatialite-tools-5.1.0a/shell.c:429:5: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1124:17: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1693:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1693:18: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1696:35: note: Calling function 'output_quoted_string', 2nd argument 'buf' value is 0 spatialite-tools-5.1.0a/shell.c:1124:17: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1126:8: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1693:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1693:18: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1696:35: note: Calling function 'output_quoted_string', 2nd argument 'buf' value is 0 spatialite-tools-5.1.0a/shell.c:1126:8: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1381:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1380:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1380:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1381:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1480:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1479:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1479:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1480:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1524:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1522:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1522:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1524:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1528:30: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1522:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1522:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1523:10: note: Assignment 'z=buf', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1528:30: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1577:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1576:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1576:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1577:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1616:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1615:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1615:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1616:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1655:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1654:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1654:19: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1655:14: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1694:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1693:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1693:18: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1694:13: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1892:27: warning: Either the condition 'z==0' is redundant or there is possible null pointer dereference: z. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/shell.c:1897:10: note: Assuming that condition 'z==0' is not redundant spatialite-tools-5.1.0a/shell.c:1892:27: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:2379:29: warning: If memory allocation fails, then there is a possible null pointer dereference: zIns [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:2377:8: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:2377:8: note: Assignment 'zIns=sqlite3_mprintf("INSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)VALUES('table','%q','%q',0,'%q');",zTable,zTable,zSql)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:2379:29: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:4665:12: warning: Either the condition 'zLine' is redundant or there is possible null pointer dereference: zLine. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/shell.c:4754:8: note: Assuming that condition 'zLine' is not redundant spatialite-tools-5.1.0a/shell.c:4769:32: note: Calling function '_is_command_terminator', 1st argument 'zLine' value is 0 spatialite-tools-5.1.0a/shell.c:4665:12: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:5007:17: warning: If memory allocation fails, then there is a possible null pointer dereference: sqliterc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:5004:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:5004:27: note: Assignment 'zBuf=sqlite3_mprintf("%s/.sqliterc",home_dir)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:5005:15: note: Assignment 'sqliterc=zBuf', assigned value is 0 spatialite-tools-5.1.0a/shell.c:5007:17: note: Null pointer dereference spatialite-tools-5.1.0a/shell.c:1360:11: style: Local variable 'len' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:1347:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:1360:11: note: Shadow variable spatialite-tools-5.1.0a/shell.c:3561:7: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:3561:7: note: Shadow variable spatialite-tools-5.1.0a/shell.c:3659:8: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:3659:8: note: Shadow variable spatialite-tools-5.1.0a/shell.c:3662:10: style: Local variable 'zLine' shadows outer argument [shadowArgument] spatialite-tools-5.1.0a/shell.c:2856:24: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:3662:10: note: Shadow variable spatialite-tools-5.1.0a/shell.c:3741:12: style: Local variable 'c' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2860:12: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:3741:12: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4113:7: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4113:7: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4198:8: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4198:8: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4222:8: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4222:8: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4313:13: style: Local variable 'n' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2860:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4313:13: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4333:7: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4333:7: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4396:8: style: Local variable 'rc' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2861:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4396:8: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4397:8: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2858:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4397:8: note: Shadow variable spatialite-tools-5.1.0a/shell.c:4397:11: style: Local variable 'n' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/shell.c:2860:9: note: Shadowed declaration spatialite-tools-5.1.0a/shell.c:4397:11: note: Shadow variable spatialite-tools-5.1.0a/shell.c:152:27: style: Parameter 'pStart' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shell.c:152:51: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shell.c:368:36: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'wfs_page_done' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spatialite-tools-5.1.0a/shell.c:3225:57: note: You might need to cast the function pointer here spatialite-tools-5.1.0a/shell.c:368:36: note: Parameter 'ptr' can be declared as pointer to const spatialite-tools-5.1.0a/shell.c:915:22: style: Parameter 'zPrompt' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shell.c:1107:11: style: Variable 'zBlob' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:1342:72: style: Parameter 'aiType' can be declared as pointer to const. However it seems that 'shell_callback' is a callback function, if 'aiType' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spatialite-tools-5.1.0a/shell.c:5479:40: note: You might need to cast the function pointer here spatialite-tools-5.1.0a/shell.c:1342:72: note: Parameter 'aiType' can be declared as pointer to const spatialite-tools-5.1.0a/shell.c:1674:13: style: Variable 'zSep' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:3654:10: style: Variable 'zTable' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:3655:10: style: Variable 'zFile' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:3664:10: style: Variable 'zCommit' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:4349:14: style: Variable 'zSp' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:4913:17: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:4985:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:5125:10: style: Variable 'z' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:5152:10: style: Variable 'z' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:5500:9: style: Variable 'zHome' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:3619:27: warning: Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] spatialite-tools-5.1.0a/shell.c:2482:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/shell.c:2473:14: note: Assuming condition is true spatialite-tools-5.1.0a/shell.c:2482:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/shell.c:514:13: style: Variable 'count' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/shell.c:597:13: style: Variable 'count' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/shp_doctor.c:137:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:767:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:1326:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:1476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:1489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:1587:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_doctor.c:1329:9: style: The if condition is the same as the previous if condition [duplicateCondition] spatialite-tools-5.1.0a/shp_doctor.c:1324:9: note: First condition spatialite-tools-5.1.0a/shp_doctor.c:1329:9: note: Second condition spatialite-tools-5.1.0a/shp_doctor.c:172:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buf_shp [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_doctor.c:171:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_doctor.c:171:22: note: Assignment 'buf_shp=malloc(sizeof(unsigned char)*buf_size)', assigned value is 0 spatialite-tools-5.1.0a/shp_doctor.c:172:17: note: Null pointer dereference spatialite-tools-5.1.0a/shp_doctor.c:782:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buf_shp [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_doctor.c:781:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_doctor.c:781:22: note: Assignment 'buf_shp=malloc(sizeof(unsigned char)*buf_size)', assigned value is 0 spatialite-tools-5.1.0a/shp_doctor.c:782:17: note: Null pointer dereference spatialite-tools-5.1.0a/shp_doctor.c:795:2: style: Same expression on both sides of '||'. [duplicateExpression] spatialite-tools-5.1.0a/shp_doctor.c:427:16: style: Variable 'points' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/shp_doctor.c:426:16: note: points is assigned spatialite-tools-5.1.0a/shp_doctor.c:427:16: note: points is overwritten spatialite-tools-5.1.0a/shp_doctor.c:505:16: style: Variable 'points' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/shp_doctor.c:504:16: note: points is assigned spatialite-tools-5.1.0a/shp_doctor.c:505:16: note: points is overwritten spatialite-tools-5.1.0a/shp_doctor.c:1031:16: style: Variable 'points' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/shp_doctor.c:1030:16: note: points is assigned spatialite-tools-5.1.0a/shp_doctor.c:1031:16: note: points is overwritten spatialite-tools-5.1.0a/shp_doctor.c:1109:16: style: Variable 'points' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/shp_doctor.c:1108:16: note: points is assigned spatialite-tools-5.1.0a/shp_doctor.c:1109:16: note: points is overwritten spatialite-tools-5.1.0a/shp_doctor.c:61:19: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shp_doctor.c:107:11: style: Variable 'sys_err' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:109:11: style: Variable 'err_open' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:110:11: style: Variable 'err_header' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:111:11: style: Variable 'err_read' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:112:11: style: Variable 'err_shape' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:114:11: style: Variable 'null_shape' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:691:26: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shp_doctor.c:736:11: style: Variable 'sys_err' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:737:11: style: Variable 'err_open' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:738:11: style: Variable 'err_header' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:739:11: style: Variable 'err_read' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:740:11: style: Variable 'err_shape' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:742:11: style: Variable 'null_shape' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:1290:23: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shp_doctor.c:1309:11: style: Variable 'sys_err' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:1311:11: style: Variable 'err_open' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:1312:11: style: Variable 'err_header' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_doctor.c:1313:11: style: Variable 'err_read' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:211:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gaiaShapefile [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:606:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_BIG_ENDIAN [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:762:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY_Z [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:935:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_LITTLE_ENDIAN [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:1661:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:1911:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:2038:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_BIG_ENDIAN [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:2127:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:2220:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:2393:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY_Z [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:2535:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:3706:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:3929:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:4099:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:4137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:4150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:4245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/shp_sanitize.c:4063:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] spatialite-tools-5.1.0a/shp_sanitize.c:3896:7: style: Condition '!ret' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/shp_sanitize.c:3893:7: note: Calling function 'writeShpEntity' returns 1 spatialite-tools-5.1.0a/shp_sanitize.c:3893:7: note: Assignment 'ret=writeShpEntity(shp_out,bufshp,buflen,shp_in->BufDbf,shp_in->DbfReclen)', assigned value is 1 spatialite-tools-5.1.0a/shp_sanitize.c:3896:7: note: Condition '!ret' is always false spatialite-tools-5.1.0a/shp_sanitize.c:3902:7: style: Condition '!writeShpEntity(shp_out,shp_in->BufShp,shplen,shp_in->BufDbf,shp_in->DbfReclen)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/shp_sanitize.c:3903:7: note: Calling function 'writeShpEntity' returns 1 spatialite-tools-5.1.0a/shp_sanitize.c:3902:7: note: Condition '!writeShpEntity(shp_out,shp_in->BufShp,shplen,shp_in->BufDbf,shp_in->DbfReclen)' is always false spatialite-tools-5.1.0a/shp_sanitize.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:104:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:104:36: note: Assignment 'list=malloc(sizeof(struct shp_list))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:105:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:104:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:104:36: note: Assignment 'list=malloc(sizeof(struct shp_list))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:106:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:169:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:169:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:170:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:171:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:172:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:173:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:174:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:168:17: note: Assignment 'pi=malloc(sizeof(struct shp_entry))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:174:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:337:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buf_shp [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:336:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:336:22: note: Assignment 'buf_shp=malloc(sizeof(unsigned char)*buf_size)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:337:17: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:731:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assignment 'p=malloc(sizeof(struct shp_ring_item))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:731:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:735:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assignment 'p=malloc(sizeof(struct shp_ring_item))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:735:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:736:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assignment 'p=malloc(sizeof(struct shp_ring_item))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:736:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:737:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:730:38: note: Assignment 'p=malloc(sizeof(struct shp_ring_item))', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:737:5: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:4070:18: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:4069:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4069:27: note: Assignment 'path=sqlite3_mprintf("%s/%s",in_dir,entry->d_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4070:18: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:4071:4: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:4069:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4069:27: note: Assignment 'path=sqlite3_mprintf("%s/%s",in_dir,entry->d_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4071:4: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:4073:18: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:4072:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4072:27: note: Assignment 'name=sqlite3_mprintf("%s",entry->d_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4073:18: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:4074:4: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:4072:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4072:27: note: Assignment 'name=sqlite3_mprintf("%s",entry->d_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4074:4: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:4100:11: warning: If memory allocation fails, then there is a possible null pointer dereference: out_path [nullPointerOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:4097:42: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4097:42: note: Assignment 'out_path=sqlite3_mprintf("%s/%s",out_dir,p_shp->file_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4100:11: note: Null pointer dereference spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: note: Null pointer addition spatialite-tools-5.1.0a/shp_sanitize.c:1663:12: style:inconclusive: Same expression used in consecutive assignments of 'MaxX' and 'MaxY'. [duplicateAssignExpression] spatialite-tools-5.1.0a/shp_sanitize.c:1664:12: note: Same expression used in consecutive assignments of 'MaxX' and 'MaxY'. spatialite-tools-5.1.0a/shp_sanitize.c:1663:12: note: Same expression used in consecutive assignments of 'MaxX' and 'MaxY'. spatialite-tools-5.1.0a/shp_sanitize.c:1474:11: style: Variable 'm' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/shp_sanitize.c:1471:8: note: m is assigned spatialite-tools-5.1.0a/shp_sanitize.c:1474:11: note: m is overwritten spatialite-tools-5.1.0a/shp_sanitize.c:2358:4: style: Statements following 'return' will never be executed. [unreachableCode] spatialite-tools-5.1.0a/shp_sanitize.c:197:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/shp_sanitize.c:283:11: style: Variable 'sys_err' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:1890:11: style: Variable 'sys_err' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:4054:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:4176:11: style: Variable 'in_dir' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:4177:11: style: Variable 'out_dir' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shp_sanitize.c:2353:12: style: Variable 'str' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/shp_sanitize.c:2356:12: style: Variable 'str' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/shp_sanitize.c:2359:12: style: Variable 'str' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_convert.c:149:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:459:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1507:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1558:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1577:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1595:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1646:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1693:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1962:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:1984:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2079:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2272:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2289:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2306:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2324:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2342:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2414:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2431:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2449:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2467:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2519:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2552:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2698:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2841:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:2980:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:3120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:3392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:3659:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:3922:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:3992:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4019:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4046:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4299:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4568:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4865:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:4954:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5057:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5144:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5385:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5611:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5641:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5683:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:5954:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6042:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6555:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6962:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6976:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:6989:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:7062:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_convert.c:7169:9: style: Condition '!cvt_extra_stuff(handle,version)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_convert.c:7169:26: note: Calling function 'cvt_extra_stuff' returns 1 spatialite-tools-5.1.0a/spatialite_convert.c:7169:9: note: Condition '!cvt_extra_stuff(handle,version)' is always false spatialite-tools-5.1.0a/spatialite_convert.c:249:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'view' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:249:30: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:249:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'view' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:249:53: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:274:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p_table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:273:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:273:20: note: Assignment 'p_table=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:274:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:287:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:287:30: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:287:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:287:53: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:312:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_column [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:311:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:311:27: note: Assignment 'p_column=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:312:17: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:349:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'table' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:349:30: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:349:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'table' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:349:53: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:374:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p_table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:373:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:373:20: note: Assignment 'p_table=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:374:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:387:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:387:30: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:387:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:387:53: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:412:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_column [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:411:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:411:27: note: Assignment 'p_column=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:412:17: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:480:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT spatial_index_enabled FROM geometry_columns WHERE Lower(f_table_name) = Lower(?) AND Lower(f_geometry_column) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:480:30: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:480:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT spatial_index_enabled FROM geometry_columns WHERE Lower(f_table_name) = Lower(?) AND Lower(f_geometry_column) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:480:53: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:737:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:737:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:738:11: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:738:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:740:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:740:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:741:11: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:741:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:742:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:742:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:743:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:743:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:744:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_idx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:735:21: note: Assignment 'curr_idx=malloc(sizeof(struct spatial_index_str))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:744:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_convert.c:440:11: style: Variable 'txt_dims' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_convert.c:7002:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_convert.c:185:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:338:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:489:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:596:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:651:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:748:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY_Z [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:1502:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:1787:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:1828:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:1872:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2113:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2260:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2318:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2432:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2494:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2575:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2669:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2856:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2961:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:3060:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:3178:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:3492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dem.c:2020:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] spatialite-tools-5.1.0a/spatialite_dem.c:319:46: style: Expression is always false because 'else if' condition matches previous condition at line 315. [multiCondition] spatialite-tools-5.1.0a/spatialite_dem.c:3556:25: style: Condition 'command_dem_create(&db_handle,cache,&source_config,&dem_config,verbose)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_dem.c:3040:10: note: Assignment 'ret=0', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:3556:25: note: Calling function 'command_dem_create' returns 0 spatialite-tools-5.1.0a/spatialite_dem.c:3556:25: note: Condition 'command_dem_create(&db_handle,cache,&source_config,&dem_config,verbose)' is always false spatialite-tools-5.1.0a/spatialite_dem.c:3681:6: style: Condition 'db_handle' is always true [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_dem.c:2113:8: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] spatialite-tools-5.1.0a/spatialite_dem.c:2202:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_dem.c:2579:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_dem.c:2877:10: error: Dereferencing 'sql_err' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_dem.c:2879:7: error: Memory pointed to by 'sql_err' is freed twice. [doubleFree] spatialite-tools-5.1.0a/spatialite_dem.c:2876:6: note: Memory pointed to by 'sql_err' is freed twice. spatialite-tools-5.1.0a/spatialite_dem.c:2879:7: note: Memory pointed to by 'sql_err' is freed twice. spatialite-tools-5.1.0a/spatialite_dem.c:2920:8: error: Dereferencing 'sql_err' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_dem.c:2922:5: error: Memory pointed to by 'sql_err' is freed twice. [doubleFree] spatialite-tools-5.1.0a/spatialite_dem.c:2919:4: note: Memory pointed to by 'sql_err' is freed twice. spatialite-tools-5.1.0a/spatialite_dem.c:2922:5: note: Memory pointed to by 'sql_err' is freed twice. spatialite-tools-5.1.0a/spatialite_dem.c:426:40: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:424:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:424:34: note: Assignment 'sql_statement=sqlite3_mprintf("INSERT INTO \"%s\" (point_x,point_y, point_z,\"%s\") VALUES(?,?,?,MakePointZ(?,?,?,%d)) ",dem_config->dem_table,dem_config->dem_geometry,dem_config->dem_srid)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:426:40: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:558:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:532:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:532:36: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT ST_Z(\"%s\"), ST_M(\"%s\") FROM '%s'.'%s' WHERE (ROWID IN ( SELECT ROWID FROM SpatialIndex WHERE ( (f_table_name = 'DB=%s.%s') AND (f_geometry_column = '%s') AND (search_frame = ST_Buffer(MakePoint(%2.7f,%2.7f,%d),%2.7f)))) AND (ST_ClosestPoint(%s, MakePoint(%2.7f,%2.7f,%d)) IS NOT Null) ) ORDER BY ST_Distance(%s,MakePoint(%2.7f,%2.7f,%d)) ASC LIMIT 1",dem_config->dem_geometry,dem_config->dem_geometry,dem_config->schema,dem_config->dem_table,dem_config->schema,dem_config->dem_table,dem_config->dem_geometry,x_source,y_source,dem_config->dem_srid,dem_config->dem_resolution,dem_config->dem_geometry,x_source,y_source,dem_config->dem_srid,dem_config->dem_geometry,x_source,y_source,dem_config->dem_srid)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:558:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:632:40: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:628:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:628:34: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT ST_X(ST_Transform(MakePoint(%2.7f,%2.7f,%d),%d)), ST_Y(ST_Transform(MakePoint(%2.7f,%2.7f,%d),%d))",dem_config->fetchz_x,dem_config->fetchz_y,dem_config->default_srid,dem_config->dem_srid,dem_config->fetchz_x,dem_config->fetchz_y,dem_config->default_srid,dem_config->dem_srid)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:632:40: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:665:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xx_use [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:661:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:661:18: note: Assignment 'xx_use=malloc(sizeof(double)*1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:665:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:666:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yy_use [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:662:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:662:18: note: Assignment 'yy_use=malloc(sizeof(double)*1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:666:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:667:3: warning: If memory allocation fails, then there is a possible null pointer dereference: zz [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:663:14: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:663:14: note: Assignment 'zz=malloc(sizeof(double)*1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:667:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:668:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mm_use [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:664:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:664:18: note: Assignment 'mm_use=malloc(sizeof(double)*1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:668:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:838:4: warning: If memory allocation fails, then there is a possible null pointer dereference: xx [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:812:14: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:812:14: note: Assignment 'xx=malloc(sizeof(double)*cnt)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:838:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:839:4: warning: If memory allocation fails, then there is a possible null pointer dereference: yy [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:813:14: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:813:14: note: Assignment 'yy=malloc(sizeof(double)*cnt)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:839:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1520:38: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1506:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1506:34: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT ROWID, \"%s\" FROM '%s'.'%s' WHERE \"%s\" IS NOT NULL",source_config->dem_geometry,source_config->schema,source_config->dem_table,source_config->dem_geometry)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1520:38: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1558:40: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1556:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1556:37: note: Assignment 'sql_statement=sqlite3_mprintf("UPDATE '%s'.'%s' SET '%s'=? WHERE ROWID=%d",source_config->schema,source_config->dem_table,source_config->dem_geometry,id_rowid)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1558:40: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1705:38: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1699:33: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1699:33: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT a.geometry_type, a.srid, a.spatial_index_enabled, a.layer_type, b.extent_min_x, b.extent_min_y, b.extent_max_x, b.extent_max_y, b.row_count FROM '%s'.vector_layers AS a LEFT JOIN '%s'.vector_layers_statistics AS b ON a.table_name=b.table_name AND a.geometry_column=b.geometry_column WHERE a.table_name='%s' AND a.geometry_column='%s'",use_config->schema,use_config->schema,use_config->dem_table,use_config->dem_geometry)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1705:38: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xyz_filename [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assignment 'sql_statement=sqlite3_mprintf("%s/%s",directory_from_filename,token)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1932:51: note: Calling function 'collect_xyz_files', 2nd argument 'sql_statement' value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1926:15: warning: If memory allocation fails, then there is a possible null pointer dereference: directory_from_filename [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1925:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1925:37: note: Assignment 'directory_from_filename=malloc(sizeof(char)*((slash-xyz_filename)+1))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1926:15: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:1927:7: warning: If memory allocation fails, then there is a possible null pointer dereference: directory_from_filename [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1925:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1925:37: note: Assignment 'directory_from_filename=malloc(sizeof(char)*((slash-xyz_filename)+1))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1927:7: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:2094:46: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:2093:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:2093:34: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT file_name FROM db_memory.xyz_files ORDER BY point_y ASC, point_x ASC")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:2094:46: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:2444:11: warning: Either the condition 'source_config' is redundant or there is possible null pointer dereference: source_config. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_dem.c:2435:47: note: Assuming that condition 'source_config' is not redundant spatialite-tools-5.1.0a/spatialite_dem.c:2444:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_dem.c:2398:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] spatialite-tools-5.1.0a/spatialite_dem.c:2393:8: note: ret is assigned spatialite-tools-5.1.0a/spatialite_dem.c:2398:6: note: ret is overwritten spatialite-tools-5.1.0a/spatialite_dem.c:3119:38: style: Checking if unsigned expression 'strlen(dem_config->dem_path)' is less than zero. [unsignedLessThanZero] spatialite-tools-5.1.0a/spatialite_dem.c:3123:39: style: Checking if unsigned expression 'strlen(dem_config->dem_table)' is less than zero. [unsignedLessThanZero] spatialite-tools-5.1.0a/spatialite_dem.c:3127:42: style: Checking if unsigned expression 'strlen(dem_config->dem_geometry)' is less than zero. [unsignedLessThanZero] spatialite-tools-5.1.0a/spatialite_dem.c:110:66: style: Parameter 'time_end' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:230:39: style: Parameter 'conf_filename' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:358:27: style: Parameter 'conf_filename' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:504:98: style: Parameter 'xx_source' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:504:117: style: Parameter 'yy_source' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:1459:60: style: Parameter 'source_config' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:1880:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_dem.c:2017:18: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_dem.c:2121:14: style: Variable 'token' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_dem.c:2252:61: style: Parameter 'dem_config' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:2420:59: style: Parameter 'source_config' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:2652:90: style: Parameter 'source_config' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:3158:59: style: Parameter 'source_config' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_dem.c:3237:22: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_dem.c:3243:8: style: Variable 'dem_geometry_default' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_dem.c:1820:6: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_dem.c:1811:11: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_dem.c:1820:6: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_dem.c:418:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:507:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:508:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:512:17: style: Variable 'x_source' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:513:17: style: Variable 'y_source' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:514:17: style: Variable 'z_source' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:515:17: style: Variable 'm_source' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:1467:16: style: Variable 'blob_bytes' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:1480:30: style: Variable 'geom_result' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:1587:17: style: Variable 'geom_result' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:1853:20: style: Variable 'i_count_fields' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:1860:16: style: Variable 'point_x' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:2072:16: style: Variable 'ret_select' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:2076:20: style: Variable 'i_count_fields' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:2078:21: style: Variable 'i_count_in_loop' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dem.c:2083:16: style: Variable 'point_x' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dxf.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dxf.c:113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dxf.c:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dxf.c:196:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_DXF_RING_NONE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_dxf.c:460:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_dxf.c:183:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_dxf.c:460:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_dxf.c:525:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_dxf.c:183:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_dxf.c:525:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_dxf.c:190:11: style: Variable 'db_path' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_dxf.c:95:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_dxf.c:86:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_dxf.c:95:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_dxf.c:487:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_dxf.c:552:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_gml.c:798:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:975:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1035:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1345:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1475:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1605:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1751:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_gml.c:1138:46: style: The if condition is the same as the previous if condition [duplicateCondition] spatialite-tools-5.1.0a/spatialite_gml.c:1133:46: note: First condition spatialite-tools-5.1.0a/spatialite_gml.c:1138:46: note: Second condition spatialite-tools-5.1.0a/spatialite_gml.c:291:5: warning: If memory allocation fails, then there is a possible null pointer dereference: col [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assignment 'col=malloc(sizeof(struct gml_column))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:291:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:292:13: warning: If memory allocation fails, then there is a possible null pointer dereference: col [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assignment 'col=malloc(sizeof(struct gml_column))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:292:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:293:5: warning: If memory allocation fails, then there is a possible null pointer dereference: col [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assignment 'col=malloc(sizeof(struct gml_column))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:293:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:294:5: warning: If memory allocation fails, then there is a possible null pointer dereference: col [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assignment 'col=malloc(sizeof(struct gml_column))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:294:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:295:5: warning: If memory allocation fails, then there is a possible null pointer dereference: col [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:289:18: note: Assignment 'col=malloc(sizeof(struct gml_column))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:295:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:928:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:927:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:927:39: note: Assignment 'p=malloc(sizeof(struct gml_rings_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:928:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:929:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_gml.c:927:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_gml.c:927:39: note: Assignment 'p=malloc(sizeof(struct gml_rings_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_gml.c:929:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_gml.c:959:13: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_gml.c:947:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_gml.c:959:13: note: Shadow variable spatialite-tools-5.1.0a/spatialite_gml.c:1795:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_gml.c:1640:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_gml.c:1795:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_gml.c:1938:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_gml.c:1640:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_gml.c:1938:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_gml.c:1623:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_gml.c:1295:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_gml.c:1286:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_gml.c:1295:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_gml.c:1821:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_gml.c:1965:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_network.c:401:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:425:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:758:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_NET_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:877:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_NET64_A_STAR_START [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:1117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:1196:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:1957:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:2558:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:2571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:2821:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_network.c:2872:26: style: Condition '!oneway_tofrom' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_network.c:483:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:1775:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:1793:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:1794:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:2438:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:2456:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:2457:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_network.c:139:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:139:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:140:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:140:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:141:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:141:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:142:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:142:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:143:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:143:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:144:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:145:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:146:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:147:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:147:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:148:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:148:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:149:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:149:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:150:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:150:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:151:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:151:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:152:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:138:30: note: Assignment 'p=malloc(sizeof(struct graph))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:153:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:364:4: warning: If memory allocation fails, then there is a possible null pointer dereference: pP [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assignment 'pP=malloc(sizeof(struct pre_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:364:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:369:6: warning: If memory allocation fails, then there is a possible null pointer dereference: pP [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assignment 'pP=malloc(sizeof(struct pre_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:369:6: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:370:4: warning: If memory allocation fails, then there is a possible null pointer dereference: pP [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assignment 'pP=malloc(sizeof(struct pre_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:370:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:372:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pP [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:352:34: note: Assignment 'pP=malloc(sizeof(struct pre_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:372:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:401:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:401:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:402:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:402:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:403:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:403:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:404:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:404:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:405:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:405:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:406:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:406:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:407:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pN [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:385:30: note: Assignment 'pN=malloc(sizeof(struct node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:407:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:448:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pAR [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:447:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:447:34: note: Assignment 'pAR=malloc(sizeof(struct arc_ref))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:448:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:449:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pAR [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:447:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:447:34: note: Assignment 'pAR=malloc(sizeof(struct arc_ref))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:449:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:462:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pAR [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:461:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:461:34: note: Assignment 'pAR=malloc(sizeof(struct arc_ref))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:462:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:463:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pAR [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:461:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:461:34: note: Assignment 'pAR=malloc(sizeof(struct arc_ref))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:463:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:523:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pA [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assignment 'pA=malloc(sizeof(struct arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:523:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:524:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pA [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assignment 'pA=malloc(sizeof(struct arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:524:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:525:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pA [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assignment 'pA=malloc(sizeof(struct arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:525:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:526:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pA [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assignment 'pA=malloc(sizeof(struct arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:526:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:527:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pA [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:522:17: note: Assignment 'pA=malloc(sizeof(struct arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:527:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_network.c:722:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:722:16: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_network.c:732:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:732:21: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_network.c:733:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:733:21: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_network.c:872:12: style: The comparison 'pk == 0' is always true. [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_network.c:824:14: note: 'pk' is assigned value '0' here. spatialite-tools-5.1.0a/spatialite_network.c:872:12: note: The comparison 'pk == 0' is always true. spatialite-tools-5.1.0a/spatialite_network.c:2872:23: style: Same expression on both sides of '||'. [duplicateExpression] spatialite-tools-5.1.0a/spatialite_network.c:230:18: style: Variable 'pN1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:231:18: style: Variable 'pN2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:239:18: style: Variable 'pN1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:240:18: style: Variable 'pN2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:249:26: style: Parameter 'p_graph' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_network.c:286:18: style: Variable 'pN1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:287:18: style: Variable 'pN2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:295:18: style: Variable 'pN1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:296:18: style: Variable 'pN2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:542:22: style: Variable 'pP1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:543:22: style: Variable 'pP2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:551:22: style: Variable 'pP1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:552:22: style: Variable 'pP2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:1143:11: style: Variable 'col_name' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:1911:11: style: Variable 'col_name' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2625:11: style: Variable 'path' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2626:11: style: Variable 'table' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2627:11: style: Variable 'from_column' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2628:11: style: Variable 'to_column' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2629:11: style: Variable 'cost_column' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2630:11: style: Variable 'geom_column' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2631:11: style: Variable 'name_column' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2632:11: style: Variable 'oneway_tofrom' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2633:11: style: Variable 'oneway_fromto' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2634:11: style: Variable 'out_table' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:2635:11: style: Variable 'virt_table' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_network.c:267:19: error: Uninitialized variables: &pN.internal_index, &pN.id, &pN.x, &pN.y, &pN.first_outcoming, &pN.last_outcoming, &pN.first_incoming, &pN.last_incoming, &pN.next [uninitvar] spatialite-tools-5.1.0a/spatialite_network.c:1109:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_network.c:1100:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_network.c:1109:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_network.c:369:6: error: Memory is allocated but not initialized: pP [uninitdata] spatialite-tools-5.1.0a/spatialite_network.c:398:6: error: Memory is allocated but not initialized: pN [uninitdata] spatialite-tools-5.1.0a/spatialite_osm_filter.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:574:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:898:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:923:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:948:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:971:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:994:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1605:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1618:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1755:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_filter.c:270:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_filter.c:450:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_filter.c:479:8: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_filter.c:702:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_filter.c:733:8: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1161:13: warning: If memory allocation fails, then there is a possible null pointer dereference: wkt_buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1160:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_filter.c:1160:22: note: Assignment 'wkt_buf=malloc(cnt+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_filter.c:1161:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_filter.c:234:22: style: Local variable 'id' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_filter.c:215:17: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_filter.c:234:22: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_filter.c:421:22: style: Local variable 'id' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_filter.c:403:17: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_filter.c:421:22: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_filter.c:666:22: style: Local variable 'id' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_filter.c:648:17: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_filter.c:666:22: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_filter.c:979:39: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_filter.c:1640:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_osm_map.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:241:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:289:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:357:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:400:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:436:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:490:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:516:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_ABORT [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:694:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:794:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:847:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:883:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:911:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:936:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1083:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_MULTIPOLYGON [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1110:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_MULTILINESTRING [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1155:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_MEMBER_WAY [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1263:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_MULTILINESTRING [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1402:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1437:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_MEMBER_WAY [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1599:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_MEMBER_WAY [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1800:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1846:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1885:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1948:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_OK [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1974:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2016:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2059:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2321:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2458:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2537:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2553:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2699:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_map.c:515:9: style: Condition '!tmp_nodes_insert(params,node)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_map.c:515:27: note: Calling function 'tmp_nodes_insert' returns 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:515:9: note: Condition '!tmp_nodes_insert(params,node)' is always false spatialite-tools-5.1.0a/spatialite_osm_map.c:541:8: style: Condition 'ret' is always true [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_map.c:540:29: note: Calling function 'point_layer_insert' returns 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:540:29: note: Assignment 'ret=point_layer_insert(params,layer_name,node,sub_type,name)', assigned value is 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:541:8: note: Condition 'ret' is always true spatialite-tools-5.1.0a/spatialite_osm_map.c:548:8: style: Condition 'ret' is always true [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_map.c:547:31: note: Calling function 'point_generic_insert' returns 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:547:31: note: Assignment 'ret=point_generic_insert(params,node,name)', assigned value is 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:548:8: note: Condition 'ret' is always true spatialite-tools-5.1.0a/spatialite_osm_map.c:574:8: style: Condition 'ret' is always true [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_map.c:572:25: note: Calling function 'address_insert' returns 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:572:25: note: Assignment 'ret=address_insert(params,node,country,city,postcode,street,housename,housenumber)', assigned value is 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:574:8: note: Condition 'ret' is always true spatialite-tools-5.1.0a/spatialite_osm_map.c:1112:8: style: Condition '!tmp_ways_insert(params,way->id,area,blob,blob_size)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_map.c:1112:25: note: Calling function 'tmp_ways_insert' returns 1 spatialite-tools-5.1.0a/spatialite_osm_map.c:1112:8: note: Condition '!tmp_ways_insert(params,way->id,area,blob,blob_size)' is always false spatialite-tools-5.1.0a/spatialite_osm_map.c:753:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_map.c:1351:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_map.c:1707:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_map.c:1729:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_map.c:766:39: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_map.c:819:42: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_map.c:871:23: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_map.c:899:19: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_map.c:926:19: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_map.c:2578:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_osm_map.c:710:3: error: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_map.c:2008:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_map.c:1999:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_osm_map.c:2008:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_osm_map.c:652:9: style: Variable 'count' is not assigned a value. [unassignedVariable] spatialite-tools-5.1.0a/spatialite_osm_map.c:1906:15: style: Variable 'i_tag' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_map.c:2765:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_map.c:2843:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_net.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:300:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAIA_XY_Z [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:411:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_OK [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:560:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_OK [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:674:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:686:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_ABORT [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:713:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:816:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:943:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1054:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1369:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1511:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1553:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1731:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1758:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2034:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2073:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2249:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2488:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_net.c:2631:17: style: The if condition is the same as the previous if condition [duplicateCondition] spatialite-tools-5.1.0a/spatialite_osm_net.c:2617:17: note: First condition spatialite-tools-5.1.0a/spatialite_osm_net.c:2631:17: note: Second condition spatialite-tools-5.1.0a/spatialite_osm_net.c:172:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_net.c:1843:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assignment 'p=malloc(sizeof(struct aux_speed))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1843:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1844:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assignment 'p=malloc(sizeof(struct aux_speed))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1844:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1845:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assignment 'p=malloc(sizeof(struct aux_speed))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1845:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1846:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1842:34: note: Assignment 'p=malloc(sizeof(struct aux_speed))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1846:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1862:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1862:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1863:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1863:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1871:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1861:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1871:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1887:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1887:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1888:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1888:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1889:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1889:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1890:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1890:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:1891:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_net.c:1886:34: note: Assignment 'p=malloc(sizeof(struct aux_class))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:1891:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:2031:23: warning: Either the condition '!template_path' is redundant or there is possible null pointer dereference: template_path. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_osm_net.c:2537:8: note: Assuming that condition '!template_path' is not redundant spatialite-tools-5.1.0a/spatialite_osm_net.c:2543:33: note: Calling function 'parse_template', 2nd argument 'template_path' value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:2031:23: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:2070:24: warning: Either the condition '!template_path' is redundant or there is possible null pointer dereference: template_path. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_osm_net.c:2500:8: note: Assuming that condition '!template_path' is not redundant spatialite-tools-5.1.0a/spatialite_osm_net.c:2506:24: note: Calling function 'print_template', 1st argument 'template_path' value is 0 spatialite-tools-5.1.0a/spatialite_osm_net.c:2070:24: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_net.c:245:61: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_net.c:401:22: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_net.c:2301:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_osm_net.c:1504:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_net.c:1497:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_osm_net.c:1504:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_osm_net.c:2504:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_net.c:2599:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_net.c:2763:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:297:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:382:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:414:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:493:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TEXT_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:545:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:574:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:661:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:684:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:780:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:812:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:846:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:875:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:977:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1023:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1052:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1341:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1469:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1802:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1930:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1988:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2421:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2481:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2533:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2593:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2648:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2708:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2764:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2824:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2879:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2939:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3060:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3693:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3868:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4013:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4027:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:699:9: style: Condition '!insert_node_tag(params,k,v)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:699:26: note: Calling function 'insert_node_tag' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:699:9: note: Condition '!insert_node_tag(params,k,v)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:712:9: style: Condition '!insert_way_tag(params,k,v)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:712:25: note: Calling function 'insert_way_tag' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:712:9: note: Condition '!insert_way_tag(params,k,v)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:725:9: style: Condition '!insert_relation_tag(params,k,v)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:725:30: note: Calling function 'insert_relation_tag' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:725:9: note: Condition '!insert_relation_tag(params,k,v)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:737:9: style: Condition '!insert_way_ref(params,node_id)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:737:25: note: Calling function 'insert_way_ref' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:737:9: note: Condition '!insert_way_ref(params,node_id)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:751:9: style: Condition '!insert_relation_ref(params,type,ref,role)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:751:30: note: Calling function 'insert_relation_ref' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:751:9: note: Condition '!insert_relation_ref(params,type,ref,role)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:775:9: style: Condition '!insert_node(params,id,x,y,version,timestamp,uid,changeset,user)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:776:2: note: Calling function 'insert_node' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:775:9: note: Condition '!insert_node(params,id,x,y,version,timestamp,uid,changeset,user)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:808:9: style: Condition '!insert_way(params,id)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:808:21: note: Calling function 'insert_way' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:808:9: note: Condition '!insert_way(params,id)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:842:9: style: Condition '!insert_relation(params,id)' is always false [knownConditionTrueFalse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:842:26: note: Calling function 'insert_relation' returns 1 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:842:9: note: Condition '!insert_relation(params,id)' is always false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1591:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1729:8: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2103:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2222:8: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2305:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3454:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3532:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2448:44: error: Dereferencing 'sql' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2560:44: error: Dereferencing 'sql' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2675:44: error: Dereferencing 'sql' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2791:44: error: Dereferencing 'sql' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2906:44: error: Dereferencing 'sql' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:257:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:257:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:258:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:258:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:259:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:259:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:260:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:260:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:261:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:261:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:262:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tile [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:256:41: note: Assignment 'tile=malloc(sizeof(struct download_tile))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:262:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:515:51: warning: Either the condition 'attr_ref==NULL' is redundant or there is possible null pointer dereference: attr_ref. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:513:18: note: Assuming that condition 'attr_ref==NULL' is not redundant spatialite-tools-5.1.0a/spatialite_osm_overpass.c:515:51: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:6: warning: Possible null pointer dereference: attr_type [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:527:29: note: Assignment 'attr_type=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:530:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:6: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:17: warning: Possible null pointer dereference: attr_ref [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:528:28: note: Assignment 'attr_ref=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:530:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:17: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:27: warning: Possible null pointer dereference: attr_role [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:529:29: note: Assignment 'attr_role=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:530:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:546:27: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:574:55: warning: Possible null pointer dereference: attr_k [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:559:26: note: Assignment 'attr_k=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:561:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:574:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:574:63: warning: Possible null pointer dereference: attr_v [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:560:26: note: Assignment 'attr_v=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:561:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:574:63: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:621:66: warning: Possible null pointer dereference: attr_id [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:588:27: note: Assignment 'attr_id=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:596:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:621:66: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:622:6: warning: Possible null pointer dereference: attr_lon [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:589:28: note: Assignment 'attr_lon=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:596:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:622:6: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:622:16: warning: Possible null pointer dereference: attr_lat [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:590:28: note: Assignment 'attr_lat=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:596:17: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:622:16: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:661:51: warning: Either the condition 'attr_id==NULL' is redundant or there is possible null pointer dereference: attr_id. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:659:17: note: Assuming that condition 'attr_id==NULL' is not redundant spatialite-tools-5.1.0a/spatialite_osm_overpass.c:661:51: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:684:56: warning: Either the condition 'attr_id==NULL' is redundant or there is possible null pointer dereference: attr_id. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:682:17: note: Assuming that condition 'attr_id==NULL' is not redundant spatialite-tools-5.1.0a/spatialite_osm_overpass.c:684:56: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1369:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1369:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1370:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1370:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1374:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1374:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1378:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1378:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1391:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1391:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1392:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arc [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1368:34: note: Assignment 'arc=malloc(sizeof(struct aux_arc))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1392:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pt_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pt_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO ln_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO ln_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pg_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pg_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mln_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mln_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mpg_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mpg_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assignment 'sql=sqlite3_mprintf("SELECT n1.node_id, n1.k AS class, n1.v AS subclass, n2.v AS name, g.geometry AS geometry FROM osm_node_tags AS n1 JOIN osm_nodes AS g ON (g.node_id = n1.node_id) LEFT JOIN osm_node_tags AS n2 ON (n2.node_id = n1.node_id AND n2.k = 'name') WHERE n1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assignment 'sql=sqlite3_mprintf("SELECT n1.node_id, n1.k AS class, n1.v AS subclass, n2.v AS name, g.geometry AS geometry FROM osm_node_tags AS n1 JOIN osm_nodes AS g ON (g.node_id = n1.node_id) LEFT JOIN osm_node_tags AS n2 ON (n2.node_id = n1.node_id AND n2.k = 'name') WHERE n1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assignment 'sql=sqlite3_mprintf("SELECT w1.way_id, w1.k AS class, w1.v AS subclass, w2.v AS name, w3.v AS polygon FROM osm_way_tags AS w1 LEFT JOIN osm_way_tags AS w2 ON (w2.way_id = w1.way_id AND w2.k = 'name') LEFT JOIN osm_way_tags AS w3 ON (w3.way_id = w1.way_id AND w3.k = 'area') WHERE w1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assignment 'sql=sqlite3_mprintf("SELECT w1.way_id, w1.k AS class, w1.v AS subclass, w2.v AS name, w3.v AS polygon FROM osm_way_tags AS w1 LEFT JOIN osm_way_tags AS w2 ON (w2.way_id = w1.way_id AND w2.k = 'name') LEFT JOIN osm_way_tags AS w3 ON (w3.way_id = w1.way_id AND w3.k = 'area') WHERE w1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:41: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assignment 'sql=sqlite3_mprintf("SELECT r1.rel_id, r1.k AS class, r1.v AS subclass, r2.v AS name, count(rr.ref) AS cnt FROM osm_relation_tags AS r1 LEFT JOIN osm_relation_tags AS r2 ON (r2.rel_id = r1.rel_id AND r2.k = 'name') LEFT JOIN osm_relation_refs AS rr ON (rr.rel_id = r1.rel_id AND rr.type = 'way') WHERE r1.k IN (%s) GROUP BY r1.rel_id",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:41: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assignment 'sql=sqlite3_mprintf("SELECT r1.rel_id, r1.k AS class, r1.v AS subclass, r2.v AS name, count(rr.ref) AS cnt FROM osm_relation_tags AS r1 LEFT JOIN osm_relation_tags AS r2 ON (r2.rel_id = r1.rel_id AND r2.k = 'name') LEFT JOIN osm_relation_refs AS rr ON (rr.rel_id = r1.rel_id AND rr.type = 'way') WHERE r1.k IN (%s) GROUP BY r1.rel_id",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_osm_overpass.c:515:51: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:661:51: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:684:56: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3361:15: style: Local variable 'layer' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3235:20: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3361:15: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3422:15: style: Local variable 'layer' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3235:20: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3422:15: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3504:15: style: Local variable 'layer' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3235:20: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3504:15: note: Shadow variable spatialite-tools-5.1.0a/spatialite_osm_overpass.c:905:61: style: Parameter 'tile' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3235:20: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4067:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1206:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1197:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_osm_overpass.c:1206:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3387:45: warning: Uninitialized variable: blob_size [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3379:49: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3387:45: note: Uninitialized variable: blob_size spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4410:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:4617:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_raw.c:94:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_UNDEFINED [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:184:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_UNDEFINED [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:278:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_UNDEFINED [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:386:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_ABORT [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:396:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_ABORT [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:406:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READOSM_ABORT [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:466:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:627:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:670:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:941:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:957:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:1097:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:980:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_osm_raw.c:619:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_osm_raw.c:610:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_osm_raw.c:619:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_osm_raw.c:1163:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_osm_raw.c:1242:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_tool.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_tool.c:146:20: error: Dereferencing 'handle' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_tool.c:189:20: error: Dereferencing 'handle' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_tool.c:228:20: error: Dereferencing 'handle' after it is deallocated / released [deallocuse] spatialite-tools-5.1.0a/spatialite_tool.c:111:22: style: Parameter 'db_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_tool.c:151:22: style: Parameter 'db_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_tool.c:194:18: style: Parameter 'db_path' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_tool.c:96:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_tool.c:87:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_tool.c:96:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_xml2utf8.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml2utf8.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml2utf8.c:89:4: error: Memory leak: out [memleak] spatialite-tools-5.1.0a/spatialite_xml2utf8.c:89:4: error: Memory leak: in [memleak] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:758:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:789:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:944:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:960:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1487:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1541:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1581:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1730:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1773:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1882:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1917:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2019:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2054:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2067:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:159:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:159:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:160:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:161:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:161:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:162:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:162:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:166:37: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:166:37: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:169:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:158:9: note: Assignment 'p=malloc(sizeof(struct resultset_comparator))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:169:12: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:170:4: warning: Possible null pointer dereference: value [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:25: note: Assignment 'p->current=malloc(sizeof(struct resultset_values)*columns)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:169:23: note: Assignment 'value=p->current+i', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:170:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:171:4: warning: Possible null pointer dereference: value [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:163:25: note: Assignment 'p->current=malloc(sizeof(struct resultset_values)*columns)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:169:23: note: Assignment 'value=p->current+i', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:171:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:349:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:349:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:350:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:350:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:368:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:368:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:369:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:369:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:378:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:378:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:379:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:379:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:380:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:380:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:381:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:381:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:382:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:382:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:383:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:347:34: note: Assignment 'p=malloc(sizeof(struct xml_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:383:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:422:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:422:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:423:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:423:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:425:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:425:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:426:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:426:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:427:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:427:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:428:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:428:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:429:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:429:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:430:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:420:37: note: Assignment 'p=malloc(sizeof(struct xml_geometry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:430:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:456:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assignment 'p=malloc(sizeof(struct xml_tables_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:456:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:457:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assignment 'p=malloc(sizeof(struct xml_tables_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:457:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:458:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assignment 'p=malloc(sizeof(struct xml_tables_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:458:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:459:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:455:40: note: Assignment 'p=malloc(sizeof(struct xml_tables_list))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:459:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:530:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ref [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:529:14: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:529:14: note: Assignment 'ref=malloc(sizeof(struct child_reference))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:530:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:531:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ref [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:529:14: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:529:14: note: Assignment 'ref=malloc(sizeof(struct child_reference))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:531:3: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:565:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assignment 'attr=malloc(sizeof(struct xml_attribute))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:565:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:566:13: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assignment 'attr=malloc(sizeof(struct xml_attribute))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:566:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:569:15: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:563:41: note: Assignment 'attr=malloc(sizeof(struct xml_attribute))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:569:15: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:603:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assignment 'p=malloc(sizeof(struct new_attributes))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:603:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:604:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assignment 'p=malloc(sizeof(struct new_attributes))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:604:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:605:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:602:39: note: Assignment 'p=malloc(sizeof(struct new_attributes))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:605:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:39: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assignment 'sql=sqlite3_mprintf("SELECT ROWID, %s FROM \"%s\" ORDER BY %s, ROWID",column_list,table->table_name,column_list)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:938:38: note: Calling function 'do_delete_duplicates', 2nd argument 'sql' value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:787:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:39: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:52: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assignment 'sql=sqlite3_mprintf("SELECT ROWID, %s FROM \"%s\" ORDER BY %s, ROWID",column_list,table->table_name,column_list)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:938:38: note: Calling function 'do_delete_duplicates', 2nd argument 'sql' value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:787:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:52: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1123:34: warning: If memory allocation fails, then there is a possible null pointer dereference: tag_parent [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1118:31: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1118:31: note: Assignment 'tag_parent=sqlite3_mprintf("<%s>",tbl->parent->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1123:34: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:42: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assignment 'sql1=sqlite3_mprintf("%s FROM \"%s\"",sql,table)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1147:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:42: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assignment 'sql1=sqlite3_mprintf("%s FROM \"%s\"",sql,table)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1147:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:42: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assignment 'sql1=sqlite3_mprintf("%s WHERE node_id = ?",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1177:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:42: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assignment 'sql1=sqlite3_mprintf("%s WHERE node_id = ?",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1177:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1487:56: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1463:20: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1487:56: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1541:62: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1524:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1541:62: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1581:61: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1562:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1581:61: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:42: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assignment 'sql=sqlite3_mprintf("SELECT p.node_id, Count(*) AS cnt FROM \"%s\" AS c JOIN \"%s\" AS p ON (p.node_id = c.parent_id) GROUP BY p.node_id HAVING cnt > 1",table,parent)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:42: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assignment 'sql=sqlite3_mprintf("SELECT p.node_id, Count(*) AS cnt FROM \"%s\" AS c JOIN \"%s\" AS p ON (p.node_id = c.parent_id) GROUP BY p.node_id HAVING cnt > 1",table,parent)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1730:50: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1719:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1730:50: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1773:54: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1755:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1773:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1829:11: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1828:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1828:19: note: Assignment 'parent=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1829:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1918:6: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1894:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1918:6: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1487:56: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1541:62: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1581:61: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1730:50: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1773:54: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1918:6: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2242:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2094:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2242:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2412:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2094:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2412:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_collapse.c:239:53: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:247:29: style: Variable 'val_prev' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:248:29: style: Variable 'val_curr' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:281:59: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:876:40: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:951:61: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1096:41: style: Parameter 'tbl' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2089:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1874:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1865:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1874:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2268:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:2439:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_xml_load.c:1074:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1295:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1448:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1516:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1907:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1964:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:1989:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2224:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2247:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2344:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2351:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2553:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_load.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] spatialite-tools-5.1.0a/spatialite_xml_load.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assignment 'buf=malloc(sizeof(struct gmlDynBuffer))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:160:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:161:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assignment 'buf=malloc(sizeof(struct gmlDynBuffer))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:161:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:162:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assignment 'buf=malloc(sizeof(struct gmlDynBuffer))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:162:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:163:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:159:39: note: Assignment 'buf=malloc(sizeof(struct gmlDynBuffer))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:163:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:319:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:319:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:320:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:320:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:321:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:321:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:322:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:322:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:323:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:318:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:323:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:349:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:349:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:364:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:364:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:367:18: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:367:18: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:370:14: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:370:14: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:379:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:379:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:380:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:380:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:381:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:381:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:382:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:382:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:383:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:348:38: note: Assignment 'table=malloc(sizeof(struct sql_table))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:383:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:416:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:416:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:417:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:417:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:418:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:418:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:419:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:419:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:420:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:420:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:421:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:421:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:422:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:422:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:423:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:423:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:424:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:424:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:425:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:425:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:426:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:426:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:427:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:406:34: note: Assignment 'tag=malloc(sizeof(struct xml_tag))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:427:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:575:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assignment 'entry=malloc(sizeof(struct stack_entry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:575:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:576:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assignment 'entry=malloc(sizeof(struct stack_entry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:576:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:577:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:574:40: note: Assignment 'entry=malloc(sizeof(struct stack_entry))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:577:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:653:35: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:623:30: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:623:30: note: Assignment 'str=sqlite3_mprintf("%s",tag->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:653:35: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:701:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xpath [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:699:26: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:699:26: note: Assignment 'xpath=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:701:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:791:17: warning: Either the condition 'name!=NULL' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] spatialite-tools-5.1.0a/spatialite_xml_load.c:2065:12: note: Assuming that condition 'name!=NULL' is not redundant spatialite-tools-5.1.0a/spatialite_xml_load.c:2061:29: note: Calling function 'is_gml_geometry', 2nd argument 'name' value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:791:17: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:847:35: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:841:32: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:841:32: note: Assignment 'tmp=sqlite3_mprintf("%s_%s",str,name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:843:10: note: Assignment 'str=tmp', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:847:35: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1151:54: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1135:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1151:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1295:54: error: Null pointer dereference: err_msg [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1282:21: note: Assignment 'err_msg=NULL', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1295:54: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:42: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assignment 'sql1=sqlite3_mprintf("%s)",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1443:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:42: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assignment 'sql1=sqlite3_mprintf("%s)",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1443:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:42: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assignment 'sql=sqlite3_mprintf("UPDATE \"%s\" SET node_value = ?, from_gml_geometry = ? WHERE node_id = ?",tbl->table_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:42: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assignment 'sql=sqlite3_mprintf("UPDATE \"%s\" SET node_value = ?, from_gml_geometry = ? WHERE node_id = ?",tbl->table_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:55: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1684:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1676:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1676:21: note: Assignment 'xml=sqlite3_mprintf("<%s>value",tbl->tag->tag_name,tbl->tag->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1684:45: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1715:44: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1708:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1708:20: note: Assignment 'xml=sqlite3_mprintf("<%s>value",tbl->tag->tag_name,tbl->tag->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1715:44: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1749:44: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1741:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1741:20: note: Assignment 'xml=sqlite3_mprintf("<%s>gml_expr",tbl->tag->tag_name,tbl->tag->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1749:44: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1779:44: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1771:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1771:20: note: Assignment 'xml=sqlite3_mprintf("<%s>gml_expr",tbl->tag->tag_name,tbl->tag->tag_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1779:44: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1861:44: warning: If memory allocation fails, then there is a possible null pointer dereference: xml [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1837:26: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1837:26: note: Assignment 'xml=sqlite3_mprintf("<%s %s=\"value\" />",tbl->tag->tag_name,attr->attr_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1861:44: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1991:13: warning: If memory allocation fails, then there is a possible null pointer dereference: gml_expr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assignment 'gml_expr=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1991:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assignment 'gml_expr=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_xml_load.c:1151:54: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1295:54: error: Null pointer dereference [nullPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1223:10: style: Local variable 'sql' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_load.c:1146:11: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_load.c:1223:10: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_load.c:2595:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_load.c:2382:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_load.c:2595:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_load.c:2814:8: style: Local variable 'ret' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_load.c:2382:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_load.c:2814:8: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_load.c:238:37: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:267:21: style: Variable 'tag1' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:268:21: style: Variable 'tag2' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:472:30: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:477:21: style: Variable 'p_item' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1131:62: style: Parameter 'tbl' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:1616:10: style: Variable 'xml' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:2283:38: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:2283:61: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:2377:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_xml_load.c:2216:9: warning: Uninitialized variable: count [uninitvar] spatialite-tools-5.1.0a/spatialite_xml_load.c:2207:14: note: Assuming condition is true spatialite-tools-5.1.0a/spatialite_xml_load.c:2216:9: note: Uninitialized variable: count spatialite-tools-5.1.0a/spatialite_xml_load.c:2621:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_xml_load.c:2841:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spatialite-tools-5.1.0a/spatialite_xml_print.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:705:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:888:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:909:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:934:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:947:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:1036:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_print.c:180:4: error: Memory leak: node [memleak] spatialite-tools-5.1.0a/spatialite_xml_print.c:180:4: error: Memory leak: node.xml_prefix [memleak] spatialite-tools-5.1.0a/spatialite_xml_print.c:180:4: error: Memory leak: node.xml_tag [memleak] spatialite-tools-5.1.0a/spatialite_xml_print.c:180:4: error: Memory leak: node.table [memleak] spatialite-tools-5.1.0a/spatialite_xml_print.c:180:4: error: Memory leak: node.parent_table [memleak] spatialite-tools-5.1.0a/spatialite_xml_print.c:142:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:142:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:152:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:153:13: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:153:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:155:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:156:13: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:156:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:158:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:158:2: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:162:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:162:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:163:12: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:163:12: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:173:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:174:39: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assignment 'sql=sqlite3_mprintf("SELECT * FROM \"%s\"",xtable)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:174:39: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:174:52: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assignment 'sql=sqlite3_mprintf("SELECT * FROM \"%s\"",xtable)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:174:52: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:182:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:182:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:183:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:183:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:184:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:184:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:185:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:185:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:186:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:186:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:187:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:141:36: note: Assignment 'node=malloc(sizeof(struct xml_node))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:176:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:187:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:244:22: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assignment 'start=sqlite3_mprintf("<%s",node->xml_tag)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:244:22: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:244:48: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assignment 'start=sqlite3_mprintf("<%s",node->xml_tag)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:244:48: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:261:11: warning: If memory allocation fails, then there is a possible null pointer dereference: prefix [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assignment 'prefix=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:261:11: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:279:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:279:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:281:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:281:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:282:13: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:282:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:283:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:278:36: note: Assignment 'attr=malloc(sizeof(struct xml_attr))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:283:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:723:14: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] spatialite-tools-5.1.0a/spatialite_xml_print.c:1077:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:1077:17: note: Assignment 'out=fopen(xml_path,"w")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:1086:19: note: Calling function 'do_print_xml', 1st argument 'out' value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:720:14: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_print.c:723:14: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assignment 'prefix=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: note: Null pointer addition spatialite-tools-5.1.0a/spatialite_xml_print.c:666:13: style: Local variable 'i' shadows outer variable [shadowVariable] spatialite-tools-5.1.0a/spatialite_xml_print.c:527:9: note: Shadowed declaration spatialite-tools-5.1.0a/spatialite_xml_print.c:666:13: note: Shadow variable spatialite-tools-5.1.0a/spatialite_xml_print.c:235:44: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] spatialite-tools-5.1.0a/spatialite_xml_print.c:964:23: style: Parameter 'argv' can be declared as const array [constParameter] spatialite-tools-5.1.0a/spatialite_xml_validator.c:186:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_validator.c:351:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ATTRIBUTE_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_validator.c:462:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ATTRIBUTE_NODE [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_validator.c:544:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_validator.c:689:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spatialite-tools-5.1.0a/spatialite_xml_validator.c:211:2: error: Memory leak: list [memleak] spatialite-tools-5.1.0a/spatialite_xml_validator.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:101:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:102:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:102:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:103:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:104:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:105:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:99:43: note: Assignment 'p=malloc(sizeof(struct schema_cached_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:106:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:212:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:208:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:208:41: note: Assignment 'list=malloc(sizeof(struct list_of_files))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:210:12: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_validator.c:212:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:213:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:208:41: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:208:41: note: Assignment 'list=malloc(sizeof(struct list_of_files))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:210:12: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_validator.c:213:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:221:4: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assignment 'item=malloc(sizeof(struct list_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:221:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:222:12: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assignment 'item=malloc(sizeof(struct list_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:222:12: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:223:4: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:218:18: note: Assignment 'item=malloc(sizeof(struct list_item))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:223:4: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:322:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assignment 'ns=malloc(sizeof(struct ns_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:322:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:323:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assignment 'ns=malloc(sizeof(struct ns_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:323:13: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:324:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:312:17: note: Assignment 'ns=malloc(sizeof(struct ns_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:324:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:379:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ns_list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assignment 'ns_list=malloc(sizeof(struct namespaces_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:379:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:380:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ns_list [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assignment 'ns_list=malloc(sizeof(struct namespaces_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:380:5: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:484:15: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:483:20: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:483:20: note: Assignment 'uri=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:484:15: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:516:14: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_validator.c:515:19: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:515:19: note: Assignment 'uri=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:516:14: note: Null pointer dereference spatialite-tools-5.1.0a/spatialite_xml_validator.c:348:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/spatialite_xml_validator.c:542:32: style: Variable 'saved' can be declared as pointer to const [constVariablePointer] spatialite-tools-5.1.0a/shell.c:1124:17: warning: If memory allocation fails, then there is a possible null pointer dereference: z [ctunullpointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1693:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1693:18: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1696:26: note: Calling function output_quoted_string, 2nd argument is null spatialite-tools-5.1.0a/shell.c:1124:17: note: Dereferencing argument z that is null spatialite-tools-5.1.0a/shell.c:4665:12: warning: Null pointer dereference: zLine [ctunullpointer] spatialite-tools-5.1.0a/shell.c:4754:8: note: Assuming that condition 'zLine' is not redundant spatialite-tools-5.1.0a/shell.c:4769:31: note: Calling function _is_command_terminator, 1st argument is null spatialite-tools-5.1.0a/shell.c:4665:12: note: Dereferencing argument zLine that is null spatialite-tools-5.1.0a/shp_sanitize.c:1907:31: warning: Null pointer dereference: path [ctunullpointer] spatialite-tools-5.1.0a/shp_sanitize.c:4097:42: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:4097:42: note: Assignment 'out_path=sqlite3_mprintf("%s/%s",out_dir,p_shp->file_name)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:4102:26: note: Calling function do_repair_shapefile, 3rd argument is null spatialite-tools-5.1.0a/shp_sanitize.c:3725:5: note: Calling function openShpWrite, 2nd argument is null spatialite-tools-5.1.0a/shp_sanitize.c:1907:31: note: Dereferencing argument path that is null spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xyz_filename [ctunullpointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assignment 'sql_statement=sqlite3_mprintf("%s/%s",directory_from_filename,token)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1932:40: note: Calling function collect_xyz_files, 2nd argument is null spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: note: Dereferencing argument xyz_filename that is null spatialite-tools-5.1.0a/spatialite_osm_net.c:2031:23: warning: Null pointer dereference: template_path [ctunullpointer] spatialite-tools-5.1.0a/spatialite_osm_net.c:2537:8: note: Assuming that condition '!template_path' is not redundant spatialite-tools-5.1.0a/spatialite_osm_net.c:2543:23: note: Calling function parse_template, 2nd argument is null spatialite-tools-5.1.0a/spatialite_osm_net.c:2031:23: note: Dereferencing argument template_path that is null spatialite-tools-5.1.0a/spatialite_osm_net.c:2070:24: warning: Null pointer dereference: template_path [ctunullpointer] spatialite-tools-5.1.0a/spatialite_osm_net.c:2500:8: note: Assuming that condition '!template_path' is not redundant spatialite-tools-5.1.0a/spatialite_osm_net.c:2506:23: note: Calling function print_template, 1st argument is null spatialite-tools-5.1.0a/spatialite_osm_net.c:2070:24: note: Dereferencing argument template_path that is null spatialite-tools-5.1.0a/spatialite_xml_load.c:791:17: warning: Null pointer dereference: name [ctunullpointer] spatialite-tools-5.1.0a/spatialite_xml_load.c:884:12: note: Assuming that condition 'name!=NULL' is not redundant spatialite-tools-5.1.0a/spatialite_xml_load.c:880:24: note: Calling function is_gml_geometry, 2nd argument is null spatialite-tools-5.1.0a/spatialite_xml_load.c:791:17: note: Dereferencing argument name that is null spatialite-tools-5.1.0a/spatialite_xml_validator.c:286:28: warning: Null pointer dereference: ns_list [ctunullpointer] spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_validator.c:378:22: note: Assignment 'ns_list=malloc(sizeof(struct namespaces_vxpath))', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:381:21: note: Calling function 'feed_vxpath_ns', 1st argument 'ns_list' value is 0 spatialite-tools-5.1.0a/spatialite_xml_validator.c:366:19: note: Calling function feed_vxpath_ns, 1st argument is null spatialite-tools-5.1.0a/spatialite_xml_validator.c:342:3: note: Calling function add_vxpath_ns, 1st argument is null spatialite-tools-5.1.0a/spatialite_xml_validator.c:286:28: note: Dereferencing argument ns_list that is null diff: head spatialite-tools-5.1.0a/shell.c:1124:17: warning: If memory allocation fails, then there is a possible null pointer dereference: z [ctunullpointerOutOfMemory] spatialite-tools-5.1.0a/shell.c:1693:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/shell.c:1693:18: note: Assignment 'buf=malloc(len*4)', assigned value is 0 spatialite-tools-5.1.0a/shell.c:1696:26: note: Calling function output_quoted_string, 2nd argument is null spatialite-tools-5.1.0a/shell.c:1124:17: note: Dereferencing argument z that is null 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2548:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2546:17: note: Assignment 'buf=malloc(20)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2549:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2560:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2561:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2562:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2558:17: note: Assignment 'buf=malloc(36)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2563:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2574:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2575:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2572:17: note: Assignment 'buf=malloc(28)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2576:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2598:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2599:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2600:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2601:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2602:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2603:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2596:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2610:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2676:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2677:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2678:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2679:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2680:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2681:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2674:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2688:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2823:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2824:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2825:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2826:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2827:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2828:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2821:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2835:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2939:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2940:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2941:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2942:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2943:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2944:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2952:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:2937:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:2959:27: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3073:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3074:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3075:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3076:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3077:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3078:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3086:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3071:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3093:27: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3343:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3344:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3345:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3346:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3347:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3348:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3356:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3341:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3363:27: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3524:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3525:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3526:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3527:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3528:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3534:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3522:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3536:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3567:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3568:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3569:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3570:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3571:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3577:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3579:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3584:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3586:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3592:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3599:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3601:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3565:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3607:27: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3633:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3634:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3635:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3636:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3637:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3643:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3645:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3650:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3652:22: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: note: Null pointer addition head spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assuming allocation function fails spatialite-tools-5.1.0a/shp_sanitize.c:3631:17: note: Assignment 'buf=malloc(this_size*2)', assigned value is 0 spatialite-tools-5.1.0a/shp_sanitize.c:3658:21: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_convert.c:249:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:244:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'view' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:249:53: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_convert.c:287:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:283:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:287:53: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_convert.c:349:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:344:37: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT name FROM sqlite_master WHERE type = 'table' AND Lower(name) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:349:53: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_convert.c:387:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:383:37: note: Assignment 'sql_statement=sqlite3_mprintf("PRAGMA table_info(\"%s\")",quoted)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:387:53: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_convert.c:480:53: warning: If memory allocation fails, then there is a possible null pointer dereference: sql_statement [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_convert.c:466:36: note: Assignment 'sql_statement=sqlite3_mprintf("SELECT spatial_index_enabled FROM geometry_columns WHERE Lower(f_table_name) = Lower(?) AND Lower(f_geometry_column) = Lower(?)")', assigned value is 0 spatialite-tools-5.1.0a/spatialite_convert.c:480:53: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xyz_filename [ctunullpointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_dem.c:1929:37: note: Assignment 'sql_statement=sqlite3_mprintf("%s/%s",directory_from_filename,token)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_dem.c:1932:40: note: Calling function collect_xyz_files, 2nd argument is null spatialite-tools-5.1.0a/spatialite_dem.c:1867:25: note: Dereferencing argument xyz_filename that is null 2.17.0 spatialite-tools-5.1.0a/spatialite_network.c:722:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:722:16: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_network.c:722:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:722:16: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/spatialite_network.c:732:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:732:21: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_network.c:732:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:732:21: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/spatialite_network.c:733:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:733:21: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_network.c:733:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_network.c:716:24: note: Assignment 'arc_array=malloc(sizeof(struct arc*)*n)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_network.c:733:21: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2441:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pt_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2444:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2553:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO ln_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2556:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2668:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO pg_%s (osm_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2671:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2784:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mln_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2787:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2899:27: note: Assignment 'sql=sqlite3_mprintf("INSERT INTO mpg_%s (node_id, type, name, Geometry) VALUES (?, ?, ?, ?)",layer->name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:2902:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3256:18: note: Assignment 'sql=sqlite3_mprintf("SELECT n1.node_id, n1.k AS class, n1.v AS subclass, n2.v AS name, g.geometry AS geometry FROM osm_node_tags AS n1 JOIN osm_nodes AS g ON (g.node_id = n1.node_id) LEFT JOIN osm_node_tags AS n2 ON (n2.node_id = n1.node_id AND n2.k = 'name') WHERE n1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3263:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3274:27: note: Assignment 'sql=sqlite3_mprintf("SELECT w1.way_id, w1.k AS class, w1.v AS subclass, w2.v AS name, w3.v AS polygon FROM osm_way_tags AS w1 LEFT JOIN osm_way_tags AS w2 ON (w2.way_id = w1.way_id AND w2.k = 'name') LEFT JOIN osm_way_tags AS w3 ON (w3.way_id = w1.way_id AND w3.k = 'area') WHERE w1.k IN (%s)",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3281:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:54: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3292:27: note: Assignment 'sql=sqlite3_mprintf("SELECT r1.rel_id, r1.k AS class, r1.v AS subclass, r2.v AS name, count(rr.ref) AS cnt FROM osm_relation_tags AS r1 LEFT JOIN osm_relation_tags AS r2 ON (r2.rel_id = r1.rel_id AND r2.k = 'name') LEFT JOIN osm_relation_refs AS rr ON (rr.rel_id = r1.rel_id AND rr.type = 'way') WHERE r1.k IN (%s) GROUP BY r1.rel_id",layers)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_osm_overpass.c:3298:54: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1145:28: note: Assignment 'sql1=sqlite3_mprintf("%s FROM \"%s\"",sql,table)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1147:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1148:55: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1175:28: note: Assignment 'sql1=sqlite3_mprintf("%s WHERE node_id = ?",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1177:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1178:55: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1723:27: note: Assignment 'sql=sqlite3_mprintf("SELECT p.node_id, Count(*) AS cnt FROM \"%s\" AS c JOIN \"%s\" AS p ON (p.node_id = c.parent_id) GROUP BY p.node_id HAVING cnt > 1",table,parent)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:1726:55: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:52: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_collapse.c:932:27: note: Assignment 'sql=sqlite3_mprintf("SELECT ROWID, %s FROM \"%s\" ORDER BY %s, ROWID",column_list,table->table_name,column_list)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:938:38: note: Calling function 'do_delete_duplicates', 2nd argument 'sql' value is 0 spatialite-tools-5.1.0a/spatialite_xml_collapse.c:787:13: note: Assuming condition is false spatialite-tools-5.1.0a/spatialite_xml_collapse.c:794:52: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1441:28: note: Assignment 'sql1=sqlite3_mprintf("%s)",sql)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1443:9: note: sql is assigned 'sql1' here. spatialite-tools-5.1.0a/spatialite_xml_load.c:1444:55: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:55: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1456:24: note: Assignment 'sql=sqlite3_mprintf("UPDATE \"%s\" SET node_value = ?, from_gml_geometry = ? WHERE node_id = ?",tbl->table_name)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1464:55: note: Null pointer dereference 2.17.0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assignment 'gml_expr=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_load.c:1990:23: note: Assignment 'gml_expr=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_load.c:1992:16: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_xml_print.c:174:52: warning: If memory allocation fails, then there is a possible null pointer dereference: sql [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:167:24: note: Assignment 'sql=sqlite3_mprintf("SELECT * FROM \"%s\"",xtable)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:174:52: note: Null pointer dereference head spatialite-tools-5.1.0a/spatialite_xml_print.c:244:48: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:240:26: note: Assignment 'start=sqlite3_mprintf("<%s",node->xml_tag)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:244:48: note: Null pointer dereference 2.17.0 spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assignment 'prefix=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:260:25: note: Assignment 'prefix=malloc(len+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:262:12: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:534:11: note: Null pointer addition 2.17.0 spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: note: Null pointer addition head spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assuming allocation function fails spatialite-tools-5.1.0a/spatialite_xml_print.c:532:21: note: Assignment 'indent=malloc(node->level+1)', assigned value is 0 spatialite-tools-5.1.0a/spatialite_xml_print.c:535:14: note: Null pointer addition DONE