2025-06-28 12:28 ftp://ftp.de.debian.org/debian/pool/main/libc/libctl/libctl_4.5.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: b6dd286 (2025-06-27 13:53:34 +0200) count: 284 266 elapsed-time: 1.7 1.7 head-timing-info: old-timing-info: head results: libctl-4.5.1/examples/example.c:86:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dimensions [valueFlowBailoutIncompleteVar] libctl-4.5.1/examples/example.c:150:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/base/main.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/base/main.c:190:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read_input_vars [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:35:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_BOOL_F [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_UNSPECIFIED [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_UNDEFINED [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:95:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_UNDEFINED [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:134:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_UNSPECIFIED [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:288:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scm_symhash [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:364:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_BOOL_F [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:409:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:411:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:413:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:415:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:419:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:422:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:424:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:426:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:429:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:433:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:435:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:437:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:439:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_EOL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:446:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_BOOL_F [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:466:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_BOOL_F [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/ctl.c:98:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:98:14: note: Null pointer dereference libctl-4.5.1/src/ctl.c:100:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:100:11: note: Null pointer dereference libctl-4.5.1/src/ctl.c:100:25: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:100:25: note: Null pointer dereference libctl-4.5.1/src/ctl.c:100:40: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:100:40: note: Null pointer dereference libctl-4.5.1/src/ctl.c:101:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:101:14: note: Null pointer dereference libctl-4.5.1/src/ctl.c:106:10: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:105:27: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:105:13: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(path)+1))', assigned value is 0 libctl-4.5.1/src/ctl.c:106:10: note: Null pointer dereference libctl-4.5.1/src/ctl-math.c:144:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/integrator.c:503:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/integrator.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/integrator.c:672:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/integrator.c:898:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geomtst.c:13:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geomtst.c:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geomtst.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basis1 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geomtst.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/base/main.c:133:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir0 [nullPointerOutOfMemory] libctl-4.5.1/base/main.c:131:24: note: Assuming allocation function fails libctl-4.5.1/base/main.c:131:10: note: Assignment 'dir0=(char*)malloc(sizeof(char)*(strlen(for_dir)+1))', assigned value is 0 libctl-4.5.1/base/main.c:133:10: note: Null pointer dereference libctl-4.5.1/base/main.c:142:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] libctl-4.5.1/base/main.c:141:26: note: Assuming allocation function fails libctl-4.5.1/base/main.c:141:12: note: Assignment 'name=(char*)malloc(sizeof(char)*(strlen(dir)+1+strlen(base)+1))', assigned value is 0 libctl-4.5.1/base/main.c:142:12: note: Null pointer dereference libctl-4.5.1/base/main.c:143:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] libctl-4.5.1/base/main.c:141:26: note: Assuming allocation function fails libctl-4.5.1/base/main.c:141:12: note: Assignment 'name=(char*)malloc(sizeof(char)*(strlen(dir)+1+strlen(base)+1))', assigned value is 0 libctl-4.5.1/base/main.c:143:12: note: Null pointer dereference libctl-4.5.1/base/main.c:144:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] libctl-4.5.1/base/main.c:141:26: note: Assuming allocation function fails libctl-4.5.1/base/main.c:141:12: note: Assignment 'name=(char*)malloc(sizeof(char)*(strlen(dir)+1+strlen(base)+1))', assigned value is 0 libctl-4.5.1/base/main.c:144:12: note: Null pointer dereference libctl-4.5.1/base/main.c:90:13: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/base/main.c:129:30: style: Variable 'base' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/src/subplex.c:1985:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/subplex.c:2028:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/integrator.c:396:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:396:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:398:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:398:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:399:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:399:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:400:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:400:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:401:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:401:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:402:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:402:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:404:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:404:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:405:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:405:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:405:20: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:405:20: note: Null pointer dereference libctl-4.5.1/src/integrator.c:406:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:406:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:406:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:406:21: note: Null pointer dereference libctl-4.5.1/src/integrator.c:408:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:408:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:410:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:410:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:411:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:411:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:516:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:515:21: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:515:7: note: Assignment 'r=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 libctl-4.5.1/src/integrator.c:516:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:517:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:515:21: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:515:7: note: Assignment 'r=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 libctl-4.5.1/src/integrator.c:517:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:518:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:515:21: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:515:7: note: Assignment 'r=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 libctl-4.5.1/src/integrator.c:518:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:519:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:515:21: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:515:7: note: Assignment 'r=(struct rule*)malloc(sizeof(struct rule))', assigned value is 0 libctl-4.5.1/src/integrator.c:519:3: note: Null pointer dereference libctl-4.5.1/src/integrator.c:405:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libctl-4.5.1/src/integrator.c:404:26: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:404:10: note: Assignment 'r->p=(double*)malloc(sizeof(double)*dim*3)', assigned value is 0 libctl-4.5.1/src/integrator.c:405:25: note: Null pointer addition libctl-4.5.1/src/integrator.c:871:54: style: Parameter 'xmin' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/integrator.c:871:68: style: Parameter 'xmax' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/integrator.c:128:10: error: Uninitialized variable: R.ee [uninitvar] libctl-4.5.1/utils/test-prism.c:116:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:194:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:427:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:609:134: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:1109:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:1159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:1259:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/src/subplex.c:84:35: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:84:50: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:84:63: style: Parameter 'incx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:153:28: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:153:43: style: Parameter 'da' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:153:59: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:153:72: style: Parameter 'incx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:154:28: style: Parameter 'incy' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:221:28: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:221:43: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:221:56: style: Parameter 'incx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:221:87: style: Parameter 'incy' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:290:28: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:290:43: style: Parameter 'da' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:290:72: style: Parameter 'incx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:353:34: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:353:49: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:353:64: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:433:56: style: Parameter 'ih' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:433:69: style: Parameter 'inew' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:433:84: style: Parameter 'updatc' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:512:28: style: Parameter 'npts' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:512:46: style: Parameter 'fs' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:603:28: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:603:40: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:603:56: style: Parameter 'absdx' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:707:28: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:707:43: style: Parameter 'xkey' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:787:28: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:787:44: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:787:62: style: Parameter 'xbase' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:788:28: style: Parameter 'new__' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:887:43: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:887:58: style: Parameter 'step' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:887:86: style: Parameter 'ips' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:975:45: style: Parameter 'ifxwt' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:975:61: style: Parameter 'reset' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1060:49: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1060:62: style: Parameter 'ips' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1060:79: style: Parameter 'xs' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1166:29: style: Parameter 'maxnfe' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1166:46: style: Parameter 'cmode' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1566:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1566:49: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1568:29: style: Parameter 'nsubs' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1650:65: style: Parameter 'tol' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/src/subplex.c:1650:96: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/utils/geom.c:94:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:109:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metric [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:113:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basis [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:117:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basis [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:137:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEDGE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:195:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:210:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry_lattice [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:226:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry_lattice [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:269:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metric [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:410:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metric [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:534:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dimensions [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:540:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dimensions [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:569:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ensure_periodicity [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:578:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:585:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOMETRIC_OBJECT_SELF [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:591:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:599:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geometry [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:635:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:679:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metric [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:844:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRISM [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:900:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1024:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1224:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basis [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1380:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1419:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1474:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dimensions [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1526:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1532:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPOUND_GEOMETRIC_OBJECT [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1549:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPOUND_GEOMETRIC_OBJECT [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1580:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ensure_periodicity [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1621:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1673:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1711:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable material [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1757:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1820:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOMETRIC_OBJECT_SELF [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1827:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYLINDER [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1841:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1851:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEDGE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1862:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPHERE [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1872:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:1887:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELLIPSOID [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2045:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2284:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2321:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2361:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2396:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2458:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector3 [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2531:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2571:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/geom.c:2855:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRISM [valueFlowBailoutIncompleteVar] libctl-4.5.1/utils/test-prism.c:1262:5: error: Common realloc mistake: 'vertices' nulled but not freed upon failure [memleakOnRealloc] libctl-4.5.1/utils/test-prism.c:227:1: error: Memory leak: vertices.items [memleak] libctl-4.5.1/utils/test-prism.c:227:1: error: Memory leak: vertices_top.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: point_in_prism_test_points_normal_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: point_in_prism_test_points_tapered_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: normal_to_prism_test_points_normal_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: normal_to_prism_test_points_tapered_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: intersect_line_with_prism_test_points_normal_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:1085:3: error: Memory leak: intersect_line_with_prism_test_points_tapered_sidewall.items [memleak] libctl-4.5.1/utils/test-prism.c:219:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:219:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:220:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:220:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:221:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:221:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:222:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:222:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:223:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:223:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:224:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:224:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:226:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:204:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:204:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:226:10: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:244:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:244:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:247:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:247:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:248:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:248:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:250:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:250:13: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:251:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:251:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:252:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:252:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:253:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:253:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:255:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:239:18: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:239:18: note: Assignment 'f=fopen(filename,"w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:255:10: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1159:37: warning: Either the condition '!msg' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck] libctl-4.5.1/utils/test-prism.c:1159:7: note: Assuming that condition '!msg' is not redundant libctl-4.5.1/utils/test-prism.c:1159:37: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1272:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1271:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1271:12: note: Assignment 'f=fopen("test-point.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1272:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1273:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1271:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1271:12: note: Assignment 'f=fopen("test-point.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1273:10: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1280:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1280:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1281:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1281:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1282:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1282:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1283:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1283:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1284:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1284:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1286:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1286:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1287:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1287:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1288:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1288:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1289:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1289:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1290:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] libctl-4.5.1/utils/test-prism.c:1279:12: note: Assuming allocation function fails libctl-4.5.1/utils/test-prism.c:1279:12: note: Assignment 'f=fopen("test-prism-bb.gp","w")', assigned value is 0 libctl-4.5.1/utils/test-prism.c:1290:11: note: Null pointer dereference libctl-4.5.1/utils/test-prism.c:1159:37: error: Null pointer dereference [nullPointer] libctl-4.5.1/utils/test-prism.c:135:12: style: Variable 'vertices' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:151:12: style: Variable 'vertices' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:189:39: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/utils/test-prism.c:232:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/utils/test-prism.c:233:12: style: Variable 'vertices' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:285:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:578:10: style: Variable 'octagon_c_normal_sidewall_prism' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:582:10: style: Variable 'octagon_c_two_half_degree_sidewall_prism' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:1136:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:1158:24: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] libctl-4.5.1/utils/test-prism.c:1191:9: style: Variable 'vertexfile' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/test-prism.c:193:22: style: Variable 'vertices.num_items' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:197:26: style: Variable 'vertices_top.num_items' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:237:16: style: Variable 'axis' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:237:11: style: Variable 'axis' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:481:26: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:481:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:525:26: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:525:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:576:26: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:578:42: style: Variable 'octagon_c_normal_sidewall_prism' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:582:51: style: Variable 'octagon_c_two_half_degree_sidewall_prism' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:576:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:578:10: style: Variable 'octagon_c_normal_sidewall_prism' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:582:10: style: Variable 'octagon_c_two_half_degree_sidewall_prism' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/test-prism.c:1253:7: style: Variable 'LineNum' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2214:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libctl-4.5.1/utils/geom.c:1264:9: style: Condition '!empty_x' is always false [knownConditionTrueFalse] libctl-4.5.1/utils/geom.c:1285:9: style: Condition '!empty_x' is always false [knownConditionTrueFalse] libctl-4.5.1/utils/geom.c:1292:9: style: Condition '!empty_y' is always false [knownConditionTrueFalse] libctl-4.5.1/utils/geom.c:2584:5: error: Common realloc mistake: 'vertices' nulled but not freed upon failure [memleakOnRealloc] libctl-4.5.1/utils/geom.c:2770:7: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2770:7: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2771:7: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2771:7: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2772:7: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2772:7: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2772:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2772:47: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2772:73: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2772:73: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2774:94: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2774:94: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2774:155: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2774:155: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2779:7: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2779:7: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2779:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2779:47: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2780:7: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2780:7: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2780:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2780:47: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2784:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2784:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2785:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2785:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2786:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2786:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2787:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2787:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2788:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2788:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2789:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2789:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2790:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2790:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:2791:19: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2791:19: note: Null pointer dereference libctl-4.5.1/utils/geom.c:869:40: style:inconclusive: Function 'square_basis' argument 1 names different: declaration 'lattice_basis' definition 'basis'. [funcArgNamesDifferent] libctl-4.5.1/utils/ctlgeom.h:92:41: note: Function 'square_basis' argument 1 names different: declaration 'lattice_basis' definition 'basis'. libctl-4.5.1/utils/geom.c:869:40: note: Function 'square_basis' argument 1 names different: declaration 'lattice_basis' definition 'basis'. libctl-4.5.1/utils/geom.c:2098:32: style:inconclusive: Function 'node_in_polygon' argument 1 names different: declaration 'qx' definition 'q0x'. [funcArgNamesDifferent] libctl-4.5.1/utils/geom.c:75:39: note: Function 'node_in_polygon' argument 1 names different: declaration 'qx' definition 'q0x'. libctl-4.5.1/utils/geom.c:2098:32: note: Function 'node_in_polygon' argument 1 names different: declaration 'qx' definition 'q0x'. libctl-4.5.1/utils/geom.c:2098:44: style:inconclusive: Function 'node_in_polygon' argument 2 names different: declaration 'qy' definition 'q0y'. [funcArgNamesDifferent] libctl-4.5.1/utils/geom.c:75:50: note: Function 'node_in_polygon' argument 2 names different: declaration 'qy' definition 'q0y'. libctl-4.5.1/utils/geom.c:2098:44: note: Function 'node_in_polygon' argument 2 names different: declaration 'qy' definition 'q0y'. libctl-4.5.1/utils/geom.c:322:25: style: Variable 'os' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:1154:55: style: Parameter 'x' can be declared as pointer to const. However it seems that 'overlap_integrand' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libctl-4.5.1/utils/geom.c:1331:31: note: You might need to cast the function pointer here libctl-4.5.1/utils/geom.c:1154:55: note: Parameter 'x' can be declared as pointer to const libctl-4.5.1/utils/geom.c:1534:23: style: Variable 'os' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:1551:23: style: Variable 'os' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:2129:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:2353:12: style: Variable 'vps_diff_to_top' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:2496:12: style: Variable 'vertices' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:2497:12: style: Variable 'vertices_top' can be declared as pointer to const [constVariablePointer] libctl-4.5.1/utils/geom.c:1156:10: style: Unused variable: s [unusedVariable] libctl-4.5.1/utils/geom.c:2110:17: style: Variable 'height' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2110:10: style: Variable 'height' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2214:11: style: Variable 'slist' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2357:17: style: Variable 'axisp' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2357:11: style: Variable 'axisp' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2548:17: style: Variable 'nvnorm' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2548:10: style: Variable 'nvnorm' is assigned a value that is never used. [unreadVariable] libctl-4.5.1/utils/geom.c:2641:14: style: Variable 'centroid' is assigned a value that is never used. [unreadVariable] diff: head libctl-4.5.1/src/ctl.c:100:25: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:100:25: note: Null pointer dereference head libctl-4.5.1/src/ctl.c:100:40: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libctl-4.5.1/src/ctl.c:97:31: note: Assuming allocation function fails libctl-4.5.1/src/ctl.c:97:17: note: Assignment 'newpath=(char*)malloc(sizeof(char)*(strlen(dir)+strlen(path)+2))', assigned value is 0 libctl-4.5.1/src/ctl.c:100:40: note: Null pointer dereference head libctl-4.5.1/src/integrator.c:405:20: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:405:20: note: Null pointer dereference 2.17.0 libctl-4.5.1/src/integrator.c:405:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libctl-4.5.1/src/integrator.c:404:26: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:404:10: note: Assignment 'r->p=(double*)malloc(sizeof(double)*dim*3)', assigned value is 0 libctl-4.5.1/src/integrator.c:405:25: note: Null pointer addition head libctl-4.5.1/src/integrator.c:405:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libctl-4.5.1/src/integrator.c:404:26: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:404:10: note: Assignment 'r->p=(double*)malloc(sizeof(double)*dim*3)', assigned value is 0 libctl-4.5.1/src/integrator.c:405:25: note: Null pointer addition head libctl-4.5.1/src/integrator.c:406:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libctl-4.5.1/src/integrator.c:395:32: note: Assuming allocation function fails libctl-4.5.1/src/integrator.c:395:7: note: Assignment 'r=(struct rule75genzmalik*)malloc(sizeof(struct rule75genzmalik))', assigned value is 0 libctl-4.5.1/src/integrator.c:406:21: note: Null pointer dereference head libctl-4.5.1/utils/geom.c:2110:10: style: Variable 'height' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/geom.c:2357:11: style: Variable 'axisp' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/geom.c:2548:10: style: Variable 'nvnorm' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/geom.c:2772:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2772:47: note: Null pointer dereference head libctl-4.5.1/utils/geom.c:2772:73: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2772:73: note: Null pointer dereference head libctl-4.5.1/utils/geom.c:2774:155: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2774:155: note: Null pointer dereference head libctl-4.5.1/utils/geom.c:2779:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2779:47: note: Null pointer dereference head libctl-4.5.1/utils/geom.c:2780:47: warning: If memory allocation fails, then there is a possible null pointer dereference: top_polygon_edges [nullPointerOutOfMemory] libctl-4.5.1/utils/geom.c:2766:39: note: Assuming allocation function fails libctl-4.5.1/utils/geom.c:2766:25: note: Assignment 'top_polygon_edges=(struct edge*)malloc(num_vertices*sizeof(struct edge))', assigned value is 0 libctl-4.5.1/utils/geom.c:2780:47: note: Null pointer dereference head libctl-4.5.1/utils/test-prism.c:237:11: style: Variable 'axis' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/test-prism.c:481:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/test-prism.c:525:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/test-prism.c:576:10: style: Variable 'normal_sidewall' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/test-prism.c:578:10: style: Variable 'octagon_c_normal_sidewall_prism' is assigned a value that is never used. [unreadVariable] head libctl-4.5.1/utils/test-prism.c:582:10: style: Variable 'octagon_c_two_half_degree_sidewall_prism' is assigned a value that is never used. [unreadVariable] DONE