2025-05-06 17:00 ftp://ftp.de.debian.org/debian/pool/main/o/ogdi-dfsg/ogdi-dfsg_4.1.1+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 56be00d (2025-05-06 17:27:07 +0200) count: 1407 1368 elapsed-time: 5.2 5.4 head-timing-info: old-timing-info: head results: ogdi-ogdi_4_1_1/contrib/gdal/gdalbridge.c:101:11: style: Variable 'pfnTest' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:244:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:316:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:342:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:393:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:711:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:635:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:75:51: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:75:21: note: Assignment 'spriv=s->priv=(struct ServerPrivateData*)malloc(sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:76:17: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:88:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:89:9: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:75:51: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:75:21: note: Assignment 'spriv=s->priv=(struct ServerPrivateData*)malloc(sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:76:17: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:89:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:349:56: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:544:48: style: Parameter 'Id' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:564:55: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:574:55: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/gdal/gdal_serv.c:498:40: style: Variable '((unsigned int*)pData)[i]' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:105:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Line [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:510:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Matrix [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:621:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Image [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:723:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Point [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:271:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:271:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:272:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:272:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:274:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:274:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:277:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:277:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:280:42: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:280:42: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:281:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:281:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:284:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:284:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:284:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:280:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:280:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:284:24: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:286:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:286:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:301:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:302:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:302:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:303:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:303:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:309:33: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:309:33: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:311:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:311:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:6: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:19: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:36: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:57: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:57: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:39: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:39: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:52: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:52: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:38: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:52: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:52: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:317:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:317:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:319:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:319:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:326:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:328:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:328:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:329:39: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:329:39: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:331:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:332:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:332:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:333:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:333:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:334:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:283:13: note: Assignment 'psDBF=(struct DBFInfo*)calloc(1,sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:295:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:334:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:447:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:447:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:448:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:448:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:450:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:450:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:453:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:453:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:42: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:42: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:457:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:457:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:463:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:463:17: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:470:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:456:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:464:12: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:470:17: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:481:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:481:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:482:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:482:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:483:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:483:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:484:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:484:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:485:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:485:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:487:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:487:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:488:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:488:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:489:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:489:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:490:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:490:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:491:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:491:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:493:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:493:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:494:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:494:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:495:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:495:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:497:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psDBF [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:479:13: note: Assignment 'psDBF=(struct DBFInfo*)malloc(sizeof(struct DBFInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:497:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:250:33: style:inconclusive: Function 'DBFOpen' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:322:33: note: Function 'DBFOpen' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:250:33: note: Function 'DBFOpen' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:368:25: style:inconclusive: Function 'DBFClose' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:350:26: note: Function 'DBFClose' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:368:25: note: Function 'DBFClose' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:434:35: style:inconclusive: Function 'DBFCreate' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:323:35: note: Function 'DBFCreate' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:434:35: note: Function 'DBFCreate' argument 1 names different: declaration 'pszDBFFile' definition 'pszFilename'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:509:27: style:inconclusive: Function 'DBFAddField' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:327:28: note: Function 'DBFAddField' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:509:27: note: Function 'DBFAddField' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:713:40: style:inconclusive: Function 'DBFReadIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:334:41: note: Function 'DBFReadIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:713:40: note: Function 'DBFReadIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:713:51: style:inconclusive: Function 'DBFReadIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:334:51: note: Function 'DBFReadIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:713:51: note: Function 'DBFReadIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:732:42: style:inconclusive: Function 'DBFReadDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:335:43: note: Function 'DBFReadDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:732:42: note: Function 'DBFReadDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:732:53: style:inconclusive: Function 'DBFReadDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:335:53: note: Function 'DBFReadDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:732:53: note: Function 'DBFReadDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:751:47: style:inconclusive: Function 'DBFReadStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:336:47: note: Function 'DBFReadStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:751:47: note: Function 'DBFReadStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:751:58: style:inconclusive: Function 'DBFReadStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:336:57: note: Function 'DBFReadStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:751:58: note: Function 'DBFReadStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:947:40: style:inconclusive: Function 'DBFWriteDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:340:40: note: Function 'DBFWriteDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:947:40: note: Function 'DBFWriteDoubleAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:947:51: style:inconclusive: Function 'DBFWriteDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:340:50: note: Function 'DBFWriteDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:947:51: note: Function 'DBFWriteDoubleAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:948:16: style:inconclusive: Function 'DBFWriteDoubleAttribute' argument 4 names different: declaration 'dFieldValue' definition 'dValue'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:341:16: note: Function 'DBFWriteDoubleAttribute' argument 4 names different: declaration 'dFieldValue' definition 'dValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:948:16: note: Function 'DBFWriteDoubleAttribute' argument 4 names different: declaration 'dFieldValue' definition 'dValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:960:41: style:inconclusive: Function 'DBFWriteIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:338:41: note: Function 'DBFWriteIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:960:41: note: Function 'DBFWriteIntegerAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:960:52: style:inconclusive: Function 'DBFWriteIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:338:51: note: Function 'DBFWriteIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:960:52: note: Function 'DBFWriteIntegerAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:961:14: style:inconclusive: Function 'DBFWriteIntegerAttribute' argument 4 names different: declaration 'nFieldValue' definition 'nValue'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:339:14: note: Function 'DBFWriteIntegerAttribute' argument 4 names different: declaration 'nFieldValue' definition 'nValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:961:14: note: Function 'DBFWriteIntegerAttribute' argument 4 names different: declaration 'nFieldValue' definition 'nValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:975:40: style:inconclusive: Function 'DBFWriteStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:342:40: note: Function 'DBFWriteStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:975:40: note: Function 'DBFWriteStringAttribute' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:975:51: style:inconclusive: Function 'DBFWriteStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:342:50: note: Function 'DBFWriteStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:975:51: note: Function 'DBFWriteStringAttribute' argument 2 names different: declaration 'iShape' definition 'iRecord'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:976:22: style:inconclusive: Function 'DBFWriteStringAttribute' argument 4 names different: declaration 'pszFieldValue' definition 'pszValue'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:343:22: note: Function 'DBFWriteStringAttribute' argument 4 names different: declaration 'pszFieldValue' definition 'pszValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:976:22: note: Function 'DBFWriteStringAttribute' argument 4 names different: declaration 'pszFieldValue' definition 'pszValue'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:1139:39: style:inconclusive: Function 'DBFGetNativeFieldType' argument 1 names different: declaration 'hDBF' definition 'psDBF'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:351:42: note: Function 'DBFGetNativeFieldType' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:1139:39: note: Function 'DBFGetNativeFieldType' argument 1 names different: declaration 'hDBF' definition 'psDBF'. ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:338:18: style: Variable 'pabyFInfo' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:610:20: style: Variable 'pabyRec' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:688:15: style: Variable 'pchSrc' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:716:13: style: Variable 'pdValue' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:832:16: style: Parameter 'pValue' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:988:56: style: Parameter 'pRawTuple' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:1053:20: style: Variable 'pabyRec' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:311:32: style: Variable 'nRecords' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:117:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Area [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:265:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Matrix [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:304:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Text [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:364:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:431:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Matrix [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:536:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Image [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:692:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Point [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:803:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:813:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:532:9: error: Resource leak: fp_aux [resourceLeak] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:643:9: error: Resource leak: fp_aux [resourceLeak] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:660:9: error: Resource leak: fp_aux [resourceLeak] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:345:17: warning: If memory allocation fails, then there is a possible null pointer dereference: parts [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:336:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:336:21: note: Assignment 'parts=(int*)malloc(sizeof(int)*area->ring.ring_len)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:345:17: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:348:21: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:337:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:337:17: note: Assignment 'x=(double*)malloc(sizeof(double)*nPoints)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:348:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:349:21: warning: If memory allocation fails, then there is a possible null pointer dereference: y [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:338:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:338:17: note: Assignment 'y=(double*)malloc(sizeof(double)*nPoints)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:349:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:375:17: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:371:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:371:17: note: Assignment 'x=(double*)malloc(sizeof(double)*line->c.c_len)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:375:17: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:376:17: warning: If memory allocation fails, then there is a possible null pointer dereference: y [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:372:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:372:17: note: Assignment 'y=(double*)malloc(sizeof(double)*line->c.c_len)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:376:17: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:525:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_aux [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assignment 'fp_aux=fopen(filename,"wt")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:525:14: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:534:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_aux [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assignment 'fp_aux=fopen(filename,"wt")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:531:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:534:14: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:536:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_aux [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:521:19: note: Assignment 'fp_aux=fopen(filename,"wt")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:531:19: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:536:14: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:581:22: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_raw [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:563:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:563:19: note: Assignment 'fp_raw=fopen(filename,"wb")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:581:22: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:589:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_raw [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:563:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:563:19: note: Assignment 'fp_raw=fopen(filename,"wb")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:589:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:636:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_aux [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:632:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:632:19: note: Assignment 'fp_aux=fopen(filename,"wt")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:636:14: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:714:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_raw [nullPointerOutOfResources] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:677:19: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:677:19: note: Assignment 'fp_raw=fopen(filename,"wb")', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:714:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:724:11: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:728:11: style: Variable 'out_file' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/ogdi_import.c:724:17: style: Variable 'layer' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCLIENT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCLIENT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:456:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:634:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:714:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_FeatureRing [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:978:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MultiResult [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1057:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1256:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dob [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1496:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodatum [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1621:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1693:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1770:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1815:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCLIENT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1854:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1915:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1967:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2170:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Cache [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2310:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2502:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2758:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2855:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1736:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1737:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1872:7: error: Common realloc mistake: 'retstring' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2521:7: error: Memory leak: rc.coef [memleak] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1012:2: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1011:14: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1011:14: note: Assignment 'obj=malloc(sizeof(ecs_Result))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1012:2: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:9: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:29: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:29: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2044:7: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2044:7: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2045:7: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2045:7: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:10: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:10: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:44: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:44: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/client.c:245:12: style: Parameter 'URL' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1494:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1536:12: style: Parameter 'tclproc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1575:24: style: Variable 'cln' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1680:24: style: Variable 'cln' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1734:17: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1766:24: style: Variable 'cln' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1811:12: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1905:18: style: Parameter 'GR' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1955:14: style: Variable 'CachePtr' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2115:26: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2253:26: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2256:24: style: Variable 'cln' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2300:18: style: Parameter 'server_region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2492:15: style: Variable 'result' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:1736:12: style: Variable 'ClientID' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:766:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:774:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:780:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:784:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:601:14: style: Local variable 'i' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:501:27: note: Shadowed declaration ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:601:14: note: Shadow variable ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:785:25: style: Local variable 'layer' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:693:11: note: Shadowed declaration ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:785:25: note: Shadow variable ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:254:20: style: Variable 'raw' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:332:30: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:497:59: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_info/ogdi_info.c:505:29: style: Variable 'oaf' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_dyna.c:206:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_dyna.c:60:12: style: Parameter 'libname' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_dyna.c:150:12: style: Parameter 'functionname' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:158:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_LayerCapabilities [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:367:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Matrix [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:498:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:16:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:70:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_double [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_FeatureRing [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Coordinate [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:148:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_int [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:160:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_int [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:199:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:290:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:301:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:315:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:389:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:412:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:423:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:442:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_ObjAttribute [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:475:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:494:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:566:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:577:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:617:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:632:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdr.c:645:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdrz.c:48:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECS_COMPRESS_NONE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdrz.c:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdrz.c:160:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECS_COMPRESS_NONE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_xdrz.c:277:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:112:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SimpleError [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:140:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:201:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:239:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:276:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Text [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:386:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:434:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeoRegion [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:474:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AText [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:515:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RasterInfo [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:619:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Category [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:678:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objAttributeFormat [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:724:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_ObjAttribute [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:776:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:823:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:876:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:923:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:984:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Coordinate [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1024:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1071:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1253:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1336:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_val [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1461:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1563:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1616:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1666:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1737:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1800:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1861:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_FeatureRing [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1925:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Coordinate [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1967:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1997:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:2034:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Coordinate [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:2078:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Coordinate [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:2120:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_val [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1574:5: warning: Either the condition '(result=(ecs_Result*)malloc(sizeof(ecs_Result)))==NULL' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1568:62: note: Assuming that condition '(result=(ecs_Result*)malloc(sizeof(ecs_Result)))==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1574:5: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1575:5: warning: Either the condition '(result=(ecs_Result*)malloc(sizeof(ecs_Result)))==NULL' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1568:62: note: Assuming that condition '(result=(ecs_Result*)malloc(sizeof(ecs_Result)))==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1575:5: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1741:19: style: The comparison 'returncode == TRUE' is always true because 'returncode' and 'TRUE' represent the same value. [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1737:16: note: 'returncode' is assigned value 'TRUE' here. ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1741:19: note: The comparison 'returncode == TRUE' is always true because 'returncode' and 'TRUE' represent the same value. ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1577:16: style: Variable 'returncode' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1563:14: note: returncode is assigned ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1577:16: note: returncode is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1577:16: style: Variable 'returncode' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1569:18: note: returncode is assigned ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1577:16: note: returncode is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1623:18: style: Variable 'returncode' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1616:14: note: returncode is assigned ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1623:18: note: returncode is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1702:16: style: Variable 'returncode' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1680:18: note: returncode is assigned ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1702:16: note: returncode is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1768:14: style: Variable 'returncode' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1746:16: note: returncode is assigned ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1768:14: note: returncode is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:109:12: style: Parameter 'error_message' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:340:12: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:384:12: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:470:12: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:611:12: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:713:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:819:12: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1021:20: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1117:20: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsassoc.c:1443:28: style: Variable 'coord' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:416:14: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:418:10: warning: If memory allocation fails, then there is a possible null pointer dereference: *list [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:414:37: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:414:21: note: Assignment '*list=(char**)calloc(2,sizeof(char*))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/c-api/ecs_capabilities.c:418:10: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:273:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Area [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:309:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECSTOLERANCE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:340:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:394:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:507:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsgeo.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsgeo.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsgeo.c:147:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsgeo.c:292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:307:18: style: Parameter 'reg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:463:14: style: Parameter 's1' can be declared as pointer to const. However it seems that 'compar' is a callback function, if 's1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:453:38: note: You might need to cast the function pointer here ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:463:14: note: Parameter 's1' can be declared as pointer to const ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:463:18: style: Parameter 's2' can be declared as pointer to const. However it seems that 'compar' is a callback function, if 's2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:453:38: note: You might need to cast the function pointer here ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:463:18: note: Parameter 's2' can be declared as pointer to const ogdi-ogdi_4_1_1/ogdi/c-api/ecsdist.c:561:20: style: Variable 'byte_pixel' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:438:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:532:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:248:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:432:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:10: note: Assignment 'argv=(char**)malloc((unsigned int)((size*sizeof(char*))+(p-list)+1))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: note: Null pointer addition ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:260:11: style: Local variable 'size' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:186:7: note: Shadowed declaration ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:260:11: note: Shadow variable ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:57:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:637:26: error: Invalid strcspn() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:574:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:219:55: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:331:45: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:331:56: style: Parameter 'urlfile' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:523:27: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:523:60: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecsinfo.c:527:26: style: Variable 'tmpfile' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecssplit.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecssplit.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:183:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:479:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:595:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:653:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:713:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:803:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_TileBufferLine [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:883:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:991:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:1004:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:238:9: warning: Either the condition 'matrix==NULL' is redundant or there is possible null pointer dereference: matrix. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:239:14: note: Assuming that condition 'matrix==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:238:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:225:25: style:inconclusive: Function 'mat_malloc' argument 1 names different: declaration 'heigth' definition 'height'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.h:24:25: note: Function 'mat_malloc' argument 1 names different: declaration 'heigth' definition 'height'. ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:225:25: note: Function 'mat_malloc' argument 1 names different: declaration 'heigth' definition 'height'. ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:22:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:45:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:45:17: style: Variable 'k' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:72:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/matrix.c:72:17: style: Variable 'k' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:732:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:142:17: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:243:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:244:22: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:251:14: style: Variable 'l' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:588:72: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:646:60: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:708:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:988:34: style: Parameter 'id1' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:988:51: style: Parameter 'id2' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/ecstile.c:998:55: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:355:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:477:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:501:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:528:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nbfeature [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:566:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Integer [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:586:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:611:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:650:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:669:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:749:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJ_LONGLAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:814:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJ_LONGLAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:191:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:402:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:488:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:616:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Select [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:826:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AttributeDriverHandle [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:903:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1018:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1120:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_ResultUnion [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1225:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionAttributeListQty [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1355:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1423:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionAttributeListQty [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1553:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1814:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Layer [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1878:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Select [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1908:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Select [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Area [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2368:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2464:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_AttributeLink [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2796:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:3193:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGDIID [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:327:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:134:33: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:172:35: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:728:13: warning: If memory allocation fails, then there is a possible null pointer dereference: lpriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:47: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:32: note: Assignment 'dummy_layer.priv=(void*)calloc(sizeof(struct LayerPrivateData),1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:727:19: note: lpriv is assigned '(struct LayerPrivateData*)dummy_layer.priv' here. ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:728:13: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:729:13: warning: If memory allocation fails, then there is a possible null pointer dereference: lpriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:47: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:32: note: Assignment 'dummy_layer.priv=(void*)calloc(sizeof(struct LayerPrivateData),1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:727:19: note: lpriv is assigned '(struct LayerPrivateData*)dummy_layer.priv' here. ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:729:13: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:731:20: warning: If memory allocation fails, then there is a possible null pointer dereference: lpriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:47: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:725:32: note: Assignment 'dummy_layer.priv=(void*)calloc(sizeof(struct LayerPrivateData),1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:727:19: note: lpriv is assigned '(struct LayerPrivateData*)dummy_layer.priv' here. ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:731:20: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:96:18: style: Variable 'structure' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:98:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:343:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:514:18: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/adrg.c:687:12: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/object.c:223:3: error: There is an unknown macro here somewhere. Configuration is required. If ECS_SETGEOMBOUNDINGBOX is a macro then please configure it. [unknownMacro] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:288:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:477:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:518:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:330:25: style: Condition '*((unsigned char*)&i)==1' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:329:9: note: Assignment 'i=1', assigned value is 1 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:330:25: note: Condition '*((unsigned char*)&i)==1' is always true ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:573:25: style: Condition '*((unsigned char*)&i)==1' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:572:9: note: Assignment 'i=1', assigned value is 1 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:573:25: note: Condition '*((unsigned char*)&i)==1' is always true ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:287:2: warning: If memory allocation fails, then there is a possible null pointer dereference: panSHX [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:283:30: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:283:14: note: Assignment 'panSHX=(int32*)malloc(sizeof(int32)*2*psSHP->nRecords)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:287:2: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:288:2: warning: If memory allocation fails, then there is a possible null pointer dereference: panSHX [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:283:30: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:283:14: note: Assignment 'panSHX=(int32*)malloc(sizeof(int32)*2*psSHP->nRecords)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:288:2: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:340:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psSHP [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:13: note: Assignment 'psSHP=(struct SHPInfo*)malloc(sizeof(struct SHPInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:340:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:347:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:347:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:348:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:348:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:350:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:350:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:353:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:353:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:42: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:42: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:361:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:361:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:362:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psSHP [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:13: note: Assignment 'psSHP=(struct SHPInfo*)malloc(sizeof(struct SHPInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:362:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:362:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:362:26: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:363:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psSHP [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:13: note: Assignment 'psSHP=(struct SHPInfo*)malloc(sizeof(struct SHPInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:363:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:369:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psSHP [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:13: note: Assignment 'psSHP=(struct SHPInfo*)malloc(sizeof(struct SHPInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:369:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:372:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:369:22: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:372:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:373:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psSHP [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:338:13: note: Assignment 'psSHP=(struct SHPInfo*)malloc(sizeof(struct SHPInfo))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:369:22: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:373:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:373:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:360:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:369:22: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:373:26: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:392:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:392:25: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:393:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:393:6: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:394:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:394:6: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:395:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:395:6: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:402:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:402:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:403:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:403:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:404:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:404:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:35: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:23: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:35: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:418:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:418:25: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:583:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:583:13: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:584:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:584:21: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:586:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:586:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:589:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:589:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:42: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:42: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:596:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:596:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:597:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:597:19: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:601:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:598:15: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:601:37: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:602:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszFullname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:595:19: note: Assignment 'pszFullname=(char*)malloc(strlen(pszBasename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:598:15: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:602:19: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:737:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:737:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:738:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:738:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:799:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:799:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:800:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:800:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:801:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:801:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:802:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:802:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:809:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:809:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:810:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psObject [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:736:16: note: Assignment 'psObject=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:810:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1228:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1228:5: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:9: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:9: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:46: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:46: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1237:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1237:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1238:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1238:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1239:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1239:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1240:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1240:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1241:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1241:12: note: Null pointer dereference ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(8*((1>psSHP->nRecords)?1:psSHP->nRecords))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: note: Null pointer addition ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:175:19: style: Variable '((unsigned char*)wordP)[length-i-1]' is assigned an expression that holds the same value. [redundantAssignment] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:173:7: note: temp is assigned '((unsigned char*)wordP)[i]' here. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:175:19: note: Variable '((unsigned char*)wordP)[length-i-1]' is assigned an expression that holds the same value. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:305:33: style:inconclusive: Function 'SHPOpen' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:209:33: note: Function 'SHPOpen' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:305:33: note: Function 'SHPOpen' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:495:25: style:inconclusive: Function 'SHPClose' argument 1 names different: declaration 'hSHP' definition 'psSHP'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:226:26: note: Function 'SHPClose' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:495:25: note: Function 'SHPClose' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:531:27: style:inconclusive: Function 'SHPGetInfo' argument 1 names different: declaration 'hSHP' definition 'psSHP'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:211:28: note: Function 'SHPGetInfo' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:531:27: note: Function 'SHPGetInfo' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:559:35: style:inconclusive: Function 'SHPCreate' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:210:35: note: Function 'SHPCreate' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:559:35: note: Function 'SHPCreate' argument 1 names different: declaration 'pszShapeFile' definition 'pszLayer'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:850:30: style:inconclusive: Function 'SHPWriteObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:215:31: note: Function 'SHPWriteObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:850:30: note: Function 'SHPWriteObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:850:41: style:inconclusive: Function 'SHPWriteObject' argument 2 names different: declaration 'iShape' definition 'nShapeId'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:215:41: note: Function 'SHPWriteObject' argument 2 names different: declaration 'iShape' definition 'nShapeId'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:850:41: note: Function 'SHPWriteObject' argument 2 names different: declaration 'iShape' definition 'nShapeId'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1198:37: style:inconclusive: Function 'SHPReadObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:214:37: note: Function 'SHPReadObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1198:37: note: Function 'SHPReadObject' argument 1 names different: declaration 'hSHP' definition 'psSHP'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1198:48: style:inconclusive: Function 'SHPReadObject' argument 2 names different: declaration 'iShape' definition 'hEntity'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:214:47: note: Function 'SHPReadObject' argument 2 names different: declaration 'iShape' definition 'hEntity'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1198:48: note: Function 'SHPReadObject' argument 2 names different: declaration 'iShape' definition 'hEntity'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1613:36: style:inconclusive: Function 'SHPDestroyObject' argument 1 names different: declaration 'psObject' definition 'psShape'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/contrib/ogdi_import/shapefil.h:217:36: note: Function 'SHPDestroyObject' argument 1 names different: declaration 'psObject' definition 'psShape'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1613:36: note: Function 'SHPDestroyObject' argument 1 names different: declaration 'psObject' definition 'psShape'. ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:854:12: style: Local variable 'pabyRec' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:155:15: note: Shadowed declaration ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:854:12: note: Shadow variable ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:907:11: style: Local variable 'i' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:853:32: note: Shadowed declaration ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:907:11: note: Shadow variable ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1023:11: style: Local variable 'i' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:853:32: note: Shadowed declaration ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1023:11: note: Shadow variable ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:666:57: style: Parameter 'psShape' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:728:35: style: Parameter 'panPartStart' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:728:55: style: Parameter 'panPartType' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:729:53: style: Parameter 'padfX' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:729:69: style: Parameter 'padfY' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:730:38: style: Parameter 'padfZ' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:730:54: style: Parameter 'padfM' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREATESERVER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESTROYSERVER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTLAYER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:63:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELEASELAYER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTREGION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETDICTIONNARY [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETATTRIBUTEFORMAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:123:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETNEXTOBJECT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:138:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETRASTERINFO [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:153:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETOBJECT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:168:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETOBJECTIDFROMCOORD [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:183:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPDATEDICTIONARY [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:198:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETSERVERPROJECTION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:213:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETGLOBALBOUND [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETSERVERLANGUAGE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:243:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETRASTERCONVERSION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREATEPROXYSERVER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/ecs_clnt.c:273:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETCOMPRESSION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:68:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:417:12: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:475:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:517:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/adrg/utils.c:577:18: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECSVERS [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:203:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:257:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:341:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:381:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:414:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:448:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:482:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:515:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:550:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:584:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:618:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:651:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:684:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:720:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/remote.c:756:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ecs_Result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:19:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREATESERVER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESTROYSERVER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:53:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTLAYER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:70:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELEASELAYER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTREGION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:104:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETDICTIONNARY [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETATTRIBUTEFORMAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:138:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETNEXTOBJECT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETRASTERINFO [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:172:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETOBJECT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:189:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETOBJECTIDFROMCOORD [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:206:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPDATEDICTIONARY [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:223:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETSERVERPROJECTION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:240:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETGLOBALBOUND [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETSERVERLANGUAGE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/network/sun/ecs_clnt.c:274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETRASTERCONVERSION [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/object.c:323:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exists [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/object.c:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/object.c:542:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Image [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/object.c:733:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exists [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:281:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Image [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:446:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:470:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:497:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nbfeature [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:519:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Integer [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:600:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:712:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:769:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:783:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:802:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:934:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJ_LONGLAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:1024:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJ_LONGLAT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:195:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:483:18: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:707:30: style: Variable 'lpriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:873:12: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:878:15: style: Variable 'toc' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/rpf.c:906:24: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/object.c:1327:3: error: There is an unknown macro here somewhere. Configuration is required. If ECS_SETGEOMBOUNDINGBOX is a macro then please configure it. [unknownMacro] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:618:56: style: Condition 'ecs_ReleaseAttributeQuery(s,&(s->layer[i]),&error)!=0' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:618:31: note: Calling function 'ecs_ReleaseAttributeQuery' returns 0 ogdi-ogdi_4_1_1/ogdi/c-api/server.c:618:56: note: Condition 'ecs_ReleaseAttributeQuery(s,&(s->layer[i]),&error)!=0' is always false ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2199:14: warning: Either the condition 'request!=NULL' is redundant or there is possible null pointer dereference: request. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2209:19: note: Assuming that condition 'request!=NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2199:14: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/skeleton/open.c:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/open.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/open.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/open.c:375:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/open.c:493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:521:6: style: Variable 'msg' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:520:6: note: msg is assigned ogdi-ogdi_4_1_1/ogdi/c-api/server.c:521:6: note: msg is overwritten ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1566:19: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1809:26: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1872:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1873:26: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2003:12: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2095:9: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2453:12: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2454:12: style: Parameter 'layer' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2456:12: style: Parameter 'drivertype' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2457:12: style: Parameter 'infosource' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2458:12: style: Parameter 'userdesc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2459:12: style: Parameter 'autorization' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2460:12: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:3171:17: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:3309:17: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:3310:20: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1035:8: warning: Uninitialized variable: msg [uninitvar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1020:10: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/c-api/server.c:1035:8: note: Uninitialized variable: msg ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:454:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:611:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1005:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exists [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2013:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2086:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2206:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable directory [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:2775:4: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/c-api/server.c:3186:8: style: Variable 'code' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:421:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:522:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:580:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:706:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:772:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:811:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:856:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:1148:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:198:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:190:49: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:190:19: note: Assignment 'spriv=s->priv=(struct ServerPrivateData*)malloc(sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:191:15: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:198:3: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/skeleton/skeleton.c:612:18: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:264:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:616:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:679:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:715:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:765:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:821:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:871:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1066:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1490:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1611:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1745:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:353:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:517:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:703:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:809:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:955:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1033:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1080:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1183:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1303:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1428:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1512:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1614:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1741:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1829:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:202:9: style: The if condition is the same as the previous if condition [duplicateCondition] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:189:9: note: First condition ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:202:9: note: Second condition ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:532:6: style: Condition 'ptr1' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:550:6: style: Condition 'ptr2' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1503:6: style: Condition 'ptr1' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1519:6: style: Condition 'ptr2' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1535:6: style: Condition 'ptr3' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1551:6: style: Condition 'ptr4' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1617:2: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1628:2: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1645:2: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1657:2: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1673:7: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1685:7: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1697:7: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1709:7: error: Common realloc mistake: 'returnString' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:304:9: warning: If memory allocation fails, then there is a possible null pointer dereference: vertX [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:296:30: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:296:13: note: Assignment 'vertX=(double*)malloc(sizeof(double)*maxVertCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:304:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:305:9: warning: If memory allocation fails, then there is a possible null pointer dereference: vertY [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:297:30: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:297:13: note: Assignment 'vertY=(double*)malloc(sizeof(double)*maxVertCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:305:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:324:17: warning: If memory allocation fails, then there is a possible null pointer dereference: primConsumed [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:298:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:298:20: note: Assignment 'primConsumed=(int*)calloc(sizeof(int),primCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:324:17: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1608:10: warning: If memory allocation fails, then there is a possible null pointer dereference: returnString [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1607:33: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1607:18: note: Assignment 'returnString=(char*)malloc(lenght)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1608:10: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:40: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:19: note: Assignment 'primResults=(ecs_Result*)calloc(sizeof(ecs_Result),primCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: note: Null pointer addition ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1008:13: style: Variable 'code' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1007:8: note: code is assigned ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1008:13: note: code is overwritten ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:246:13: style: Parameter 'primList' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:247:13: style: Parameter 'tileList' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:706:13: style: Parameter 'tileList' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:1738:30: style: Variable 'lpriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:732:14: style: Condition '*c_ptr==0' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:728:7: note: Assignment 's=1', assigned value is 1 ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:732:14: note: Condition '*c_ptr==0' is always false ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:734:19: style: Condition '*c_ptr==1' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:728:7: note: Assignment 's=1', assigned value is 1 ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:734:19: note: Condition '*c_ptr==1' is always true ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1806:32: style: Condition 'file->head.rpf_type==RPF_CDTED' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1743:27: note: Assuming that condition 'file->head.rpf_type!=RPF_CDTED' is not redundant ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1806:32: note: Condition 'file->head.rpf_type==RPF_CDTED' is always true ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2083:25: style: Condition 'tno==~0' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2083:11: note: Assuming that condition 'tno==-1L' is not redundant ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2083:25: note: Condition 'tno==~0' is always true ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1169:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:944:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:945:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:946:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:947:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:948:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:949:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:950:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:951:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:952:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:953:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:954:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:955:10: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1714:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1715:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1716:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1717:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1718:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1719:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1720:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1721:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1722:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1723:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1724:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1725:8: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:186:9: style: Variable 'scale' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:187:9: style: Variable 'zone' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:188:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:189:9: style: Variable 'producer' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:190:9: style: Variable 'boundid' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:609:14: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:654:14: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:693:18: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:725:23: style: Variable 'c_ptr' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:777:43: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1263:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1300:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1591:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1603:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1993:15: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:1995:15: style: Parameter 'cct' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2004:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2063:13: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2064:13: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2066:13: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:2079:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/rpf/utils.c:625:9: style: Variable 'ptr1' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:402:29: style: Condition 'newPrimList==NULL' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1180:19: style: Condition 'tile_id!=0' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1153:17: note: Assuming that condition 'tile_id<1' is not redundant ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1180:19: note: Condition 'tile_id!=0' is always true ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:355:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *primList [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:353:33: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:353:17: note: Assignment '*primList=(int32*)malloc(sizeof(int32)*maxCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:355:6: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:356:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *tileList [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:354:33: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:354:17: note: Assignment '*tileList=(short*)malloc(sizeof(short)*maxCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:356:6: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:334:23: style: Variable 'lpriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:499:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:622:22: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:693:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:773:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1149:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1243:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1356:22: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1419:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1491:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1554:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1669:22: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1732:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/object.c:1804:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:493:15: warning: Either the condition 'token_count<1024' is redundant or the array 'token_list[1024]' is accessed at index 1024, which is out of bounds. [arrayIndexOutOfBoundsCond] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:485:24: note: Assuming that condition 'token_count<1024' is not redundant ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:493:15: note: Array index out of bounds ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:589:11: error: Array 'spaces[60]' accessed at index 60, which is out of bounds. [arrayIndexOutOfBounds] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:587:5: note: After for loop, i has value 60 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:589:11: note: Array index out of bounds ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:333:9: error: Memory leak: op [memleak] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:372:9: error: Memory leak: op [memleak] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:133:13: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:128:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:128:17: note: Assignment 'token=(char*)malloc(strlen(expression)+1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:133:13: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:136:9: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:128:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:128:17: note: Assignment 'token=(char*)malloc(strlen(expression)+1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:136:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:145:9: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:17: note: Assignment 'token=(char*)malloc(3)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:145:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:146:9: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:17: note: Assignment 'token=(char*)malloc(3)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:146:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:151:15: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:144:17: note: Assignment 'token=(char*)malloc(3)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:151:15: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:272:13: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:27: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:10: note: Assignment 'op=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:272:13: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:273:5: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:27: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:10: note: Assignment 'op=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:273:5: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:336:5: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:27: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:10: note: Assignment 'op=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:330:42: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:336:5: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:337:9: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:27: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:271:10: note: Assignment 'op=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:330:42: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:337:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:447:17: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:18: note: Assignment 'parent=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:447:17: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:448:9: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:18: note: Assignment 'parent=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:448:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:450:9: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:18: note: Assignment 'parent=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:450:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:451:9: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:18: note: Assignment 'parent=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:451:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:452:9: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:446:18: note: Assignment 'parent=(struct swq_field_op*)malloc(sizeof(struct swq_field_op))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:452:9: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:472:42: style:inconclusive: Function 'swq_expr_compile' argument 5 names different: declaration 'expr' definition 'expr_out'. [funcArgNamesDifferent] ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.h:77:37: note: Function 'swq_expr_compile' argument 5 names different: declaration 'expr' definition 'expr_out'. ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:472:42: note: Function 'swq_expr_compile' argument 5 names different: declaration 'expr' definition 'expr_out'. ogdi-ogdi_4_1_1/ogdi/driver/vrf/swq.c:223:48: style: Parameter 'field_types' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:419:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:557:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:613:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1511:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ram [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1622:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1728:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:2051:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:2157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:141:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:275:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:275:8: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:270:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:270:16: note: Assignment 'fieldname=(char**)malloc(nfields*sizeof(char*))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:275:8: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:134:21: style: Variable 'info' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrfswq.c:241:30: style: Parameter 'expression' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:30:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Line [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:25:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:15:10: note: result is assigned ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:25:10: note: result is overwritten ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:31:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:25:10: note: result is assigned ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:31:10: note: result is overwritten ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:35:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:31:10: note: result is assigned ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:35:10: note: result is overwritten ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:41:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:40:10: note: result is assigned ogdi-ogdi_4_1_1/ogdi/examples/example1/example1.c:41:10: note: result is overwritten ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:114:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:26:11: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:32:11: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] ogdi-ogdi_4_1_1/ogdi/examples/example2/example2.c:81:12: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:270:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:545:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fdset [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:259:9: style: Condition 'gltpdstate' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:258:18: note: Assignment 'gltpdstate=(FILE*)(void*)1', assigned value is 1 ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:259:9: note: Condition 'gltpdstate' is always true ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:317:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:451:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:128:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:103:9: style: Variable 'debug' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:239:22: style: Parameter 'rqstp' can be declared as pointer to const. However it seems that 'dispatchno_1' is a callback function, if 'rqstp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:179:9: note: You might need to cast the function pointer here ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:239:22: note: Parameter 'rqstp' can be declared as pointer to const ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:249:9: style: Variable 'debug' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/gltpd/asyncsvr.c:251:9: style: union member 'Anonymous0::fill' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_sif.c:52:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Server [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_sif.c:213:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECS_COMPRESS_NONE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_sif.c:208:23: style: Parameter 'compression' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:162:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:404:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:620:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:680:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:775:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:848:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:866:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:881:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:905:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:59:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:58:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:60:2: note: Found duplicate branches for 'if' and 'else'. ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:58:2: note: Found duplicate branches for 'if' and 'else'. ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:55:20: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:94:9: style: union member 'Anonymous0::createserver_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:98:9: style: union member 'Anonymous0::getobject_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:100:9: style: union member 'Anonymous0::updatedictionary_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/ecs_svc.c:101:9: style: union member 'Anonymous0::setserverlanguage_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:24:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:121:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:34:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:43:16: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:104:22: style: Parameter 'rqstp' can be declared as pointer to const. However it seems that 'dispatchno_1' is a callback function, if 'rqstp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:69:9: note: You might need to cast the function pointer here ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:104:22: note: Parameter 'rqstp' can be declared as pointer to const ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:115:9: style: union member 'Anonymous0::fill' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:112:8: style: Unused variable: temp [unusedVariable] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/asyncsvr.c:113:10: style: Unused variable: result [unusedVariable] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_sif.c:11:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecs_Server [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:227:1: portability: Omitted return type of function 'dummy' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:56:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_CLTS [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:231:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMNAMESZ [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:159:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:19: note: Assignment 'spriv=s->priv=(void*)calloc(1,sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:154:15: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:159:3: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:19: note: Assignment 'spriv=s->priv=(void*)calloc(1,sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:154:15: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:160:3: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:19: note: Assignment 'spriv=s->priv=(void*)calloc(1,sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:154:15: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:161:3: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:162:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spriv [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:36: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:153:19: note: Assignment 'spriv=s->priv=(void*)calloc(1,sizeof(struct ServerPrivateData))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:154:15: note: Assuming condition is false ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:162:3: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:372:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/vrf.c:404:9: style: Variable 'lpriv' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:34:8: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:86:9: style: union member 'Anonymous0::createserver_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:90:9: style: union member 'Anonymous0::getobject_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:92:9: style: union member 'Anonymous0::updatedictionary_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/gltpd/sun/ecs_svc.c:93:9: style: union member 'Anonymous0::setserverlanguage_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/glutil/iofile.c:27:12: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/glutil/iofile.c:82:11: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/glutil/iofile.c:119:11: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:50:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_CLICKED [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:86:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID_TEXT1 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:136:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_CLOSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:152:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPDWORD [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:185:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS_D [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:152:17: error: Uninitialized variable: threadId [uninitvar] ogdi-ogdi_4_1_1/ogdi/glutil/status_d.c:144:11: style: Variable 'threadId' is not assigned a value. [unassignedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:20:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_wrapstring [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:37:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:55:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:72:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:89:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:227:1: portability: Omitted return type of function 'dummy' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:156:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_wrapstring [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:191:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:207:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_wrapstring [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:224:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:241:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_int [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_clnt.c:276:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1967:68: style: Condition 'strncmp(name+i,".p",2)==0' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:583:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:577:22: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:577:22: note: Assignment 'temp=malloc(250000)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:583:15: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1635:16: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1634:29: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1634:14: note: Assignment 'temp=(char*)malloc(strlen(fclass)+1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1635:16: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1637:27: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1634:29: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1634:14: note: Assignment 'temp=(char*)malloc(strlen(fclass)+1)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1637:27: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1967:42: style: Same expression on both sides of '||'. [duplicateExpression] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:56:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_CLTS [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_result [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:231:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMNAMESZ [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:398:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:620:8: style: Variable 'separator' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1584:18: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1598:12: style: Parameter 'coverage' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1605:8: style: Variable 'ftype' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1608:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:1733:31: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/driver/vrf/utils.c:2038:33: style: Variable 'spriv' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:17:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_double [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:156:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:169:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_int [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:183:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_int [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:197:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:229:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:335:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:351:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:376:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:427:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:452:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:465:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:487:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:500:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:523:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:545:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:558:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:593:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:610:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:34:8: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:86:9: style: union member 'Anonymous15::createserver_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:87:22: style: union member 'Anonymous15::selectlayer_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:88:22: style: union member 'Anonymous15::releaselayer_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:89:14: style: union member 'Anonymous15::selectregion_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:90:9: style: union member 'Anonymous15::getobject_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:91:18: style: union member 'Anonymous15::getobjectidfromcoord_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:92:9: style: union member 'Anonymous15::updatedictionary_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:93:9: style: union member 'Anonymous15::setserverlanguage_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_svc.c:94:24: style: union member 'Anonymous15::setrasterconversion_1_arg' is never used. [unusedStructMember] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:14:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:27:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:50:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:63:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:76:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:94:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:109:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:125:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:139:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:153:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:166:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:180:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:194:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:209:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:319:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:332:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:348:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:373:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:424:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:449:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:462:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:483:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:497:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:520:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:542:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:555:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:590:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/include/sun/ecs_xdr.c:607:17: style: Unused variable: buf [unusedVariable] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:160:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:214:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Line [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:410:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:455:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:496:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:622:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:683:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:727:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:764:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:831:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:880:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:923:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:962:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:997:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1031:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1066:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1170:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1224:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1314:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1354:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECS_FAILURE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1408:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1467:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1566:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1601:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1709:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1748:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1773:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1809:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1844:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1877:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/get_feat.c:50:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEGMENT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/get_feat.c:148:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXRINGS [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/get_feat.c:232:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSEGS [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/get_feat.c:437:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDINATE [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/get_feat.c:440:13: warning: If memory allocation fails, then there is a possible null pointer dereference: coord [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/get_feat.c:437:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/get_feat.c:437:21: note: Assignment 'coord=(COORDINATE*)calloc(sizeof(COORDINATE),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/get_feat.c:440:13: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/get_feat.c:441:13: warning: If memory allocation fails, then there is a possible null pointer dereference: coord [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/get_feat.c:437:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/get_feat.c:437:21: note: Assignment 'coord=(COORDINATE*)calloc(sizeof(COORDINATE),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/get_feat.c:441:13: note: Null pointer dereference ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:331:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/vpflib/linklist.c:703:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/vpflib/linklist.c:576:7: style: Parameter 'element' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/linklist.c:748:7: style: Parameter 'element' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/linklist.c:809:7: style: Parameter 'element' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1007:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:275:12: style: Parameter 'family' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:783:12: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:784:12: style: Parameter 'ObjID' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:785:12: style: Parameter 'tclvar' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:797:12: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:798:12: style: Parameter 'tclvar' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1736:18: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1765:22: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1790:18: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1826:17: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:458:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/ogdi/tcl_interface/ecs_tcl.c:1126:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/musedir.c:408:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/coorgeom.c:508:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/coorgeom.c:694:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/reduce2.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/reduce2.c:202:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/reduce2.c:337:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/musedir.c:186:21: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/musedir.c:187:21: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/musedir.c:351:21: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:60:9: style: Parameter 'relem' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:166:8: style: Parameter 'nin' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:169:9: style: Parameter 'relem' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:170:8: style: Parameter 'merc' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:323:8: style: Parameter 'nin' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:326:9: style: Parameter 'toler' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:327:8: style: Parameter 'lldeg' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/reduce2.c:206:12: style: Variable 'dmax' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/set.c:582:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/set.c:793:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/set.c:318:19: style: Variable 'set.buf[nbyte]' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/set.c:387:19: style: Variable 'set.buf[nbyte]' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:802:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1252:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACHINE_BYTE_ORDER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:912:16: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:937:16: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:86:12: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:79:13: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:79:13: note: Assignment 'string=calloc(maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:86:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:89:12: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:79:13: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:79:13: note: Assignment 'string=calloc(maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:89:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:506:12: warning:inconclusive: Either the condition 'string' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:509:8: note: Assuming that condition 'string' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:506:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:561:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:538:13: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:538:13: note: Assignment 'string=calloc(sizeof(char)*maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:561:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:646:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:612:13: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:612:13: note: Assignment 'string=calloc(sizeof(char)*maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:646:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:798:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:747:20: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:747:13: note: Assignment 'string=(char*)calloc(sizeof(char)*maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:798:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:808:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:747:20: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:747:13: note: Assignment 'string=(char*)calloc(sizeof(char)*maxlength,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:808:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:824:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t_elt [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:816:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:816:18: note: Assignment 't_elt=(char*)calloc((unsigned long)nr_elts,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:824:13: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:333:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:132:17: style: Pointer expression 'description' converted to bool is always true. [knownPointerToBool] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:139:17: style: Pointer expression 'narrative' converted to bool is always true. [knownPointerToBool] ogdi-ogdi_4_1_1/vpflib/vpfbrows.c:979:15: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:18:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:19:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:31:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:32:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:44:4: style: Redundant assignment of 'proj' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:56:4: style: Redundant assignment of 'proj' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:71:4: style: Redundant assignment of 'code' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:72:4: style: Redundant assignment of 'extent' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:109:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:110:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:122:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:123:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:135:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:136:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:148:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:149:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:161:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:162:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:174:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:175:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:187:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:188:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:200:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:201:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:213:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:214:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:226:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:227:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:239:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:240:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:252:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:253:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:265:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:266:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:278:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:279:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:291:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:292:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:304:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:305:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:317:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:318:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:330:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:331:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:343:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:344:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:356:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:357:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:369:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:370:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:382:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:383:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:395:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:396:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:408:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:409:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:421:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:422:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:434:4: style: Redundant assignment of 'x' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:435:4: style: Redundant assignment of 'y' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:447:4: style: Redundant assignment of 'proj' to itself. [selfAssignment] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:18:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:19:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:31:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:32:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:44:4: style: Variable 'proj' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:56:4: style: Variable 'proj' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:71:4: style: Variable 'code' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:72:4: style: Variable 'extent' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:109:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:110:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:122:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:123:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:135:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:136:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:148:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:149:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:161:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:162:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:174:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:175:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:187:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:188:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:200:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:201:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:213:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:214:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:226:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:227:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:239:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:240:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:252:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:253:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:265:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:266:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:278:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:279:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:291:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:292:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:304:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:305:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:317:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:318:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:330:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:331:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:343:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:344:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:356:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:357:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:369:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:370:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:382:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:383:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:395:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:396:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:408:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:409:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:421:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:422:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:434:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:435:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfdproj.c:447:4: style: Variable 'proj' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1426:19: style: Local variable 'brtable' shadows outer variable [shadowVariable] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1479:22: note: Shadowed declaration ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1426:19: note: Shadow variable ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1420:13: style: Parameter 'covpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1421:13: style: Parameter 'tiledir' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1428:17: style: Variable 'brname' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1440:11: warning: Uninitialized variables: brtable.path, brtable.nfields, brtable.nrows, brtable.reclen, brtable.ddlen, brtable.xfp, brtable.index, brtable.idx_handle, brtable.storage, brtable.xstorage, brtable.header, brtable.row, brtable.row_handle, brtable.mode, brtable.defstr, brtable.byte_order [uninitvar] ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1434:27: note: Assuming condition is false ogdi-ogdi_4_1_1/vpflib/vpfprim.c:1440:11: note: Uninitialized variables: brtable.path, brtable.nfields, brtable.nrows, brtable.reclen, brtable.ddlen, brtable.xfp, brtable.index, brtable.idx_handle, brtable.storage, brtable.xstorage, brtable.header, brtable.row, brtable.row_handle, brtable.mode, brtable.defstr, brtable.byte_order ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:640:13: error: Memory leak: fcrel.table [memleak] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:690:16: style: Variable 'nr' is reassigned a value before the old one has been used. [redundantAssignment] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:683:16: note: nr is assigned ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:690:16: note: nr is overwritten ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:42:20: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:49:16: style: Variable 'sep' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:357:16: style: Variable 'sep' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1053:29: style: Parameter 'mapenv' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1185:13: style: Parameter 'covpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1186:13: style: Parameter 'tiledir' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1195:17: style: Variable 'spxname' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1196:17: style: Variable 'brname' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1277:7: style: Parameter 'lib_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1286:16: style: Variable 'sep' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1452:13: style: Parameter 'covpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:1468:17: style: Variable 'ptable' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.database [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.ndb [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.nthemes [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.theme [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.theme [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.selected [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.selected [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.displayed [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.displayed [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.sellist [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.sellist [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.extent [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.extent [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:65:17: error: Uninitialized struct member: view.tileheight [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpf2vec.c:77:17: error: Uninitialized struct member: view.tileheight [uninitStructMember] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:508:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:498:12: warning: If memory allocation fails, then there is a possible null pointer dereference: orig_expression [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:497:29: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfquery.c:497:22: note: Assignment 'orig_expression=(char*)calloc(strlen(expression)+1,1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfquery.c:498:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfquery.c:182:7: style: Parameter 'expr' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:636:7: style: Parameter 'val1' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:637:7: style: Parameter 'val2' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfquery.c:727:7: style: Parameter 'val1' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/coorgeom.c:767:24: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] ogdi-ogdi_4_1_1/vpflib/coorgeom.c:122:18: style: Variable 'R' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpfread.c:105:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfread.c:179:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACHINE_BYTE_ORDER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfread.c:546:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfread.c:847:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1062:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1561:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1007:17: warning: Either the condition 'i>=0' is redundant or the array 'dbpath[255]' is accessed at index -1, which is out of bounds. [negativeIndex] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1006:45: note: Assuming that condition 'i>=0' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1007:17: note: Negative array index ogdi-ogdi_4_1_1/vpflib/vpfprop.c:93:22: style: Condition 'vpf_separator==os_separator' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:90:20: note: Assignment 'vpf_separator='\\'', assigned value is 92 ogdi-ogdi_4_1_1/vpflib/vpfprop.c:93:22: note: Condition 'vpf_separator==os_separator' is always true ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1871:13: warning: If memory allocation fails, then there is a possible null pointer dereference: description [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1870:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1870:19: note: Assignment 'description=(char*)malloc(strlen(table.description)+1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1871:13: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfprop.c:108:13: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:186:13: style: Parameter 'dbpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:266:13: style: Parameter 'dbpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:339:13: style: Parameter 'database_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:340:13: style: Parameter 'library' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:415:13: style: Parameter 'database_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:544:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:643:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:737:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:838:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1124:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1343:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1449:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1589:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1840:13: style: Parameter 'fctable' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:1911:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2063:13: style: Parameter 'library_path' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2239:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2319:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2323:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2387:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2391:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2492:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2496:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2563:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2644:13: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2648:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2272:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfprop.c:2596:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1263:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1260:12: style: Condition 'row!=(struct column_type*)NULL' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpfread.c:799:17: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/vpflib/vpfread.c:802:17: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1529:37: warning: Either the condition 'tptr!=(char*)NULL' is redundant or there is possible null pointer dereference: tptr. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1555:21: note: Assuming that condition 'tptr!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfread.c:1529:37: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfread.c:209:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:209:34: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:223:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:223:39: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:244:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:244:41: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:245:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:245:41: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:264:25: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:264:43: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:265:25: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:265:43: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:284:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:284:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:285:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:285:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:286:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:286:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:301:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:301:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:302:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:302:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:303:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:303:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfread.c:546:17: style: Variable 'keysize' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1382:8: style: Parameter 'field_name' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1508:26: style: Variable 'ascii' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfread.c:1520:23: style: Variable 'ascii' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpfselec.c:96:13: style: Parameter 'covpath' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfselec.c:111:17: style: Variable 'ptable' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:197:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACHINE_BYTE_ORDER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:343:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACHINE_BYTE_ORDER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftable.c:376:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAST_SIGNIFICANT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftable.c:721:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAST_SIGNIFICANT [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:444:15: warning: If memory allocation fails, then there is a possible null pointer dereference: keystring [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:443:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:443:19: note: Assignment 'keystring=(char*)malloc(1+strlen((char*)keyval1))', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:444:15: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:673:15: warning: If memory allocation fails, then there is a possible null pointer dereference: keystring [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:672:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:672:19: note: Assignment 'keystring=(char*)malloc(1+strlen((char*)keyval1))', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:673:15: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:70:13: style: Parameter 'tablename' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:118:7: style: Parameter 'start_table' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:119:7: style: Parameter 'fcname' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:165:7: style: Parameter 'fcname' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:166:7: style: Parameter 'start_table' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfrelat.c:167:7: style: Parameter 'end_table' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:215:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:202:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpfspx.c:202:10: note: Assignment 'rec=(struct spx_rec_type*)calloc(spx->cellmap[index].numfeat*sizeof(struct spx_rec_type),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpfspx.c:215:21: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfspx.c:121:15: style: Parameter 'box1' can be declared as const array [constParameter] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:122:15: style: Parameter 'box2' can be declared as const array [constParameter] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:260:15: style: Parameter 'bnd' can be declared as const array [constParameter] ogdi-ogdi_4_1_1/vpflib/vpfspx.c:350:14: error: Uninitialized variable: set.buf_handle [uninitvar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:490:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:936:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1055:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1560:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1888:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2336:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cval [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:183:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:323:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:648:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:770:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACHINE_BYTE_ORDER [valueFlowBailoutIncompleteVar] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:544:24: style: Condition 'row[field].ptr!=(void*)NULL' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:344:8: warning: Either the condition 'output!=(char*)NULL' is redundant or there is possible null pointer dereference: output. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:346:18: note: Assuming that condition 'output!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:344:8: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:636:9: warning: Either the condition 'str!=(char*)NULL' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:638:16: note: Assuming that condition 'str!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:636:9: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:637:33: warning: Either the condition 'str!=(char*)NULL' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:638:16: note: Assuming that condition 'str!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:637:33: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:802:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:802:36: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:816:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:816:37: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:833:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:833:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:834:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:834:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:848:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:848:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:849:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:849:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:865:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:865:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:866:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:866:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:867:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:867:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:882:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:882:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:883:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:883:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:884:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:884:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:602:17: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftable.c:765:8: style: Condition '!retry' is always true [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpftable.c:764:12: note: Assignment 'retry=0', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:765:8: note: Condition '!retry' is always true ogdi-ogdi_4_1_1/vpflib/vpftable.c:448:32: warning: Either the condition 'des!=(char*)NULL' is redundant or there is possible null pointer dereference: des. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftable.c:449:10: note: Assuming that condition 'des!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftable.c:448:32: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:456:30: warning: Either the condition 'nar!=(char*)NULL' is redundant or there is possible null pointer dereference: nar. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftable.c:457:10: note: Assuming that condition 'nar!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftable.c:456:30: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:606:46: warning: Either the condition 'des!=(char*)NULL' is redundant or there is possible null pointer dereference: des. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftable.c:607:14: note: Assuming that condition 'des!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftable.c:606:46: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:612:38: warning: Either the condition 'vdt!=(char*)NULL' is redundant or there is possible null pointer dereference: vdt. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftable.c:613:14: note: Assuming that condition 'vdt!=(char*)NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftable.c:612:38: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:754:10: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:17: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:10: note: Assignment 'copy=(char*)calloc(sizeof(char)*(len+1),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:754:10: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:755:3: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:17: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:10: note: Assignment 'copy=(char*)calloc(sizeof(char)*(len+1),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:755:3: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:756:3: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:17: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftable.c:753:10: note: Assignment 'copy=(char*)calloc(sizeof(char)*(len+1),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:756:3: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:900:14: warning: If memory allocation fails, then there is a possible null pointer dereference: idxname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftable.c:899:24: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftable.c:899:17: note: Assignment 'idxname=(char*)calloc(sizeof(char)*(strlen(tablepath)+2),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:900:14: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:903:11: warning: If memory allocation fails, then there is a possible null pointer dereference: idxname [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftable.c:899:24: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftable.c:899:17: note: Assignment 'idxname=(char*)calloc(sizeof(char)*(strlen(tablepath)+2),1)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftable.c:903:11: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftable.c:76:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpftable.c:90:10: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ogdi-ogdi_4_1_1/vpflib/vpftable.c:74:15: style: Variable 'nanstr' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpftable.c:88:15: style: Variable 'nanstr' can be declared as const array [constVariable] ogdi-ogdi_4_1_1/vpflib/vpftable.c:209:12: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftable.c:267:12: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftable.c:294:12: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftable.c:324:12: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftable.c:651:19: style: Variable 'end_of_rec' is assigned a value that is never used. [unreadVariable] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:807:44: style: Condition 'write_thematic_index_header(h,ifp)==0L' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:807:35: note: Calling function 'write_thematic_index_header' returns 1 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:807:44: note: Condition 'write_thematic_index_header(h,ifp)==0L' is always false ogdi-ogdi_4_1_1/vpflib/vpftidx.c:856:58: style: Condition 'write_thematic_index_directory(h,d,idsize,ifp)==0L' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:856:38: note: Calling function 'write_thematic_index_directory' returns 1 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:856:58: note: Condition 'write_thematic_index_directory(h,d,idsize,ifp)==0L' is always false ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1921:48: style: Condition 'write_thematic_index_header(gi,idx_fp)=='\0'' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1921:35: note: Calling function 'write_thematic_index_header' returns 1 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1921:48: note: Condition 'write_thematic_index_header(gi,idx_fp)=='\0'' is always false ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1933:46: style: Condition 'write_gazetteer_index_directory(gi,gid,set_byte_size,idx_fp)==0' is always false [knownConditionTrueFalse] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1930:38: note: Calling function 'write_gazetteer_index_directory' returns 1 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1933:46: note: Condition 'write_gazetteer_index_directory(gi,gid,set_byte_size,idx_fp)==0' is always false ogdi-ogdi_4_1_1/vpflib/vpftidx.c:603:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:646:5: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:665:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:682:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:698:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:723:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: error: Common realloc mistake: 'd' nulled but not freed upon failure [memleakOnRealloc] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:603:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:603:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:603:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:604:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:603:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:604:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:628:5: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:628:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:629:12: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:629:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:630:12: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:627:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:630:12: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:646:5: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:646:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:646:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:647:5: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:646:5: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:647:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:665:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:665:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:665:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:666:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:665:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:666:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:682:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:682:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:682:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:683:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:682:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:683:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:698:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:698:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:698:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:699:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:698:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:699:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:723:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:723:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:723:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:724:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:723:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:724:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:747:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:747:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:748:9: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:748:9: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:749:2: warning: Either the condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:746:2: note: Assuming that condition '(d=(struct ThematicIndexDirectory*)realloc(d,sizeof(struct ThematicIndexDirectory)*((unsigned long)k+1)))==NULL' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:749:2: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1895:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx_bit_sets [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1892:29: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1892:18: note: Assignment 'idx_bit_sets=(struct set_type*)malloc(sizeof(struct set_type)*(unsigned long)gi.nbins)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1895:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1896:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gid [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1890:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1890:9: note: Assignment 'gid=(struct ThematicIndexDirectory*)malloc(sizeof(struct ThematicIndexDirectory)*(unsigned long)gi.nbins)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1896:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1897:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gid [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1890:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1890:9: note: Assignment 'gid=(struct ThematicIndexDirectory*)malloc(sizeof(struct ThematicIndexDirectory)*(unsigned long)gi.nbins)', assigned value is 0 ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1897:5: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2053:44: warning: Either the condition '!query_str' is redundant or there is possible null pointer dereference: query_str. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2060:7: note: Assuming that condition '!query_str' is not redundant ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2053:44: note: Null pointer dereference ogdi-ogdi_4_1_1/vpflib/vpftidx.c:916:7: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1035:7: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1532:39: style: Variable 'dptr' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2043:7: style: Parameter 'query_str' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2201:7: style: Parameter 'query_str' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2321:26: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2404:9: style: Variable 'valid_index_types' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2405:9: style: Variable 'valid_column_types' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2406:9: style: Variable 'valid_id_data_types' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:2407:9: style: Variable 'valid_sort' can be declared as pointer to const [constVariablePointer] ogdi-ogdi_4_1_1/vpflib/vpftidx.c:1363:5: error: Uninitialized variable: idx.h [uninitvar] diff: head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:270:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:273:37: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:19: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:36: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:57: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:312:57: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:52: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:314:52: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:52: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:39: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:308:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(500)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:315:52: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:446:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszFilename)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/dbfopen.c:449:37: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:46: warning: If memory allocation fails, then there is a possible null pointer dereference: psShape [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:35: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1227:15: note: Assignment 'psShape=(struct SHPObject*)calloc(1,sizeof(struct SHPObject))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:1236:46: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:346:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:349:37: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:35: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:414:37: note: Null pointer dereference head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pabyBuf [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:389:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(100)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:405:9: note: Assuming condition is false ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:415:35: note: Null pointer dereference 2.17.0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(8*((1>psSHP->nRecords)?1:psSHP->nRecords))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: note: Null pointer addition head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:31: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:468:15: note: Assignment 'pabyBuf=(unsigned char*)malloc(8*((1>psSHP->nRecords)?1:psSHP->nRecords))', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:475:28: note: Null pointer addition head ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pszBasename [nullPointerOutOfMemory] ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:34: note: Assuming allocation function fails ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:582:19: note: Assignment 'pszBasename=(char*)malloc(strlen(pszLayer)+5)', assigned value is 0 ogdi-ogdi_4_1_1/contrib/ogdi_import/shpopen.c:585:37: note: Null pointer dereference head ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:29: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2043:29: note: Null pointer dereference head ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:44: warning: Either the condition 'NewCache==NULL' is redundant or there is possible null pointer dereference: NewCache. [nullPointerRedundantCheck] ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2047:19: note: Assuming that condition 'NewCache==NULL' is not redundant ogdi-ogdi_4_1_1/ogdi/c-api/client.c:2046:44: note: Null pointer dereference 2.17.0 ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:10: note: Assignment 'argv=(char**)malloc((unsigned int)((size*sizeof(char*))+(p-list)+1))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: note: Null pointer addition head ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:26: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:428:10: note: Assignment 'argv=(char**)malloc((unsigned int)((size*sizeof(char*))+(p-list)+1))', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/c-api/ecslist.c:430:35: note: Null pointer addition 2.17.0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:40: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:19: note: Assignment 'primResults=(ecs_Result*)calloc(sizeof(ecs_Result),primCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: note: Null pointer addition head ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:40: note: Assuming allocation function fails ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:272:19: note: Assignment 'primResults=(ecs_Result*)calloc(sizeof(ecs_Result),primCount)', assigned value is 0 ogdi-ogdi_4_1_1/ogdi/driver/vrf/feature.c:278:47: note: Null pointer addition head ogdi-ogdi_4_1_1/vpflib/vpfread.c:209:34: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:223:39: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:244:41: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:245:41: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:264:43: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:265:43: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:284:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:285:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:286:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:301:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:302:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfread.c:303:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:802:36: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:816:37: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:833:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:834:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:848:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:849:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:865:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:866:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:867:40: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:882:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:883:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head ogdi-ogdi_4_1_1/vpflib/vpfwrite.c:884:42: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] DONE