2026-05-01 18:02 ftp://ftp.de.debian.org/debian/pool/main/e/emmax/emmax_0~beta.20100307.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 122 124 elapsed-time: 0.7 0.5 head-timing-info: old-timing-info: head results: emmax-beta-src/emmax-kin.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax-kin.c:91:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax-kin.c:365:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax-kin.c:438:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax-kin.c:521:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:137:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:794:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:944:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1045:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1074:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1297:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1444:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1504:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xx [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1532:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1549:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1574:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1628:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFOp [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1648:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFOp [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:1742:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CblasColMajor [valueFlowBailoutIncompleteVar] emmax-beta-src/emmax.c:819:36: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] emmax-beta-src/emmax.c:1359:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] emmax-beta-src/emmax.c:1414:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] emmax-beta-src/emmax.c:908:44: warning: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] emmax-beta-src/emmax.c:902:18: note: Assignment 'sum1=0.', assigned value is 0.0 emmax-beta-src/emmax.c:904:14: note: Assuming condition is false emmax-beta-src/emmax.c:908:44: note: Invalid argument emmax-beta-src/emmax.c:917:44: warning: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] emmax-beta-src/emmax.c:913:18: note: Assignment 'sum1=0.', assigned value is 0.0 emmax-beta-src/emmax.c:914:14: note: Assuming condition is false emmax-beta-src/emmax.c:917:44: note: Invalid argument emmax-beta-src/emmax.c:240:16: style: Condition 'tpedf==NULL' is always false [knownConditionTrueFalse] emmax-beta-src/emmax.c:1298:7: error: Common realloc mistake: 'cheaders' nulled but not freed upon failure [memleakOnRealloc] emmax-beta-src/emmax.c:1304:7: error: Common realloc mistake: 'cmat' nulled but not freed upon failure [memleakOnRealloc] emmax-beta-src/emmax.c:347:7: warning: If memory allocation fails, then there is a possible null pointer dereference: covs [nullPointerOutOfMemory] emmax-beta-src/emmax.c:345:27: note: Assuming allocation function fails emmax-beta-src/emmax.c:345:12: note: Assignment 'covs=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:347:7: note: Null pointer dereference emmax-beta-src/emmax.c:390:12: warning: If memory allocation fails, then there is a possible null pointer dereference: y [nullPointerOutOfMemory] emmax-beta-src/emmax.c:381:22: note: Assuming allocation function fails emmax-beta-src/emmax.c:381:7: note: Assignment 'y=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:390:12: note: Null pointer dereference emmax-beta-src/emmax.c:393:7: warning: If memory allocation fails, then there is a possible null pointer dereference: wids [nullPointerOutOfMemory] emmax-beta-src/emmax.c:367:22: note: Assuming allocation function fails emmax-beta-src/emmax.c:367:10: note: Assignment 'wids=(int*)malloc(sizeof(int)*n)', assigned value is 0 emmax-beta-src/emmax.c:393:7: note: Null pointer dereference emmax-beta-src/emmax.c:418:2: warning: If memory allocation fails, then there is a possible null pointer dereference: X0 [nullPointerOutOfMemory] emmax-beta-src/emmax.c:414:26: note: Assuming allocation function fails emmax-beta-src/emmax.c:414:10: note: Assignment 'X0=(double*)malloc(sizeof(double)*q0*nf)', assigned value is 0 emmax-beta-src/emmax.c:418:2: note: Null pointer dereference emmax-beta-src/emmax.c:426:2: warning: If memory allocation fails, then there is a possible null pointer dereference: K [nullPointerOutOfMemory] emmax-beta-src/emmax.c:423:25: note: Assuming allocation function fails emmax-beta-src/emmax.c:423:9: note: Assignment 'K=(double*)malloc(sizeof(double)*nf*nf)', assigned value is 0 emmax-beta-src/emmax.c:426:2: note: Null pointer dereference emmax-beta-src/emmax.c:447:73: warning: If memory allocation fails, then there is a possible null pointer dereference: eRvals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:440:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:440:14: note: Assignment 'eRvals=(double*)malloc(sizeof(double)*(nf-q0))', assigned value is 0 emmax-beta-src/emmax.c:447:73: note: Null pointer dereference emmax-beta-src/emmax.c:447:83: warning: If memory allocation fails, then there is a possible null pointer dereference: eRvals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:440:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:440:14: note: Assignment 'eRvals=(double*)malloc(sizeof(double)*(nf-q0))', assigned value is 0 emmax-beta-src/emmax.c:447:83: note: Null pointer dereference emmax-beta-src/emmax.c:447:99: warning: If memory allocation fails, then there is a possible null pointer dereference: eRvals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:440:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:440:14: note: Assignment 'eRvals=(double*)malloc(sizeof(double)*(nf-q0))', assigned value is 0 emmax-beta-src/emmax.c:447:99: note: Null pointer dereference emmax-beta-src/emmax.c:732:10: warning: If memory allocation fails, then there is a possible null pointer dereference: kins_copy [nullPointerOutOfMemory] emmax-beta-src/emmax.c:731:38: note: Assuming allocation function fails emmax-beta-src/emmax.c:731:23: note: Assignment 'kins_copy=(double*)malloc(sizeof(double)*n*n)', assigned value is 0 emmax-beta-src/emmax.c:732:10: note: Null pointer dereference emmax-beta-src/emmax.c:734:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kins_copy [nullPointerOutOfMemory] emmax-beta-src/emmax.c:731:38: note: Assuming allocation function fails emmax-beta-src/emmax.c:731:23: note: Assignment 'kins_copy=(double*)malloc(sizeof(double)*n*n)', assigned value is 0 emmax-beta-src/emmax.c:734:5: note: Null pointer dereference emmax-beta-src/emmax.c:738:5: warning: If memory allocation fails, then there is a possible null pointer dereference: eLvals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:438:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:438:14: note: Assignment 'eLvals=(double*)malloc(sizeof(double)*nf)', assigned value is 0 emmax-beta-src/emmax.c:462:25: note: Calling function 'eigen_L_wo_Z', 3rd argument 'eLvals' value is 0 emmax-beta-src/emmax.c:738:5: note: Null pointer dereference emmax-beta-src/emmax.c:755:10: warning: If memory allocation fails, then there is a possible null pointer dereference: kins_copy [nullPointerOutOfMemory] emmax-beta-src/emmax.c:754:38: note: Assuming allocation function fails emmax-beta-src/emmax.c:754:23: note: Assignment 'kins_copy=(double*)malloc(sizeof(double)*n*n)', assigned value is 0 emmax-beta-src/emmax.c:755:10: note: Null pointer dereference emmax-beta-src/emmax.c:757:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kins_copy [nullPointerOutOfMemory] emmax-beta-src/emmax.c:754:38: note: Assuming allocation function fails emmax-beta-src/emmax.c:754:23: note: Assignment 'kins_copy=(double*)malloc(sizeof(double)*n*n)', assigned value is 0 emmax-beta-src/emmax.c:757:5: note: Null pointer dereference emmax-beta-src/emmax.c:776:5: warning: If memory allocation fails, then there is a possible null pointer dereference: S [nullPointerOutOfMemory] emmax-beta-src/emmax.c:774:30: note: Assuming allocation function fails emmax-beta-src/emmax.c:774:15: note: Assignment 'S=(double*)calloc(n*n,sizeof(double))', assigned value is 0 emmax-beta-src/emmax.c:776:5: note: Null pointer dereference emmax-beta-src/emmax.c:794:71: warning: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:791:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:791:19: note: Assignment 'evals=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:794:71: note: Null pointer dereference emmax-beta-src/emmax.c:794:80: warning: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:791:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:791:19: note: Assignment 'evals=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:794:80: note: Null pointer dereference emmax-beta-src/emmax.c:794:89: warning: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:791:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:791:19: note: Assignment 'evals=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:794:89: note: Null pointer dereference emmax-beta-src/emmax.c:806:5: warning: If memory allocation fails, then there is a possible null pointer dereference: minevals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:801:37: note: Assuming allocation function fails emmax-beta-src/emmax.c:801:22: note: Assignment 'minevals=(double*)malloc(sizeof(double)*q)', assigned value is 0 emmax-beta-src/emmax.c:806:5: note: Null pointer dereference emmax-beta-src/emmax.c:807:5: warning: If memory allocation fails, then there is a possible null pointer dereference: minids [nullPointerOutOfMemory] emmax-beta-src/emmax.c:802:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:802:17: note: Assignment 'minids=(int*)malloc(sizeof(int)*q)', assigned value is 0 emmax-beta-src/emmax.c:807:5: note: Null pointer dereference emmax-beta-src/emmax.c:812:10: warning: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:791:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:791:19: note: Assignment 'evals=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:812:10: note: Null pointer dereference emmax-beta-src/emmax.c:817:10: warning: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:791:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:791:19: note: Assignment 'evals=(double*)malloc(sizeof(double)*n)', assigned value is 0 emmax-beta-src/emmax.c:817:10: note: Null pointer dereference emmax-beta-src/emmax.c:817:21: warning: If memory allocation fails, then there is a possible null pointer dereference: minevals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:801:37: note: Assuming allocation function fails emmax-beta-src/emmax.c:801:22: note: Assignment 'minevals=(double*)malloc(sizeof(double)*q)', assigned value is 0 emmax-beta-src/emmax.c:817:21: note: Null pointer dereference emmax-beta-src/emmax.c:928:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: etas [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1055:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1055:18: note: Assignment 'etas=(double*)calloc(n-q,sizeof(double))', assigned value is 0 emmax-beta-src/emmax.c:1064:51: note: Calling function 'dLL_REML_wo_Z', 4th argument 'etas' value is 0 emmax-beta-src/emmax.c:928:10: note: Null pointer dereference emmax-beta-src/emmax.c:928:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: etas [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1055:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1055:18: note: Assignment 'etas=(double*)calloc(n-q,sizeof(double))', assigned value is 0 emmax-beta-src/emmax.c:1064:51: note: Calling function 'dLL_REML_wo_Z', 4th argument 'etas' value is 0 emmax-beta-src/emmax.c:928:18: note: Null pointer dereference emmax-beta-src/emmax.c:1063:5: warning: If memory allocation fails, then there is a possible null pointer dereference: grids [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1056:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:1056:19: note: Assignment 'grids=(double*)malloc(sizeof(double)*(ngrids+1))', assigned value is 0 emmax-beta-src/emmax.c:1063:5: note: Null pointer dereference emmax-beta-src/emmax.c:1064:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dLLs [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1057:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1057:18: note: Assignment 'dLLs=(double*)malloc(sizeof(double)*(ngrids+1))', assigned value is 0 emmax-beta-src/emmax.c:1064:5: note: Null pointer dereference emmax-beta-src/emmax.c:1064:34: warning: If memory allocation fails, then there is a possible null pointer dereference: grids [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1056:34: note: Assuming allocation function fails emmax-beta-src/emmax.c:1056:19: note: Assignment 'grids=(double*)malloc(sizeof(double)*(ngrids+1))', assigned value is 0 emmax-beta-src/emmax.c:1064:34: note: Null pointer dereference emmax-beta-src/emmax.c:1068:53: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: etas [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1055:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1055:18: note: Assignment 'etas=(double*)calloc(n-q,sizeof(double))', assigned value is 0 emmax-beta-src/emmax.c:1068:53: note: Null pointer dereference emmax-beta-src/emmax.c:1068:63: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: evals [nullPointerOutOfMemory] emmax-beta-src/emmax.c:440:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:440:14: note: Assignment 'eRvals=(double*)malloc(sizeof(double)*(nf-q0))', assigned value is 0 emmax-beta-src/emmax.c:453:66: note: Calling function 'REMLE_grid_wo_Z', 9th argument 'eRvals' value is 0 emmax-beta-src/emmax.c:1068:63: note: Null pointer dereference emmax-beta-src/emmax.c:1077:8: warning: If memory allocation fails, then there is a possible null pointer dereference: dLLs [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1057:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1057:18: note: Assignment 'dLLs=(double*)malloc(sizeof(double)*(ngrids+1))', assigned value is 0 emmax-beta-src/emmax.c:1077:8: note: Null pointer dereference emmax-beta-src/emmax.c:1084:8: warning: If memory allocation fails, then there is a possible null pointer dereference: dLLs [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1057:33: note: Assuming allocation function fails emmax-beta-src/emmax.c:1057:18: note: Assignment 'dLLs=(double*)malloc(sizeof(double)*(ngrids+1))', assigned value is 0 emmax-beta-src/emmax.c:1084:8: note: Null pointer dereference emmax-beta-src/emmax.c:1315:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fmat [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1311:26: note: Assuming allocation function fails emmax-beta-src/emmax.c:1311:10: note: Assignment 'fmat=(double*)malloc(sizeof(double)*fhp->nrows*fhp->nvaluecols)', assigned value is 0 emmax-beta-src/emmax.c:1315:7: note: Null pointer dereference emmax-beta-src/emmax.c:1318:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fheaders [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1312:29: note: Assuming allocation function fails emmax-beta-src/emmax.c:1312:14: note: Assignment 'fheaders=(char**)malloc(sizeof(char*)*fhp->nrows*fhp->nheadercols)', assigned value is 0 emmax-beta-src/emmax.c:1318:7: note: Null pointer dereference emmax-beta-src/emmax.c:1346:54: warning: If memory allocation fails, then there is a possible null pointer dereference: lbuf [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1278:30: note: Assuming allocation function fails emmax-beta-src/emmax.c:1278:16: note: Assignment 'lbuf=(char*)malloc(sizeof(char*)*1000000)', assigned value is 0 emmax-beta-src/emmax.c:1287:83: note: Calling function 'tokenize_line_with_col_headers', 5th argument 'lbuf' value is 0 emmax-beta-src/emmax.c:1346:54: note: Null pointer dereference emmax-beta-src/emmax.c:1712:8: style: Variable 'info' is reassigned a value before the old one has been used. [redundantAssignment] emmax-beta-src/emmax.c:1696:8: note: info is assigned emmax-beta-src/emmax.c:1712:8: note: info is overwritten emmax-beta-src/emmax.c:750:54: style:inconclusive: Function 'eigen_R_wo_Z' argument 4 names different: declaration 'xs' definition 'X'. [funcArgNamesDifferent] emmax-beta-src/emmax.c:83:54: note: Function 'eigen_R_wo_Z' argument 4 names different: declaration 'xs' definition 'X'. emmax-beta-src/emmax.c:750:54: note: Function 'eigen_R_wo_Z' argument 4 names different: declaration 'xs' definition 'X'. emmax-beta-src/emmax.c:728:33: style: Parameter 'kins' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:750:40: style: Parameter 'kins' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:899:54: style: Parameter 'lambdas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:899:71: style: Parameter 'etas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:911:47: style: Parameter 'lambdas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:911:64: style: Parameter 'etas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:920:55: style: Parameter 'lambdas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:920:72: style: Parameter 'etas' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1143:11: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax.c:1152:11: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax.c:1167:42: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1167:56: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1179:28: style: Parameter 'X0' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1179:40: style: Parameter 'eLvals' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1199:28: style: Parameter 'X0' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1199:40: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1199:52: style: Parameter 'eLvals' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1222:28: style: Parameter 'X0' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1222:40: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1222:51: style: Parameter 'eLvals' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1238:28: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1238:40: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1238:51: style: Parameter 'eLvals' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1249:30: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1249:41: style: Parameter 'eLvals' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1260:35: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1260:48: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1341:83: style: Parameter 'delims' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1346:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax.c:1492:17: style: Variable 'cof' can be declared as const array [constVariable] emmax-beta-src/emmax.c:1558:31: style: Parameter 'kin' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1594:33: style: Parameter 'X' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1602:25: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1602:35: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1602:44: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1782:41: style: Parameter 'kins' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1782:55: style: Parameter 'snps' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1788:48: style: Parameter 'kins' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:1788:62: style: Parameter 'snps' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax.c:233:3: warning: Size of pointer 'lbuf' used instead of size of its data. [pointerSize] emmax-beta-src/emmax.c:1278:9: warning: Size of pointer 'lbuf' used instead of size of its data. [pointerSize] emmax-beta-src/emmax.c:698:10: style: Variable 'cstart' is assigned a value that is never used. [unreadVariable] emmax-beta-src/emmax-kin.c:425:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] emmax-beta-src/emmax-kin.c:457:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] emmax-beta-src/emmax-kin.c:366:7: error: Common realloc mistake: 'cheaders' nulled but not freed upon failure [memleakOnRealloc] emmax-beta-src/emmax-kin.c:372:7: error: Common realloc mistake: 'cmat' nulled but not freed upon failure [memleakOnRealloc] emmax-beta-src/emmax-kin.c:383:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fmat [nullPointerOutOfMemory] emmax-beta-src/emmax-kin.c:379:48: note: Assuming allocation function fails emmax-beta-src/emmax-kin.c:379:25: note: Assignment 'fmat=(unsigned char*)malloc(sizeof(unsigned char)*fhp->nrows*fhp->nvaluecols)', assigned value is 0 emmax-beta-src/emmax-kin.c:383:7: note: Null pointer dereference emmax-beta-src/emmax-kin.c:386:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fheaders [nullPointerOutOfMemory] emmax-beta-src/emmax-kin.c:380:36: note: Assuming allocation function fails emmax-beta-src/emmax-kin.c:380:21: note: Assignment 'fheaders=(char**)malloc(sizeof(char*)*fhp->nrows*fhp->nheadercols)', assigned value is 0 emmax-beta-src/emmax-kin.c:386:7: note: Null pointer dereference emmax-beta-src/emmax-kin.c:412:54: warning: If memory allocation fails, then there is a possible null pointer dereference: lbuf [nullPointerOutOfMemory] emmax-beta-src/emmax-kin.c:345:30: note: Assuming allocation function fails emmax-beta-src/emmax-kin.c:345:16: note: Assignment 'lbuf=(char*)malloc(sizeof(char*)*1000000)', assigned value is 0 emmax-beta-src/emmax-kin.c:355:72: note: Calling function 'tokenize_tped_line_with_col_headers', 4th argument 'lbuf' value is 0 emmax-beta-src/emmax-kin.c:412:54: note: Null pointer dereference emmax-beta-src/emmax-kin.c:407:95: style: Parameter 'delims' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax-kin.c:409:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax-kin.c:412:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax-kin.c:481:42: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax-kin.c:481:56: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] emmax-beta-src/emmax-kin.c:499:11: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax-kin.c:508:11: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] emmax-beta-src/emmax-kin.c:138:3: warning: Size of pointer 'lbuf' used instead of size of its data. [pointerSize] emmax-beta-src/emmax-kin.c:345:9: warning: Size of pointer 'lbuf' used instead of size of its data. [pointerSize] diff: 2.20.0 emmax-beta-src/emmax-kin.c:412:82: warning: If memory allocation fails, then there is a possible null pointer dereference: lbuf [nullPointerOutOfMemory] emmax-beta-src/emmax-kin.c:345:30: note: Assuming allocation function fails emmax-beta-src/emmax-kin.c:345:16: note: Assignment 'lbuf=(char*)malloc(sizeof(char*)*1000000)', assigned value is 0 emmax-beta-src/emmax-kin.c:355:72: note: Calling function 'tokenize_tped_line_with_col_headers', 4th argument 'lbuf' value is 0 emmax-beta-src/emmax-kin.c:412:82: note: Null pointer dereference 2.20.0 emmax-beta-src/emmax.c:1346:82: warning: If memory allocation fails, then there is a possible null pointer dereference: lbuf [nullPointerOutOfMemory] emmax-beta-src/emmax.c:1278:30: note: Assuming allocation function fails emmax-beta-src/emmax.c:1278:16: note: Assignment 'lbuf=(char*)malloc(sizeof(char*)*1000000)', assigned value is 0 emmax-beta-src/emmax.c:1287:83: note: Calling function 'tokenize_line_with_col_headers', 5th argument 'lbuf' value is 0 emmax-beta-src/emmax.c:1346:82: note: Null pointer dereference DONE