2026-05-01 06:36 ftp://ftp.de.debian.org/debian/pool/main/b/brp-pacu/brp-pacu_2.1.2+git20210421.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 0fda84e (2026-05-01 02:32:52 +0200) count: 62 64 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: brp-pacu/BRP_PACU.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackTransportRolling [valueFlowBailoutIncompleteVar] brp-pacu/BRP_PACU.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] brp-pacu/BRP_PACU.c:160:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] brp-pacu/BRP_PACU.c:279:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] brp-pacu/BRP_PACU.c:60:34: style: Variable 'in_buffer_mea' can be declared as pointer to const [constVariablePointer] brp-pacu/BRP_PACU.c:60:50: style: Variable 'in_buffer_ref' can be declared as pointer to const [constVariablePointer] brp-pacu/analysis.c:36:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutex [valueFlowBailoutIncompleteVar] brp-pacu/analysis.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:36:2: note: Null pointer dereference brp-pacu/analysis.c:37:15: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:37:15: note: Null pointer dereference brp-pacu/analysis.c:38:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:38:2: note: Null pointer dereference brp-pacu/analysis.c:39:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:39:2: note: Null pointer dereference brp-pacu/analysis.c:40:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:40:2: note: Null pointer dereference brp-pacu/analysis.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:42:2: note: Null pointer dereference brp-pacu/analysis.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:43:5: note: Null pointer dereference brp-pacu/analysis.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:44:2: note: Null pointer dereference brp-pacu/analysis.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:45:2: note: Null pointer dereference brp-pacu/analysis.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:46:2: note: Null pointer dereference brp-pacu/analysis.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:47:5: note: Null pointer dereference brp-pacu/analysis.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:49:2: note: Null pointer dereference brp-pacu/analysis.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:50:5: note: Null pointer dereference brp-pacu/analysis.c:51:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:51:2: note: Null pointer dereference brp-pacu/analysis.c:51:43: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:51:43: note: Null pointer dereference brp-pacu/analysis.c:51:63: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:51:63: note: Null pointer dereference brp-pacu/analysis.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:52:5: note: Null pointer dereference brp-pacu/analysis.c:52:46: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:52:46: note: Null pointer dereference brp-pacu/analysis.c:52:66: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:52:66: note: Null pointer dereference brp-pacu/analysis.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:53:5: note: Null pointer dereference brp-pacu/analysis.c:53:53: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:53:53: note: Null pointer dereference brp-pacu/analysis.c:53:73: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:53:73: note: Null pointer dereference brp-pacu/analysis.c:55:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:55:2: note: Null pointer dereference brp-pacu/analysis.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:56:5: note: Null pointer dereference brp-pacu/analysis.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:57:2: note: Null pointer dereference brp-pacu/analysis.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:58:5: note: Null pointer dereference brp-pacu/analysis.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:60:5: note: Null pointer dereference brp-pacu/analysis.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:61:5: note: Null pointer dereference brp-pacu/analysis.c:64:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:64:9: note: Null pointer dereference brp-pacu/analysis.c:65:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:65:9: note: Null pointer dereference brp-pacu/analysis.c:66:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:66:9: note: Null pointer dereference brp-pacu/analysis.c:67:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:67:9: note: Null pointer dereference brp-pacu/analysis.c:68:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:68:9: note: Null pointer dereference brp-pacu/analysis.c:69:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:69:9: note: Null pointer dereference brp-pacu/analysis.c:70:9: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] brp-pacu/analysis.c:34:41: note: Assuming allocation function fails brp-pacu/analysis.c:34:9: note: Assignment 'session=(struct AnalysisSession*)malloc(sizeof(struct AnalysisSession))', assigned value is 0 brp-pacu/analysis.c:70:9: note: Null pointer dereference brp-pacu/analysis.c:229:12: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] brp-pacu/generator.c:88:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jack_default_audio_sample_t [valueFlowBailoutIncompleteVar] brp-pacu/generator.c:82:66: style:inconclusive: Function 'generator_fill_buffer' argument 2 names different: declaration 'buffer' definition 'jack_buffer'. [funcArgNamesDifferent] brp-pacu/generator.h:30:66: note: Function 'generator_fill_buffer' argument 2 names different: declaration 'buffer' definition 'jack_buffer'. brp-pacu/generator.c:82:66: note: Function 'generator_fill_buffer' argument 2 names different: declaration 'buffer' definition 'jack_buffer'. brp-pacu/gui.c:122:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:411:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:548:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:589:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:765:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkDataboxGraph [valueFlowBailoutIncompleteVar] brp-pacu/gui.c:177:35: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] brp-pacu/gui.c:181:41: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] brp-pacu/gui.c:1071:49: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] brp-pacu/gui.c:337:40: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'delay_custom_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] brp-pacu/gui.c:890:5: note: You might need to cast the function pointer here brp-pacu/gui.c:337:40: note: Parameter 'widget' can be declared as pointer to const brp-pacu/gui.c:342:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'pinknoise_button_toggled_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] brp-pacu/gui.c:828:2: note: You might need to cast the function pointer here brp-pacu/gui.c:342:45: note: Parameter 'widget' can be declared as pointer to const brp-pacu/gui.c:343:47: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'pinknoise_button_toggled_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] brp-pacu/gui.c:828:2: note: You might need to cast the function pointer here brp-pacu/gui.c:343:47: note: Parameter 'user_data' can be declared as pointer to const brp-pacu/gui.c:371:67: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'transfer_function_toggle_button_toggled_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] brp-pacu/gui.c:869:5: note: You might need to cast the function pointer here brp-pacu/gui.c:371:67: note: Parameter 'widget' can be declared as pointer to const brp-pacu/gui.c:443:58: style: Parameter 'p' can be declared as pointer to const. However it seems that 'buffer_button_cb' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] brp-pacu/gui.c:1010:9: note: You might need to cast the function pointer here brp-pacu/gui.c:443:58: note: Parameter 'p' can be declared as pointer to const brp-pacu/gui.c:580:23: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] brp-pacu/gui.c:747:57: style: Parameter 'datadir' can be declared as pointer to const [constParameterPointer] diff: 2.20.0 brp-pacu/gui.c:1070:46: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: file_path1 [nullPointerOutOfMemory] brp-pacu/gui.c:1062:24: note: Assuming allocation function fails brp-pacu/gui.c:1062:24: note: Assignment 'file_path1=malloc(sizeof(home_string)+50)', assigned value is 0 brp-pacu/gui.c:1070:46: note: Null pointer dereference 2.20.0 brp-pacu/gui.c:1071:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: file_path2 [nullPointerOutOfMemory] brp-pacu/gui.c:1063:24: note: Assuming allocation function fails brp-pacu/gui.c:1063:24: note: Assignment 'file_path2=malloc(sizeof(home_string)+50)', assigned value is 0 brp-pacu/gui.c:1071:30: note: Null pointer dereference DONE