2026-05-01 22:12 ftp://ftp.de.debian.org/debian/pool/main/f/fluidsynth-dssi/fluidsynth-dssi_1.0.0.orig.tar.gz 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 -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: 119 119 elapsed-time: 0.6 0.4 head-timing-info: old-timing-info: head results: fluidsynth-dssi-1.0.0/src/locate_soundfont.c:67:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:130:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:156:4: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:35:11: style: Variable 'sf2path' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:35:39: style: Variable 'element' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:50:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:105:11: style: Variable 'sf2path' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:107:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/locate_soundfont.c:113:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:201:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSSI_Program_Descriptor [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:348:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LADSPA_Data [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:572:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSSI_GLOBAL_CONFIGURE_PREFIX [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:672:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bank [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:708:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSSI_NONE [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:732:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bank [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:812:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LADSPA_Data [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1064:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LADSPA_Descriptor [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:206:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:320:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:383:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:486:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:554:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:645:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:716:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1039:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1069:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:650:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:701:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:760:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:778:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:865:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:896:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:980:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1045:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1121:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1186:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1349:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1405:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1483:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1537:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1698:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1737:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1772:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1810:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1882:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1934:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1983:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:2039:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:2049:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:2061:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:671:13: warning:inconclusive: The buffer 'name' may not be null-terminated after the call to strncpy(). [terminateStrncpy] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:720:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:951:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:975:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:977:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:982:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:987:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:992:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1002:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1006:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1009:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1012:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1015:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1046:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1048:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1051:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1054:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1078:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1103:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1118:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1120:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1123:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1090:13: warning: If memory allocation fails, then there is a possible null pointer dereference: port_descriptors [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1075:39: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1074:28: note: Assignment 'port_descriptors=(LADSPA_PortDescriptor*)calloc(fsd_LADSPA_descriptor->PortCount,sizeof(LADSPA_PortDescriptor))', assigned value is 0 fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1090:13: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1091:13: warning: If memory allocation fails, then there is a possible null pointer dereference: port_names [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1086:38: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1086:22: note: Assignment 'port_names=(char**)calloc(fsd_LADSPA_descriptor->PortCount,sizeof(char*))', assigned value is 0 fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1091:13: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1092:13: warning: If memory allocation fails, then there is a possible null pointer dereference: port_range_hints [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1081:39: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1080:28: note: Assignment 'port_range_hints=(LADSPA_PortRangeHint*)calloc(fsd_LADSPA_descriptor->PortCount,sizeof(LADSPA_PortRangeHint))', assigned value is 0 fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1092:13: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1093:13: warning: If memory allocation fails, then there is a possible null pointer dereference: port_range_hints [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1081:39: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1080:28: note: Assignment 'port_range_hints=(LADSPA_PortRangeHint*)calloc(fsd_LADSPA_descriptor->PortCount,sizeof(LADSPA_PortRangeHint))', assigned value is 0 fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1093:13: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1094:13: warning: If memory allocation fails, then there is a possible null pointer dereference: port_range_hints [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1081:39: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1080:28: note: Assignment 'port_range_hints=(LADSPA_PortRangeHint*)calloc(fsd_LADSPA_descriptor->PortCount,sizeof(LADSPA_PortRangeHint))', assigned value is 0 fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1094:13: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1011:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1014:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:792:40: style:inconclusive: Function 'fsd_run_multiple_synths' argument 5 names different: declaration 'event_counts' definition 'event_count'. [funcArgNamesDifferent] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:74:40: note: Function 'fsd_run_multiple_synths' argument 5 names different: declaration 'event_counts' definition 'event_count'. fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:792:40: note: Function 'fsd_run_multiple_synths' argument 5 names different: declaration 'event_counts' definition 'event_count'. fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:429:21: style: Variable 'instance' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:792:40: style: Parameter 'event_count' can be declared as pointer to const. However it seems that 'fsd_run_multiple_synths' is a callback function, if 'event_count' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:1117:52: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:792:40: note: Parameter 'event_count' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/fluidsynth-dssi.c:942:33: style: Variable 'instance' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:206:15: style: Local variable 'path' shadows outer argument [shadowArgument] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:196:35: note: Shadowed declaration fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:206:15: note: Shadow variable fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:670:23: style: Pointer expression 'name' converted to bool is always true. [knownPointerToBool] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:120:22: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:120:39: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:288:51: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'osc_control_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1206:62: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:288:51: note: Parameter 'user_data' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:311:51: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'osc_program_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1208:62: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:311:51: note: Parameter 'user_data' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:525:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:552:39: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_test_note_slider_change' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1010:42: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:552:39: note: Parameter 'widget' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:552:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_test_note_slider_change' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1010:42: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:552:56: note: Parameter 'data' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:570:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_test_note_button_press' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:1016:25: note: You might need to cast the function pointer here fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:570:55: note: Parameter 'data' can be declared as pointer to const fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:630:15: style: Variable 'sfpreset' can be declared as pointer to const [constVariablePointer] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:299:10: style: Variable 'port' is assigned a value that is never used. [unreadVariable] fluidsynth-dssi-1.0.0/src/FluidSynth-DSSI_gtk.c:300:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:747:7: style: Condition '!fixup_sample(sf)' is always false [knownConditionTrueFalse] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:747:21: note: Calling function 'fixup_sample' returns 1 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:747:7: note: Condition '!fixup_sample(sf)' is always false fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:73:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:72:26: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:72:10: note: Assignment 'list=(struct fluid_list_t*)malloc(sizeof(struct fluid_list_t))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:73:3: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:72:26: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:72:10: note: Assignment 'list=(struct fluid_list_t*)malloc(sizeof(struct fluid_list_t))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:74:3: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:683:5: warning: Either the condition 'sf' is redundant or there is possible null pointer dereference: sf. [nullPointerRedundantCheck] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:688:11: note: Assuming that condition 'sf' is not redundant fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:683:5: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:989:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:987:11: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:987:11: note: Assignment 'p=(struct SFPreset*)malloc(sizeof(struct SFPreset))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:989:7: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1052:4: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1050:8: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1050:8: note: Assignment 'z=(struct SFZone*)malloc(sizeof(struct SFZone))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1052:4: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1053:4: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1050:8: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1050:8: note: Assignment 'z=(struct SFZone*)malloc(sizeof(struct SFZone))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1053:4: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1132:8: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1130:12: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1130:12: note: Assignment 'm=(struct SFMod*)malloc(sizeof(struct SFMod))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1132:8: note: Assuming condition is false fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1132:8: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1252:9: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1250:13: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1250:13: note: Assignment 'g=(struct SFGen*)malloc(sizeof(struct SFGen))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1252:9: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1259:5: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1250:13: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1250:13: note: Assignment 'g=(struct SFGen*)malloc(sizeof(struct SFGen))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1259:5: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1358:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1356:11: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1356:11: note: Assignment 'p=(struct SFInst*)malloc(sizeof(struct SFInst))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1358:7: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1412:4: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1410:8: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1410:8: note: Assignment 'z=(struct SFZone*)malloc(sizeof(struct SFZone))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1412:4: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1413:4: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1410:8: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1410:8: note: Assignment 'z=(struct SFZone*)malloc(sizeof(struct SFZone))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1413:4: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1494:8: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1492:12: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1492:12: note: Assignment 'm=(struct SFMod*)malloc(sizeof(struct SFMod))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1494:8: note: Assuming condition is false fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1494:8: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1602:9: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1600:13: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1600:13: note: Assignment 'g=(struct SFGen*)malloc(sizeof(struct SFGen))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1602:9: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1609:5: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1600:13: note: Assuming allocation function fails fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1600:13: note: Assignment 'g=(struct SFGen*)malloc(sizeof(struct SFGen))', assigned value is 0 fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:1609:5: note: Null pointer dereference fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:171:58: style:inconclusive: Function 'fluid_list_remove_link' argument 2 names different: declaration 'llink' definition 'link'. [funcArgNamesDifferent] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:60:72: note: Function 'fluid_list_remove_link' argument 2 names different: declaration 'llink' definition 'link'. fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:171:58: note: Function 'fluid_list_remove_link' argument 2 names different: declaration 'llink' definition 'link'. fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:141:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:171:58: style: Parameter 'link' can be declared as pointer to const [constParameterPointer] fluidsynth-dssi-1.0.0/src/load_soundfont_metadata.c:899:11: style: Variable 'id' is assigned a value that is never used. [unreadVariable] diff: DONE