2025-11-23 00:44 ftp://ftp.de.debian.org/debian/pool/main/o/ocaml-soundtouch/ocaml-soundtouch_0.1.9.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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 44 44 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:102:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ans [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:129:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:135:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:153:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:173:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbuf [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:263:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ans [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:284:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:290:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbuf [valueFlowBailoutIncompleteVar] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:191:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:187:24: note: Assuming allocation function fails ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:187:9: note: Assignment 'buf=(float*)malloc(chans*len*sizeof(float))', assigned value is 0 ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:191:7: note: Null pointer dereference ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:237:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:232:24: note: Assuming allocation function fails ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:232:9: note: Assignment 'buf=(float*)malloc(chans*len*sizeof(float))', assigned value is 0 ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:237:41: note: Null pointer dereference ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:302:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:298:24: note: Assuming allocation function fails ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:298:9: note: Assignment 'buf=(float*)malloc(chans*len*sizeof(float))', assigned value is 0 ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:302:7: note: Null pointer dereference ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:90:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:107:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:113:27: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:117:18: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:121:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:127:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:133:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:139:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:145:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:151:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:157:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:164:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:167:16: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:180:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:187:9: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:204:18: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:209:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:212:16: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:216:9: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:232:9: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:233:9: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:251:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:268:3: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:275:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:278:16: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:291:20: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:298:9: style: C-style pointer casting [cstyleCast] ocaml-soundtouch-0.1.9/src/soundtouch_stubs.cc:315:27: style: C-style pointer casting [cstyleCast] diff: DONE