2026-06-29 21:35 ftp://ftp.de.debian.org/debian/pool/main/s/speex/speex_1.2~rc1.2.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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 86f4c91 (2026-06-26 08:32:09 +0200) count: 100 99 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: speex-1.2~rc1.2/libspeex/arch.h:65:2: error: #error You now need to define either FIXED_POINT or FLOATING_POINT [preprocessorErrorDirective] speex-1.2~rc1.2/libspeex/testdenoise.c:20:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_PREPROCESS_SET_DENOISE [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testecho.c:27:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testjitter.c:39:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JITTER_BUFFER_OK [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testjitter.c:69:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JITTER_BUFFER_OK [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testenc.c:34:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_MODEID_NB [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testenc_uwb.c:39:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_MODEID_UWB [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testenc_wb.c:38:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_MODEID_WB [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testecho.c:39:25: warning: Using feof() as a loop condition causes the last line to be processed twice. [wrongfeofUsage] speex-1.2~rc1.2/libspeex/testecho.c:39:17: warning: If resource allocation fails, then there is a possible null pointer dereference: ref_fd [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testecho.c:31:19: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testecho.c:31:19: note: Assignment 'ref_fd=fopen(argv[1],"rb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testecho.c:39:17: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testecho.c:39:34: warning: If resource allocation fails, then there is a possible null pointer dereference: echo_fd [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testecho.c:30:19: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testecho.c:30:19: note: Assignment 'echo_fd=fopen(argv[2],"rb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testecho.c:39:34: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testecho.c:49:11: warning: If resource allocation fails, then there is a possible null pointer dereference: e_fd [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testecho.c:32:19: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testecho.c:32:19: note: Assignment 'e_fd=fopen(argv[3],"wb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testecho.c:39:25: note: Assuming condition is false speex-1.2~rc1.2/libspeex/testecho.c:49:11: note: Null pointer dereference speex-1.2~rc1.2/src/getopt1.c:68:10: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:69:19: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:70:18: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:71:27: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:72:11: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:84:10: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:85:19: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:86:18: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:87:27: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt1.c:88:11: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/libspeex/testdenoise.c:37:11: style: Variable 'vad' is assigned a value that is never used. [unreadVariable] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_SIZE [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/wav_io.c:85:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:122:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_SIZE [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/skeleton.c:181:12: style: Condition '!result' is always false [knownConditionTrueFalse] speex-1.2~rc1.2/src/skeleton.c:15:38: style: Parameter 'og' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/skeleton.c:25:47: style: Parameter 'header_key' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/skeleton.c:26:47: style: Parameter 'header_value' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/skeleton.c:75:45: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/skeleton.c:102:45: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/skeleton.c:121:45: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/wav_io.c:196:9: style: Variable 'ch[4]' is assigned a value that is never used. [unreadVariable] speex-1.2~rc1.2/libspeex/testenc.c:82:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc.c:73:15: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc.c:73:15: note: Assignment 'fin=fopen(inFile,"rb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc.c:82:17: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc.c:116:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc.c:75:16: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc.c:75:16: note: Assignment 'fout=fopen(outFile,"wb+")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc.c:82:11: note: Assuming condition is false speex-1.2~rc1.2/libspeex/testenc.c:116:11: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc.c:18:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc.c:18:19: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc.c:18:29: style: Variable 'bitsFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc_uwb.c:81:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc_uwb.c:72:15: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc_uwb.c:72:15: note: Assignment 'fin=fopen(inFile,"rb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc_uwb.c:81:17: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc_uwb.c:109:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc_uwb.c:74:16: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc_uwb.c:74:16: note: Assignment 'fout=fopen(outFile,"wb+")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc_uwb.c:81:11: note: Assuming condition is false speex-1.2~rc1.2/libspeex/testenc_uwb.c:109:11: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc_uwb.c:18:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc_uwb.c:18:19: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc_uwb.c:18:29: style: Variable 'bitsFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc_wb.c:85:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc_wb.c:76:15: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc_wb.c:76:15: note: Assignment 'fin=fopen(inFile,"rb")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc_wb.c:85:17: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc_wb.c:112:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] speex-1.2~rc1.2/libspeex/testenc_wb.c:78:16: note: Assuming allocation function fails speex-1.2~rc1.2/libspeex/testenc_wb.c:78:16: note: Assignment 'fout=fopen(outFile,"wb+")', assigned value is 0 speex-1.2~rc1.2/libspeex/testenc_wb.c:85:11: note: Assuming condition is false speex-1.2~rc1.2/libspeex/testenc_wb.c:112:11: note: Null pointer dereference speex-1.2~rc1.2/libspeex/testenc_wb.c:18:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/libspeex/testenc_wb.c:18:19: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/getopt.c:673:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/libspeex/testenc_wb.c:18:29: style: Variable 'bitsFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:177:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:170:15: note: Assuming allocation function fails speex-1.2~rc1.2/ti/testenc-TI-C64x.c:170:15: note: Assignment 'fin=fopen(inFile,"rb")', assigned value is 0 speex-1.2~rc1.2/ti/testenc-TI-C64x.c:177:17: note: Null pointer dereference speex-1.2~rc1.2/ti/testenc-TI-C64x.c:219:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:173:16: note: Assuming allocation function fails speex-1.2~rc1.2/ti/testenc-TI-C64x.c:173:16: note: Assignment 'fout=fopen(outFile,"wb+")', assigned value is 0 speex-1.2~rc1.2/ti/testenc-TI-C64x.c:177:11: note: Assuming condition is false speex-1.2~rc1.2/ti/testenc-TI-C64x.c:219:11: note: Null pointer dereference speex-1.2~rc1.2/ti/testenc-TI-C64x.c:87:10: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:87:20: style: Variable 'bitsFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C64x.c:90:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexdec.c:103:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexdec.c:226:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexdec.c:294:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_LIB_GET_VERSION_STRING [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexdec.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_LIB_GET_VERSION_STRING [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexdec.c:318:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexdec.c:471:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_STEREO_STATE_INIT [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:215:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:208:15: note: Assuming allocation function fails speex-1.2~rc1.2/ti/testenc-TI-C5x.c:208:15: note: Assignment 'fin=fopen(inFile,"rb")', assigned value is 0 speex-1.2~rc1.2/ti/testenc-TI-C5x.c:215:17: note: Null pointer dereference speex-1.2~rc1.2/ti/testenc-TI-C5x.c:261:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:211:16: note: Assuming allocation function fails speex-1.2~rc1.2/ti/testenc-TI-C5x.c:211:16: note: Assignment 'fout=fopen(outFile,"wb+")', assigned value is 0 speex-1.2~rc1.2/ti/testenc-TI-C5x.c:215:11: note: Assuming condition is false speex-1.2~rc1.2/ti/testenc-TI-C5x.c:261:11: note: Null pointer dereference speex-1.2~rc1.2/ti/testenc-TI-C5x.c:89:11: style: Variable 'pIn' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:103:11: style: Variable 'pIn' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:117:10: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:117:20: style: Variable 'bitsFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/ti/testenc-TI-C5x.c:120:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexenc.c:187:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_LIB_GET_VERSION_STRING [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexenc.c:195:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_LIB_GET_VERSION_STRING [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexenc.c:339:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_LIB_GET_VERSION_STRING [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexenc.c:963:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexenc.c:983:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] speex-1.2~rc1.2/src/speexenc.c:535:44: style: Same expression on both sides of '&&'. [duplicateExpression] speex-1.2~rc1.2/src/speexenc.c:818:14: style: Local variable 'tmp' shadows outer variable [shadowVariable] speex-1.2~rc1.2/src/speexenc.c:334:16: note: Shadowed variable speex-1.2~rc1.2/src/speexenc.c:818:14: note: Shadow local variable speex-1.2~rc1.2/src/speexenc.c:71:29: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:84:105: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:166:83: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:258:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexenc.c:258:19: style: Variable 'outFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexenc.c:275:18: style: Variable 'long_options' can be declared as const array [constVariable] speex-1.2~rc1.2/src/speexenc.c:620:13: style: Variable 'st_string' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexenc.c:956:55: style: Parameter 'vendor_string' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:972:54: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:972:65: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexenc.c:912:24: style: Variable 'bytes_written' is assigned a value that is never used. [unreadVariable] speex-1.2~rc1.2/src/getopt.c:509:10: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:510:19: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:511:18: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:512:27: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '' definition 'longopts'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:513:11: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '' definition 'longind'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:514:10: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '' definition 'long_only'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:965:10: style:inconclusive: Function 'getopt' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:966:19: style:inconclusive: Function 'getopt' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:967:18: style:inconclusive: Function 'getopt' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] speex-1.2~rc1.2/src/getopt.c:768:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexdec.c:99:10: style: Variable 'end' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexdec.c:144:51: style: Parameter 'channels' can be declared as pointer to const [constParameterPointer] speex-1.2~rc1.2/src/speexdec.c:428:10: style: Variable 'inFile' can be declared as pointer to const [constVariablePointer] speex-1.2~rc1.2/src/speexdec.c:440:18: style: Variable 'long_options' can be declared as const array [constVariable] diff: head speex-1.2~rc1.2/libspeex/testecho.c:39:25: warning: Using feof() as a loop condition causes the last line to be processed twice. [wrongfeofUsage] DONE