2025-11-27 07:26 ftp://ftp.de.debian.org/debian/pool/main/j/jalv/jalv_1.6.8.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 160 158 elapsed-time: 0.5 0.6 head-timing-info: old-timing-info: head results: jalv-1.6.8/src/control.c:85:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/control.c:43:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:43:3: note: Null pointer dereference jalv-1.6.8/src/control.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:44:3: note: Null pointer dereference jalv-1.6.8/src/control.c:45:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:45:3: note: Null pointer dereference jalv-1.6.8/src/control.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:46:3: note: Null pointer dereference jalv-1.6.8/src/control.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:47:3: note: Null pointer dereference jalv-1.6.8/src/control.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:48:3: note: Null pointer dereference jalv-1.6.8/src/control.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:49:3: note: Null pointer dereference jalv-1.6.8/src/control.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:50:3: note: Null pointer dereference jalv-1.6.8/src/control.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:51:3: note: Null pointer dereference jalv-1.6.8/src/control.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:52:3: note: Null pointer dereference jalv-1.6.8/src/control.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:53:3: note: Null pointer dereference jalv-1.6.8/src/control.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:54:3: note: Null pointer dereference jalv-1.6.8/src/control.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:56:3: note: Null pointer dereference jalv-1.6.8/src/control.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:41:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:41:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:59:3: note: Null pointer dereference jalv-1.6.8/src/control.c:130:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:130:3: note: Null pointer dereference jalv-1.6.8/src/control.c:131:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:131:3: note: Null pointer dereference jalv-1.6.8/src/control.c:132:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:132:3: note: Null pointer dereference jalv-1.6.8/src/control.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:133:3: note: Null pointer dereference jalv-1.6.8/src/control.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:134:3: note: Null pointer dereference jalv-1.6.8/src/control.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:136:3: note: Null pointer dereference jalv-1.6.8/src/control.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:137:3: note: Null pointer dereference jalv-1.6.8/src/control.c:138:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:138:3: note: Null pointer dereference jalv-1.6.8/src/control.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] jalv-1.6.8/src/control.c:129:37: note: Assuming allocation function fails jalv-1.6.8/src/control.c:129:19: note: Assignment 'id=(struct ControlID*)calloc(1,sizeof(struct ControlID))', assigned value is 0 jalv-1.6.8/src/control.c:139:3: note: Null pointer dereference jalv-1.6.8/src/zix/sem.h:202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_console.c:38:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_console.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_console.c:180:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_console.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_console.c:326:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/sem.h:183:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIX_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jack.c:92:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackTransportRolling [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jack.c:261:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackCaptureLatency [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jack.c:417:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackPortIsOutput [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jack.c:482:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JACK_LOAD_INIT_LIMIT [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:327:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_PATCH__writable [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:481:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_CORE__optionalFeature [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:520:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:669:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:763:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:869:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:895:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_ATOM__Float [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:934:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_ATOM__AtomPort [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:980:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_PATCH_PREFIX [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:993:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_URID__map [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:1041:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_OPTIONS_INSTANCE [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:1244:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_STATE__threadSafeRestore [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:118:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_STRING [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:256:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:482:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:564:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:607:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_EPSILON [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:658:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:674:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2UI_REQUEST_VALUE_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:845:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:905:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:961:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_EPSILON [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:1090:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:1145:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:1384:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:1395:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_gtk.c:1492:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jack.c:321:7: style: Condition '!client' is always true [knownConditionTrueFalse] jalv-1.6.8/src/jack.c:301:27: note: Assignment 'client=NULL', assigned value is 0 jalv-1.6.8/src/jack.c:321:7: note: Condition '!client' is always true jalv-1.6.8/src/jack.c:512:7: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jalv-1.6.8/src/jack.c:369:3: warning: If memory allocation fails, then there is a possible null pointer dereference: backend [nullPointerOutOfMemory] jalv-1.6.8/src/jack.c:368:53: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:368:33: note: Assignment 'backend=(struct JalvBackend*)calloc(1,sizeof(struct JalvBackend))', assigned value is 0 jalv-1.6.8/src/jack.c:369:3: note: Null pointer dereference jalv-1.6.8/src/jack.c:370:3: warning: If memory allocation fails, then there is a possible null pointer dereference: backend [nullPointerOutOfMemory] jalv-1.6.8/src/jack.c:368:53: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:368:33: note: Assignment 'backend=(struct JalvBackend*)calloc(1,sizeof(struct JalvBackend))', assigned value is 0 jalv-1.6.8/src/jack.c:370:3: note: Null pointer dereference jalv-1.6.8/src/jack.c:503:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] jalv-1.6.8/src/jack.c:502:39: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:502:26: note: Assignment 'cmd=(char*)calloc(cmd_len+1,1)', assigned value is 0 jalv-1.6.8/src/jack.c:503:10: note: Null pointer dereference jalv-1.6.8/src/jack.c:511:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] jalv-1.6.8/src/jack.c:502:39: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:502:26: note: Assignment 'cmd=(char*)calloc(cmd_len+1,1)', assigned value is 0 jalv-1.6.8/src/jack.c:511:17: note: Null pointer dereference jalv-1.6.8/src/jack.c:511:29: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] jalv-1.6.8/src/jack.c:502:39: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:502:26: note: Assignment 'cmd=(char*)calloc(cmd_len+1,1)', assigned value is 0 jalv-1.6.8/src/jack.c:511:29: note: Null pointer dereference jalv-1.6.8/src/jack.c:504:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] jalv-1.6.8/src/jack.c:502:39: note: Assuming allocation function fails jalv-1.6.8/src/jack.c:502:26: note: Assignment 'cmd=(char*)calloc(cmd_len+1,1)', assigned value is 0 jalv-1.6.8/src/jack.c:504:14: note: Null pointer addition jalv-1.6.8/src/jalv_gtk.c:80:24: 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] jalv-1.6.8/src/jalv_gtk.c:81:24: 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] jalv-1.6.8/src/jalv_gtk.c:310:5: error: Mismatching allocation and deallocation: title [mismatchAllocDealloc] jalv-1.6.8/src/jalv_gtk.c:308:32: note: Mismatching allocation and deallocation: title jalv-1.6.8/src/jalv_gtk.c:310:5: note: Mismatching allocation and deallocation: title jalv-1.6.8/src/jalv_gtk.c:491:3: error: Mismatching allocation and deallocation: dot_lv2 [mismatchAllocDealloc] jalv-1.6.8/src/jalv_gtk.c:489:19: note: Mismatching allocation and deallocation: dot_lv2 jalv-1.6.8/src/jalv_gtk.c:491:3: note: Mismatching allocation and deallocation: dot_lv2 jalv-1.6.8/src/jalv_gtk.c:352:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:351:41: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:351:22: note: Assignment 'menu=(struct PresetMenu*)malloc(sizeof(struct PresetMenu))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:352:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:353:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:351:41: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:351:22: note: Assignment 'menu=(struct PresetMenu*)malloc(sizeof(struct PresetMenu))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:353:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:353:65: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:351:41: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:351:22: note: Assignment 'menu=(struct PresetMenu*)malloc(sizeof(struct PresetMenu))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:353:65: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:354:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:351:41: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:351:22: note: Assignment 'menu=(struct PresetMenu*)malloc(sizeof(struct PresetMenu))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:354:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:355:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:351:41: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:351:22: note: Assignment 'menu=(struct PresetMenu*)malloc(sizeof(struct PresetMenu))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:355:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:428:3: warning: If memory allocation fails, then there is a possible null pointer dereference: record [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:427:47: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:427:26: note: Assignment 'record=(struct PresetRecord*)malloc(sizeof(struct PresetRecord))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:428:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:429:3: warning: If memory allocation fails, then there is a possible null pointer dereference: record [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:427:47: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:427:26: note: Assignment 'record=(struct PresetRecord*)malloc(sizeof(struct PresetRecord))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:429:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:946:3: warning: If memory allocation fails, then there is a possible null pointer dereference: controller [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:945:47: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:945:28: note: Assignment 'controller=(struct Controller*)malloc(sizeof(struct Controller))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:946:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:947:3: warning: If memory allocation fails, then there is a possible null pointer dereference: controller [nullPointerOutOfMemory] jalv-1.6.8/src/jalv_gtk.c:945:47: note: Assuming allocation function fails jalv-1.6.8/src/jalv_gtk.c:945:28: note: Assignment 'controller=(struct Controller*)malloc(sizeof(struct Controller))', assigned value is 0 jalv-1.6.8/src/jalv_gtk.c:947:3: note: Null pointer dereference jalv-1.6.8/src/jalv_gtk.c:1341:30: style:inconclusive: Function 'jalv_frontend_discover' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:29:30: note: Function 'jalv_frontend_discover' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1341:30: note: Function 'jalv_frontend_discover' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1347:34: style:inconclusive: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:33:34: note: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1347:34: note: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1362:34: style:inconclusive: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:37:34: note: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1362:34: note: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1564:27: style:inconclusive: Function 'jalv_frontend_close' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:49:27: note: Function 'jalv_frontend_close' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:1564:27: note: Function 'jalv_frontend_close' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_gtk.c:106:30: style: Parameter 'widget_unused' can be declared as pointer to const. However it seems that 'on_window_destroy' is a callback function, if 'widget_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:1497:3: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:106:30: note: Parameter 'widget_unused' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:106:59: style: Parameter 'data_unused' can be declared as pointer to const. However it seems that 'on_window_destroy' is a callback function, if 'data_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:1497:3: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:106:59: note: Parameter 'data_unused' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:377:53: style: Parameter 'data_unused' can be declared as pointer to const. However it seems that 'menu_cmp' is a callback function, if 'data_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:395:54: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:377:53: note: Parameter 'data_unused' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:417:13: style: Variable 'bank' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv_gtk.c:637:29: style: Parameter 'jalv' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_gtk.c:759:14: style: Variable 'control' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv_gtk.c:865:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'spin_changed' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:1046:5: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:865:44: note: Parameter 'data' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:885:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'log_spin_changed' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:1005:5: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:885:48: note: Parameter 'data' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:898:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'combo_changed' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_gtk.c:977:5: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_gtk.c:898:42: note: Parameter 'data' can be declared as pointer to const jalv-1.6.8/src/jalv_gtk.c:935:15: style: Variable 'control' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv_gtk.c:1341:30: style: Parameter 'jalv_unused' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_gtk.c:1564:27: style: Parameter 'jalv_unused' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_qt.cpp:129:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_LayoutHorizontalSpacing [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv_qt.cpp:139:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_LayoutVerticalSpacing [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/log.c:63:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/log.c:116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/log.c:39:10: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] jalv-1.6.8/src/log.c:38:36: note: Assuming allocation function fails jalv-1.6.8/src/log.c:38:23: note: Assignment 'copy=(char*)malloc(len+1)', assigned value is 0 jalv-1.6.8/src/log.c:39:10: note: Null pointer dereference jalv-1.6.8/src/log.c:50:10: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] jalv-1.6.8/src/log.c:48:37: note: Assuming allocation function fails jalv-1.6.8/src/log.c:48:24: note: Assignment 'out=(char*)malloc(a_len+b_len+1)', assigned value is 0 jalv-1.6.8/src/log.c:50:10: note: Null pointer dereference jalv-1.6.8/src/log.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] jalv-1.6.8/src/log.c:48:37: note: Assuming allocation function fails jalv-1.6.8/src/log.c:48:24: note: Assignment 'out=(char*)malloc(a_len+b_len+1)', assigned value is 0 jalv-1.6.8/src/log.c:52:3: note: Null pointer dereference jalv-1.6.8/src/log.c:51:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] jalv-1.6.8/src/log.c:48:37: note: Assuming allocation function fails jalv-1.6.8/src/log.c:48:24: note: Assignment 'out=(char*)malloc(a_len+b_len+1)', assigned value is 0 jalv-1.6.8/src/log.c:51:14: note: Null pointer addition jalv-1.6.8/src/log.c:130:23: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/log.c:141:23: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_qt.cpp:201:28: warning: Possible null pointer dereference: item [nullPointer] jalv-1.6.8/src/jalv_qt.cpp:199:23: note: Assignment 'item=nullptr', assigned value is 0 jalv-1.6.8/src/jalv_qt.cpp:200:3: note: Assuming container is not empty jalv-1.6.8/src/jalv_qt.cpp:201:28: note: Null pointer dereference jalv-1.6.8/src/jalv_qt.cpp:223:20: warning: Possible null pointer dereference: item [nullPointer] jalv-1.6.8/src/jalv_qt.cpp:221:23: note: Assignment 'item=nullptr', assigned value is 0 jalv-1.6.8/src/jalv_qt.cpp:222:3: note: Assuming container is not empty jalv-1.6.8/src/jalv_qt.cpp:223:20: note: Null pointer dereference jalv-1.6.8/src/jalv_qt.cpp:477:25: style:inconclusive: Function 'setRange' argument 1 names different: declaration 'min' definition 'minRange'. [funcArgNamesDifferent] jalv-1.6.8/src/jalv_qt.hpp:60:26: note: Function 'setRange' argument 1 names different: declaration 'min' definition 'minRange'. jalv-1.6.8/src/jalv_qt.cpp:477:25: note: Function 'setRange' argument 1 names different: declaration 'min' definition 'minRange'. jalv-1.6.8/src/jalv_qt.cpp:477:41: style:inconclusive: Function 'setRange' argument 2 names different: declaration 'max' definition 'maxRange'. [funcArgNamesDifferent] jalv-1.6.8/src/jalv_qt.hpp:60:37: note: Function 'setRange' argument 2 names different: declaration 'max' definition 'maxRange'. jalv-1.6.8/src/jalv_qt.cpp:477:41: note: Function 'setRange' argument 2 names different: declaration 'max' definition 'maxRange'. jalv-1.6.8/src/lv2_evbuf.c:26:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Sequence [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/lv2_evbuf.c:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Sequence_Body [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/lv2_evbuf.c:72:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Sequence_Body [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/lv2_evbuf.c:114:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Sequence [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/lv2_evbuf.c:141:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Sequence [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/lv2_evbuf.c:164:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:1274:15: style: Condition 'jalv->ui' is always true [knownConditionTrueFalse] jalv-1.6.8/src/jalv.c:781:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] jalv-1.6.8/src/portaudio.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_Atom_Object_Body [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/portaudio.c:104:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paNoError [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/portaudio.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paNoError [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/portaudio.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paNoError [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/jalv.c:243:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: default_values [nullPointerOutOfMemory] jalv-1.6.8/src/jalv.c:239:19: note: Assuming allocation function fails jalv-1.6.8/src/jalv.c:239:5: note: Assignment 'default_values=(float*)calloc(lilv_plugin_get_num_ports(jalv->plugin),sizeof(float))', assigned value is 0 jalv-1.6.8/src/jalv.c:243:26: note: Null pointer dereference jalv-1.6.8/src/jalv.c:131:28: style: Parameter 'jalv' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv.c:425:27: style: Parameter 'jalv' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv.c:425:67: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv.c:633:45: style: Parameter 'jalv' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv.c:786:14: style: Variable 'control' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv.c:1394:16: style: Variable 'control' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv.c:1396:20: style: Variable 'port' can be declared as pointer to const [constVariablePointer] jalv-1.6.8/src/jalv.c:579:15: style: struct member 'Anonymous0::body' is never used. [unusedStructMember] jalv-1.6.8/src/jalv.c:664:19: style: struct member 'Header::change' is never used. [unusedStructMember] jalv-1.6.8/src/state.c:65:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_STATE_IS_POD [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/state.c:83:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/state.c:112:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/state.c:221:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_STATE_IS_POD [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/portaudio.c:163:3: warning: If memory allocation fails, then there is a possible null pointer dereference: backend [nullPointerOutOfMemory] jalv-1.6.8/src/portaudio.c:162:46: note: Assuming allocation function fails jalv-1.6.8/src/portaudio.c:162:26: note: Assignment 'backend=(struct JalvBackend*)calloc(1,sizeof(struct JalvBackend))', assigned value is 0 jalv-1.6.8/src/portaudio.c:163:3: note: Null pointer dereference jalv-1.6.8/src/jalv_console.c:321:7: style: Condition '!jalv_run_custom_ui(jalv)' is always true [knownConditionTrueFalse] jalv-1.6.8/src/jalv_console.c:321:26: note: Calling function 'jalv_run_custom_ui' returns 0 jalv-1.6.8/src/jalv_console.c:321:7: note: Condition '!jalv_run_custom_ui(jalv)' is always true jalv-1.6.8/src/jalv_console.c:300:34: style:inconclusive: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:33:34: note: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_console.c:300:34: note: Function 'jalv_frontend_refresh_rate' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_console.c:306:34: style:inconclusive: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. [funcArgNamesDifferent] jalv-1.6.8/src/frontend.h:37:34: note: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_console.c:306:34: note: Function 'jalv_frontend_scale_factor' argument 1 names different: declaration 'jalv' definition 'jalv_unused'. jalv-1.6.8/src/jalv_console.c:91:25: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_console.c:184:35: style: Parameter 'jalv_unused' can be declared as pointer to const. However it seems that 'jalv_print_preset' is a callback function, if 'jalv_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_console.c:212:29: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_console.c:184:35: note: Parameter 'jalv_unused' can be declared as pointer to const jalv-1.6.8/src/jalv_console.c:187:35: style: Parameter 'data_unused' can be declared as pointer to const. However it seems that 'jalv_print_preset' is a callback function, if 'data_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_console.c:212:29: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_console.c:187:35: note: Parameter 'data_unused' can be declared as pointer to const jalv-1.6.8/src/jalv_console.c:300:34: style: Parameter 'jalv_unused' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/jalv_console.c:306:34: style: Parameter 'jalv_unused' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/worker.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_WORKER_ERR_NO_SPACE [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/worker.c:182:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LV2_WORKER_SUCCESS [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_ACQUIRE [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELEASE [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:82:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZixRing [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIX_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:264:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIX_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] jalv-1.6.8/src/zix/ring.c:110:31: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] jalv-1.6.8/src/symap.c:151:5: error: Memory leak: new_symbols [memleak] jalv-1.6.8/src/symap.c:67:10: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] jalv-1.6.8/src/symap.c:66:36: note: Assuming allocation function fails jalv-1.6.8/src/symap.c:66:23: note: Assignment 'copy=(char*)malloc(len+1)', assigned value is 0 jalv-1.6.8/src/symap.c:67:10: note: Null pointer dereference jalv-1.6.8/src/symap.c:91:18: style: Variable 'cmp' is assigned a value that is never used. [unreadVariable] diff: head jalv-1.6.8/src/jalv_console.c:184:35: style: Parameter 'jalv_unused' can be declared as pointer to const. However it seems that 'jalv_print_preset' is a callback function, if 'jalv_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_console.c:212:29: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_console.c:184:35: note: Parameter 'jalv_unused' can be declared as pointer to const head jalv-1.6.8/src/jalv_console.c:187:35: style: Parameter 'data_unused' can be declared as pointer to const. However it seems that 'jalv_print_preset' is a callback function, if 'data_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jalv-1.6.8/src/jalv_console.c:212:29: note: You might need to cast the function pointer here jalv-1.6.8/src/jalv_console.c:187:35: note: Parameter 'data_unused' can be declared as pointer to const DONE