2026-05-01 23:44 ftp://ftp.de.debian.org/debian/pool/main/f/fuzzel/fuzzel_1.12.0+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --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: 263 262 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: fuzzel/char32.c:33:3: error: #error "char32_t does not use UTF-32" [preprocessorErrorDirective] fuzzel/application.h:26:1: debug: Failed to parse 'typedef tll ( struct rasterized ) rasterized_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/debug.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fuzzel/application.h:54:1: debug: Failed to parse 'typedef tll ( char32_t * ) char32_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/debug.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fuzzel/application.h:55:1: debug: Failed to parse 'typedef tll ( char * ) char_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/xmalloc.h:33:12: warning: If memory allocation fails, then there is a possible null pointer dereference: joined [nullPointerOutOfMemory] fuzzel/xmalloc.h:32:27: note: Assuming allocation function fails fuzzel/xmalloc.h:32:27: note: Assignment 'joined=xmalloc(n1+n2+1)', assigned value is 0 fuzzel/xmalloc.h:33:12: note: Null pointer dereference fuzzel/xmalloc.h:45:12: warning: If memory allocation fails, then there is a possible null pointer dereference: joined [nullPointerOutOfMemory] fuzzel/xmalloc.h:44:27: note: Assuming allocation function fails fuzzel/xmalloc.h:44:27: note: Assignment 'joined=xmalloc(n1+n2+n3+1)', assigned value is 0 fuzzel/xmalloc.h:45:12: note: Null pointer dereference fuzzel/column.c:45:16: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fuzzel/column.c:44:25: note: Assuming allocation function fails fuzzel/column.c:44:25: note: Assignment 'result=xmalloc((len+1)*sizeof(char32_t))', assigned value is 0 fuzzel/column.c:45:16: note: Null pointer dereference fuzzel/column.c:46:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fuzzel/column.c:44:25: note: Assuming allocation function fails fuzzel/column.c:44:25: note: Assignment 'result=xmalloc((len+1)*sizeof(char32_t))', assigned value is 0 fuzzel/column.c:46:9: note: Null pointer dereference fuzzel/xmalloc.h:34:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/xmalloc.h:32:27: note: Assuming allocation function fails fuzzel/xmalloc.h:32:27: note: Assignment 'joined=xmalloc(n1+n2+1)', assigned value is 0 fuzzel/xmalloc.h:34:19: note: Null pointer addition fuzzel/xmalloc.h:46:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/xmalloc.h:44:27: note: Assuming allocation function fails fuzzel/xmalloc.h:44:27: note: Assignment 'joined=xmalloc(n1+n2+n3+1)', assigned value is 0 fuzzel/xmalloc.h:46:19: note: Null pointer addition fuzzel/xmalloc.h:47:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/xmalloc.h:44:27: note: Assuming allocation function fails fuzzel/xmalloc.h:44:27: note: Assignment 'joined=xmalloc(n1+n2+n3+1)', assigned value is 0 fuzzel/xmalloc.h:47:19: note: Null pointer addition fuzzel/xmalloc.h:59:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/xmalloc.h:57:31: note: Assuming allocation function fails fuzzel/xmalloc.h:57:31: note: Assignment 'joined=xmalloc((n1+n2+n3+1)*sizeof(char32_t))', assigned value is 0 fuzzel/xmalloc.h:59:22: note: Null pointer addition fuzzel/xmalloc.h:60:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/xmalloc.h:57:31: note: Assuming allocation function fails fuzzel/xmalloc.h:57:31: note: Assignment 'joined=xmalloc((n1+n2+n3+1)*sizeof(char32_t))', assigned value is 0 fuzzel/xmalloc.h:60:22: note: Null pointer addition fuzzel/column.c:16:28: style:inconclusive: Function 'nth_column' argument 1 names different: declaration 'column' definition 'string'. [funcArgNamesDifferent] fuzzel/column.h:4:38: note: Function 'nth_column' argument 1 names different: declaration 'column' definition 'string'. fuzzel/column.c:16:28: note: Function 'nth_column' argument 1 names different: declaration 'column' definition 'string'. fuzzel/config.h:206:1: debug: Failed to parse 'typedef tll ( char * ) config_override_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/event.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/key-binding.h:63:1: debug: Failed to parse 'typedef tll ( xkb_keycode_t ) xkb_keycode_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/key-binding.h:82:1: debug: Failed to parse 'typedef tll ( struct key_binding ) key_binding_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/dmenu.c:29:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entries [valueFlowBailoutIncompleteVar] fuzzel/application.c:220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] fuzzel/application.c:302:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] fuzzel/application.c:361:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.h:29:1: debug: Failed to parse 'typedef tll ( struct icon_theme ) icon_theme_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/xdg.h:12:1: debug: Failed to parse 'typedef tll ( struct xdg_data_dir ) xdg_data_dirs_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/icon.c:35:1: debug: Failed to parse 'typedef tll ( char * ) theme_names_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/fdm.c:35:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CLOEXEC [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:83:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:113:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:160:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:173:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:187:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/fdm.c:42:6: warning: If memory allocation fails, then there is a possible null pointer dereference: fdm [nullPointerOutOfMemory] fuzzel/fdm.c:41:30: note: Assuming allocation function fails fuzzel/fdm.c:41:30: note: Assignment 'fdm=xmalloc(sizeof(*fdm))', assigned value is 0 fuzzel/fdm.c:42:6: note: Null pointer dereference fuzzel/fdm.c:82:6: warning: If memory allocation fails, then there is a possible null pointer dereference: fd_data [nullPointerOutOfMemory] fuzzel/fdm.c:81:38: note: Assuming allocation function fails fuzzel/fdm.c:81:38: note: Assignment 'fd_data=xmalloc(sizeof(*fd_data))', assigned value is 0 fuzzel/fdm.c:82:6: note: Null pointer dereference fuzzel/fdm.c:70:75: style:inconclusive: Function 'fdm_add' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] fuzzel/fdm.c:150:26: style: Parameter 'fdm' can be declared as pointer to const [constParameterPointer] fuzzel/clipboard.c:261:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_offer [valueFlowBailoutIncompleteVar] fuzzel/clipboard.c:390:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLHUP [valueFlowBailoutIncompleteVar] fuzzel/clipboard.c:505:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLHUP [valueFlowBailoutIncompleteVar] fuzzel/clipboard.c:600:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] fuzzel/clipboard.c:667:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] fuzzel/clipboard.c:705:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] fuzzel/dmenu.c:168:14: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] fuzzel/dmenu.c:167:46: note: Assuming allocation function fails fuzzel/dmenu.c:167:46: note: Assignment 'app=xmalloc(sizeof(*app))', assigned value is 0 fuzzel/dmenu.c:168:14: note: Null pointer dereference fuzzel/key-binding.c:17:1: debug: Failed to parse 'typedef tll ( struct key_set ) bind_set_list_t ;'. The checking continues anyway. [simplifyTypedef] fuzzel/icon.c:76:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:196:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] fuzzel/icon.c:211:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:224:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:250:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fuzzel/icon.c:337:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:472:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/icon.c:550:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icons [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:85:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:212:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkb_mod_mask_t [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:247:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_MOD_NAME_SHIFT [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:318:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:329:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:346:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/key-binding.c:365:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/log.c:37:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] fuzzel/log.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fuzzel/log.c:149:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/log.c:33:28: style:inconclusive: Function 'log_init' argument 1 names different: declaration 'colorize' definition '_colorize'. [funcArgNamesDifferent] fuzzel/log.h:22:33: note: Function 'log_init' argument 1 names different: declaration 'colorize' definition '_colorize'. fuzzel/log.c:33:28: note: Function 'log_init' argument 1 names different: declaration 'colorize' definition '_colorize'. fuzzel/log.c:33:44: style:inconclusive: Function 'log_init' argument 2 names different: declaration 'do_syslog' definition '_do_syslog'. [funcArgNamesDifferent] fuzzel/log.h:22:48: note: Function 'log_init' argument 2 names different: declaration 'do_syslog' definition '_do_syslog'. fuzzel/log.c:33:44: note: Function 'log_init' argument 2 names different: declaration 'do_syslog' definition '_do_syslog'. fuzzel/log.c:34:60: style:inconclusive: Function 'log_init' argument 4 names different: declaration 'log_level' definition '_log_level'. [funcArgNamesDifferent] fuzzel/log.h:23:65: note: Function 'log_init' argument 4 names different: declaration 'log_level' definition '_log_level'. fuzzel/log.c:34:60: note: Function 'log_init' argument 4 names different: declaration 'log_level' definition '_log_level'. fuzzel/log.c:165:57: style:inconclusive: Function 'log_errno_provided_va' argument 5 names different: declaration '_errno' definition 'errno_copy'. [funcArgNamesDifferent] fuzzel/log.h:45:39: note: Function 'log_errno_provided_va' argument 5 names different: declaration '_errno' definition 'errno_copy'. fuzzel/log.c:165:57: note: Function 'log_errno_provided_va' argument 5 names different: declaration '_errno' definition 'errno_copy'. fuzzel/log.c:177:54: style:inconclusive: Function 'log_errno_provided' argument 5 names different: declaration '_errno' definition 'errno_copy'. [funcArgNamesDifferent] fuzzel/log.h:36:39: note: Function 'log_errno_provided' argument 5 names different: declaration '_errno' definition 'errno_copy'. fuzzel/log.c:177:54: note: Function 'log_errno_provided' argument 5 names different: declaration '_errno' definition 'errno_copy'. fuzzel/clipboard.c:259:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] fuzzel/clipboard.c:258:38: note: Assuming allocation function fails fuzzel/clipboard.c:258:38: note: Assignment 'ctx=xmalloc(sizeof(*ctx))', assigned value is 0 fuzzel/clipboard.c:259:6: note: Null pointer dereference fuzzel/clipboard.c:620:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] fuzzel/clipboard.c:619:18: note: Assuming allocation function fails fuzzel/clipboard.c:619:18: note: Assignment 'ctx=xmalloc(sizeof(*ctx))', assigned value is 0 fuzzel/clipboard.c:620:6: note: Null pointer dereference fuzzel/clipboard.c:594:54: style:inconclusive: Function 'begin_receive_clipboard' argument 5 names different: declaration '' definition 'done_cb'. [funcArgNamesDifferentUnnamed] fuzzel/clipboard.c:594:69: style:inconclusive: Function 'begin_receive_clipboard' argument 6 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] fuzzel/clipboard.c:150:22: style: Parameter 'data' can be declared as pointer to const. However it seems that 'source_actions' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:162:24: note: You might need to cast the function pointer here fuzzel/clipboard.c:150:22: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:150:50: style: Parameter 'wl_data_offer' can be declared as pointer to const. However it seems that 'source_actions' is a callback function, if 'wl_data_offer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:162:24: note: You might need to cast the function pointer here fuzzel/clipboard.c:150:50: note: Parameter 'wl_data_offer' can be declared as pointer to const fuzzel/clipboard.c:156:20: style: Parameter 'data' can be declared as pointer to const. However it seems that 'offer_action' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:163:16: note: You might need to cast the function pointer here fuzzel/clipboard.c:156:20: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:156:48: style: Parameter 'wl_data_offer' can be declared as pointer to const. However it seems that 'offer_action' is a callback function, if 'wl_data_offer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:163:16: note: You might need to cast the function pointer here fuzzel/clipboard.c:156:48: note: Parameter 'wl_data_offer' can be declared as pointer to const fuzzel/clipboard.c:211:13: style: Parameter 'data' can be declared as pointer to const. However it seems that 'leave' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:339:15: note: You might need to cast the function pointer here fuzzel/clipboard.c:211:13: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:211:42: style: Parameter 'wl_data_device' can be declared as pointer to const. However it seems that 'leave' is a callback function, if 'wl_data_device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:339:15: note: You might need to cast the function pointer here fuzzel/clipboard.c:211:42: note: Parameter 'wl_data_device' can be declared as pointer to const fuzzel/clipboard.c:216:14: style: Parameter 'data' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:340:16: note: You might need to cast the function pointer here fuzzel/clipboard.c:216:14: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:216:43: style: Parameter 'wl_data_device' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'wl_data_device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:340:16: note: You might need to cast the function pointer here fuzzel/clipboard.c:216:43: note: Parameter 'wl_data_device' can be declared as pointer to const fuzzel/clipboard.c:296:33: style: Parameter 'offer' can be declared as pointer to const. However it seems that 'selection' is a callback function, if 'offer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:342:19: note: You might need to cast the function pointer here fuzzel/clipboard.c:296:33: note: Parameter 'offer' can be declared as pointer to const fuzzel/clipboard.c:330:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'primary_selection' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:347:19: note: You might need to cast the function pointer here fuzzel/clipboard.c:330:25: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:331:59: style: Parameter 'zwp_primary_selection_device' can be declared as pointer to const. However it seems that 'primary_selection' is a callback function, if 'zwp_primary_selection_device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:347:19: note: You might need to cast the function pointer here fuzzel/clipboard.c:331:59: note: Parameter 'zwp_primary_selection_device' can be declared as pointer to const fuzzel/clipboard.c:332:58: style: Parameter 'offer' can be declared as pointer to const. However it seems that 'primary_selection' is a callback function, if 'offer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:347:19: note: You might need to cast the function pointer here fuzzel/clipboard.c:332:58: note: Parameter 'offer' can be declared as pointer to const fuzzel/clipboard.c:419:52: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'fdm_receive_finish_plain' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:631:23: note: You might need to cast the function pointer here fuzzel/clipboard.c:419:52: note: Parameter 'ctx' can be declared as pointer to const fuzzel/clipboard.c:459:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'fdm_receive_decoder_uri' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/clipboard.c:627:24: note: You might need to cast the function pointer here fuzzel/clipboard.c:459:62: note: Parameter 'data' can be declared as pointer to const fuzzel/clipboard.c:729:26: style: Variable 'clipboard' can be declared as pointer to const [constVariablePointer] fuzzel/clipboard.c:743:24: style: Variable 'primary' can be declared as pointer to const [constVariablePointer] fuzzel/config.c:197:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fuzzel/config.c:255:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] fuzzel/config.c:335:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combo [valueFlowBailoutIncompleteVar] fuzzel/config.c:407:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_MOD_NAME_CTRL [valueFlowBailoutIncompleteVar] fuzzel/config.c:502:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/config.c:638:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/config.c:657:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/config.c:983:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWLR_LAYER_SHELL_V1_LAYER_TOP [valueFlowBailoutIncompleteVar] fuzzel/config.c:1290:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/config.c:1430:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/config.c:1483:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_KEY_Escape [valueFlowBailoutIncompleteVar] fuzzel/config.c:1590:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] fuzzel/config.c:1740:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] fuzzel/path.c:31:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entries [valueFlowBailoutIncompleteVar] fuzzel/application.c:161:14: warning: If memory allocation fails, then there is a possible null pointer dereference: unescaped [nullPointerOutOfMemory] fuzzel/application.c:160:26: note: Assuming allocation function fails fuzzel/application.c:160:26: note: Assignment 'unescaped=xmalloc(launch_len+execute_len+2)', assigned value is 0 fuzzel/application.c:161:14: note: Null pointer dereference fuzzel/application.c:162:7: warning: If memory allocation fails, then there is a possible null pointer dereference: unescaped [nullPointerOutOfMemory] fuzzel/application.c:160:26: note: Assuming allocation function fails fuzzel/application.c:160:26: note: Assignment 'unescaped=xmalloc(launch_len+execute_len+2)', assigned value is 0 fuzzel/application.c:162:7: note: Null pointer dereference fuzzel/application.c:163:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fuzzel/application.c:160:26: note: Assuming allocation function fails fuzzel/application.c:160:26: note: Assignment 'unescaped=xmalloc(launch_len+execute_len+2)', assigned value is 0 fuzzel/application.c:163:32: note: Null pointer addition fuzzel/application.c:139:18: style: Local variable 'c32len' shadows outer function [shadowFunction] fuzzel/char32.h:9:8: note: Shadowed declaration fuzzel/application.c:139:18: note: Shadow variable fuzzel/path.c:68:21: style: Condition 'already_exist' is always false [knownConditionTrueFalse] fuzzel/path.c:61:38: note: Assignment 'already_exist=false', assigned value is 0 fuzzel/path.c:63:57: note: Assuming condition is false fuzzel/path.c:68:21: note: Condition 'already_exist' is always false fuzzel/path.c:78:18: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] fuzzel/path.c:77:50: note: Assuming allocation function fails fuzzel/path.c:77:50: note: Assignment 'app=xmalloc(sizeof(*app))', assigned value is 0 fuzzel/path.c:78:18: note: Null pointer dereference fuzzel/icon.c:461:23: style: The statement 'if (icon->svg!=NULL) icon->svg=NULL' is logically equivalent to 'icon->svg=NULL'. [duplicateConditionalAssign] fuzzel/icon.c:467:23: note: Assignment 'icon->svg=NULL' fuzzel/icon.c:461:23: note: Condition 'icon->svg!=NULL' is redundant fuzzel/icon.c:565:24: style: Condition 'svg(&app->icon,app->icon.name)' is always true [knownConditionTrueFalse] fuzzel/icon.c:565:24: note: Calling function 'svg' returns 1 fuzzel/icon.c:565:24: note: Condition 'svg(&app->icon,app->icon.name)' is always true fuzzel/icon.c:571:24: style: Condition 'png(&app->icon,app->icon.name)' is always true [knownConditionTrueFalse] fuzzel/icon.c:571:24: note: Calling function 'png' returns 1 fuzzel/icon.c:571:24: note: Condition 'png(&app->icon,app->icon.name)' is always true fuzzel/icon.c:688:25: style: Condition '!icon_file_exists(dir_fd,path,len)' is always true [knownConditionTrueFalse] fuzzel/icon.c:688:42: note: Calling function 'icon_file_exists' returns 0 fuzzel/icon.c:688:25: note: Condition '!icon_file_exists(dir_fd,path,len)' is always true fuzzel/icon.c:707:29: style: Condition 'svg(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:707:29: note: Calling function 'svg' returns 1 fuzzel/icon.c:707:29: note: Condition 'svg(&icon->app->icon,full_path)' is always true fuzzel/icon.c:709:29: style: Condition 'png(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:709:29: note: Calling function 'png' returns 1 fuzzel/icon.c:709:29: note: Condition 'png(&icon->app->icon,full_path)' is always true fuzzel/icon.c:749:21: style: Condition 'svg(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:749:21: note: Calling function 'svg' returns 1 fuzzel/icon.c:749:21: note: Condition 'svg(&icon->app->icon,full_path)' is always true fuzzel/icon.c:751:21: style: Condition 'png(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:751:21: note: Calling function 'png' returns 1 fuzzel/icon.c:751:21: note: Condition 'png(&icon->app->icon,full_path)' is always true fuzzel/icon.c:775:17: style: Condition '!icon_file_exists(it->item.fd,path,len)' is always true [knownConditionTrueFalse] fuzzel/icon.c:775:34: note: Calling function 'icon_file_exists' returns 0 fuzzel/icon.c:775:17: note: Condition '!icon_file_exists(it->item.fd,path,len)' is always true fuzzel/icon.c:782:44: style: Condition 'svg(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:782:44: note: Calling function 'svg' returns 1 fuzzel/icon.c:782:44: note: Condition 'svg(&icon->app->icon,full_path)' is always true fuzzel/icon.c:788:44: style: Condition 'png(&icon->app->icon,full_path)' is always true [knownConditionTrueFalse] fuzzel/icon.c:788:44: note: Calling function 'png' returns 1 fuzzel/icon.c:788:44: note: Condition 'png(&icon->app->icon,full_path)' is always true fuzzel/icon.c:101:20: warning: If memory allocation fails, then there is a possible null pointer dereference: section [nullPointerOutOfMemory] fuzzel/icon.c:100:30: note: Assuming allocation function fails fuzzel/icon.c:100:30: note: Assignment 'section=xmalloc(len-2+1)', assigned value is 0 fuzzel/icon.c:101:20: note: Null pointer dereference fuzzel/icon.c:102:13: warning: If memory allocation fails, then there is a possible null pointer dereference: section [nullPointerOutOfMemory] fuzzel/icon.c:100:30: note: Assuming allocation function fails fuzzel/icon.c:100:30: note: Assignment 'section=xmalloc(len-2+1)', assigned value is 0 fuzzel/icon.c:102:13: note: Null pointer dereference fuzzel/icon.c:367:28: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] fuzzel/icon.c:411:28: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] fuzzel/icon.c:498:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] fuzzel/prompt.c:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable placeholder [valueFlowBailoutIncompleteVar] fuzzel/prompt.c:28:6: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt [nullPointerOutOfMemory] fuzzel/prompt.c:27:36: note: Assuming allocation function fails fuzzel/prompt.c:27:36: note: Assignment 'prompt=xmalloc(sizeof(*prompt))', assigned value is 0 fuzzel/prompt.c:28:6: note: Null pointer dereference fuzzel/prompt.c:93:30: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] fuzzel/shm.c:190:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deferred [valueFlowBailoutIncompleteVar] fuzzel/shm.c:202:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] fuzzel/shm.c:223:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] fuzzel/shm.c:286:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_XRGB8888 [valueFlowBailoutIncompleteVar] fuzzel/shm.c:395:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_x8r8g8b8 [valueFlowBailoutIncompleteVar] fuzzel/shm.c:625:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/shm.c:990:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/shm.c:1012:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/shm.c:1027:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bufs [valueFlowBailoutIncompleteVar] fuzzel/shm.c:1044:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/uri.c:270:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _POSIX_HOST_NAME_MAX [valueFlowBailoutIncompleteVar] fuzzel/main.c:89:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] fuzzel/main.c:216:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] fuzzel/main.c:290:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZEL_VERSION [valueFlowBailoutIncompleteVar] fuzzel/main.c:452:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/main.c:498:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] fuzzel/main.c:675:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fuzzel/main.c:751:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] fuzzel/shm.c:579:9: style: Condition '!(bufs[0]&&shm_can_scroll(bufs[0]))' is always true [knownConditionTrueFalse] fuzzel/shm.c:579:36: note: Calling function 'shm_can_scroll' returns 0 fuzzel/shm.c:579:9: note: Condition '!(bufs[0]&&shm_can_scroll(bufs[0]))' is always true fuzzel/shm.c:646:28: style: Condition 'cached==NULL' is always true [knownConditionTrueFalse] fuzzel/shm.c:624:37: note: Assignment 'cached=NULL', assigned value is 0 fuzzel/shm.c:628:72: note: Assuming condition is false fuzzel/shm.c:646:28: note: Condition 'cached==NULL' is always true fuzzel/shm.c:264:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:264:12: note: Null pointer dereference fuzzel/shm.c:265:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:265:12: note: Null pointer dereference fuzzel/shm.c:266:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:266:12: note: Null pointer dereference fuzzel/shm.c:267:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:267:12: note: Null pointer dereference fuzzel/shm.c:269:38: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:269:38: note: Null pointer dereference fuzzel/shm.c:273:36: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:273:36: note: Null pointer dereference fuzzel/shm.c:285:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:285:9: note: Null pointer dereference fuzzel/shm.c:285:28: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:285:28: note: Null pointer dereference fuzzel/shm.c:285:48: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:285:48: note: Null pointer dereference fuzzel/shm.c:286:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:548:33: note: Calling function 'instantiate_offset', 1st argument 'buf' value is 0 fuzzel/shm.c:286:9: note: Null pointer dereference fuzzel/shm.c:514:6: warning: If memory allocation fails, then there is a possible null pointer dereference: pool [nullPointerOutOfMemory] fuzzel/shm.c:513:19: note: Assuming allocation function fails fuzzel/shm.c:513:19: note: Assignment 'pool=xmalloc(sizeof(*pool))', assigned value is 0 fuzzel/shm.c:514:6: note: Null pointer dereference fuzzel/shm.c:530:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fuzzel/shm.c:529:45: note: Assuming allocation function fails fuzzel/shm.c:529:45: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 fuzzel/shm.c:530:10: note: Null pointer dereference fuzzel/shm.c:1026:6: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] fuzzel/shm.c:1025:41: note: Assuming allocation function fails fuzzel/shm.c:1025:41: note: Assignment 'chain=xmalloc(sizeof(*chain))', assigned value is 0 fuzzel/shm.c:1026:6: note: Null pointer dereference fuzzel/shm.c:105:29: style:inconclusive: Function 'shm_set_max_pool_size' argument 1 names different: declaration 'max_pool_size' definition '_max_pool_size'. [funcArgNamesDifferent] fuzzel/shm.h:49:34: note: Function 'shm_set_max_pool_size' argument 1 names different: declaration 'max_pool_size' definition '_max_pool_size'. fuzzel/shm.c:105:29: note: Function 'shm_set_max_pool_size' argument 1 names different: declaration 'max_pool_size' definition '_max_pool_size'. fuzzel/shm.c:602:36: style:inconclusive: Function 'shm_did_not_use_buf' argument 1 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] fuzzel/shm.h:86:41: note: Function 'shm_did_not_use_buf' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:602:36: note: Function 'shm_did_not_use_buf' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:686:37: style:inconclusive: Function 'shm_can_scroll' argument 1 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] fuzzel/shm.h:88:42: note: Function 'shm_can_scroll' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:686:37: note: Function 'shm_can_scroll' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:965:27: style:inconclusive: Function 'shm_scroll' argument 1 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] fuzzel/shm.h:89:32: note: Function 'shm_scroll' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:965:27: note: Function 'shm_scroll' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:997:27: style:inconclusive: Function 'shm_addref' argument 1 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] fuzzel/shm.h:93:32: note: Function 'shm_addref' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:997:27: note: Function 'shm_addref' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:1004:26: style:inconclusive: Function 'shm_unref' argument 1 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] fuzzel/shm.h:94:31: note: Function 'shm_unref' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:1004:26: note: Function 'shm_unref' argument 1 names different: declaration 'buf' definition '_buf'. fuzzel/shm.c:212:46: style: Parameter 'wl_buffer' can be declared as pointer to const. However it seems that 'buffer_release' is a callback function, if 'wl_buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fuzzel/shm.c:239:17: note: You might need to cast the function pointer here fuzzel/shm.c:212:46: note: Parameter 'wl_buffer' can be declared as pointer to const fuzzel/shm.c:374:47: style: Parameter 'heights' can be declared as const array [constParameter] fuzzel/shm.c:965:27: style: Parameter '_buf' can be declared as pointer to const [constParameterPointer] fuzzel/render.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] fuzzel/render.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_OP_SRC [valueFlowBailoutIncompleteVar] fuzzel/render.c:234:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_a8r8g8b8 [valueFlowBailoutIncompleteVar] fuzzel/render.c:283:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCFT_SUBPIXEL_NONE [valueFlowBailoutIncompleteVar] fuzzel/render.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_OP_SRC [valueFlowBailoutIncompleteVar] fuzzel/render.c:420:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCFT_SUBPIXEL_NONE [valueFlowBailoutIncompleteVar] fuzzel/render.c:601:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCFT_CAPABILITY_TEXT_RUN_SHAPING [valueFlowBailoutIncompleteVar] fuzzel/render.c:950:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_OP_SRC [valueFlowBailoutIncompleteVar] fuzzel/render.c:967:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAN_OP_OVER [valueFlowBailoutIncompleteVar] fuzzel/render.c:979:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCFT_SUBPIXEL_NONE [valueFlowBailoutIncompleteVar] fuzzel/render.c:1108:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thrd_success [valueFlowBailoutIncompleteVar] fuzzel/render.c:1172:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] fuzzel/render.c:1241:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conf [valueFlowBailoutIncompleteVar] fuzzel/match.c:177:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] fuzzel/match.c:196:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIRST [valueFlowBailoutIncompleteVar] fuzzel/match.c:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLHUP [valueFlowBailoutIncompleteVar] fuzzel/match.c:373:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable applications [valueFlowBailoutIncompleteVar] fuzzel/match.c:1108:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] fuzzel/match.c:1302:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] fuzzel/match.c:1405:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] fuzzel/uri.c:199:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fuzzel/uri.c:180:32: note: Assuming allocation function fails fuzzel/uri.c:180:32: note: Assignment 'decoded=xmalloc(path_len+1)', assigned value is 0 fuzzel/uri.c:181:19: note: Assignment 'p=decoded', assigned value is 0 fuzzel/uri.c:190:22: note: Assuming condition is false fuzzel/uri.c:199:20: note: Null pointer dereference fuzzel/uri.c:192:29: style: Variable 'decoded_len' is assigned a value that is never used. [unreadVariable] fuzzel/wayland.c:1837:9: error: There is an unknown macro here somewhere. Configuration is required. If tll_foreach is a macro then please configure it. [unknownMacro] fuzzel/xdg.c:180:25: error: There is an unknown macro here somewhere. Configuration is required. If tll_foreach is a macro then please configure it. [unknownMacro] fuzzel/xsnprintf.c:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:21:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:42:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:73:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fuzzel/xmalloc.c:76:27: warning: Either the condition 'n==2147483647' is redundant or there is signed integer overflow for expression 'n+1'. [integerOverflowCond] fuzzel/xmalloc.c:72:9: note: Assuming that condition 'n==2147483647' is not redundant fuzzel/xmalloc.c:76:27: note: Integer overflow fuzzel/xmalloc.c:77:34: warning: Either the condition 'n==2147483647' is redundant or there is signed integer overflow for expression 'n+1'. [integerOverflowCond] fuzzel/xmalloc.c:72:9: note: Assuming that condition 'n==2147483647' is not redundant fuzzel/xmalloc.c:77:34: note: Integer overflow fuzzel/main.c:991:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/main.c:993:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/main.c:153:9: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fuzzel/main.c:1890:9: error: Memory leak: conf.cache_path [memleak] fuzzel/main.c:539:24: style: Variable 'desktop' can be declared as pointer to const [constVariablePointer] fuzzel/render.c:1329:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] fuzzel/render.c:333:9: warning: If memory allocation fails, then there is a possible null pointer dereference: x_kern [nullPointerOutOfMemory] fuzzel/render.c:328:27: note: Assuming allocation function fails fuzzel/render.c:328:27: note: Assignment 'x_kern=xmalloc(chars*sizeof(x_kern[0]))', assigned value is 0 fuzzel/render.c:333:9: note: Null pointer dereference fuzzel/render.c:337:9: warning: If memory allocation fails, then there is a possible null pointer dereference: glyphs [nullPointerOutOfMemory] fuzzel/render.c:327:47: note: Assuming allocation function fails fuzzel/render.c:327:47: note: Assignment 'glyphs=xmalloc(chars*sizeof(glyphs[0]))', assigned value is 0 fuzzel/render.c:337:9: note: Null pointer dereference fuzzel/config.c:213:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/config.c:215:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/config.c:812:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/config.c:814:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fuzzel/render.c:1240:6: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1240:6: note: Null pointer dereference fuzzel/render.c:1245:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1245:5: note: Null pointer dereference fuzzel/render.c:1245:48: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1245:48: note: Null pointer dereference fuzzel/render.c:1246:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1246:5: note: Null pointer dereference fuzzel/render.c:1246:44: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1246:44: note: Null pointer dereference fuzzel/render.c:1247:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1247:5: note: Null pointer dereference fuzzel/render.c:1247:42: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1247:42: note: Null pointer dereference fuzzel/render.c:1248:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1248:5: note: Null pointer dereference fuzzel/render.c:1248:44: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1248:44: note: Null pointer dereference fuzzel/render.c:1249:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1249:5: note: Null pointer dereference fuzzel/render.c:1249:43: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1249:43: note: Null pointer dereference fuzzel/render.c:1250:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1250:5: note: Null pointer dereference fuzzel/render.c:1250:43: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1250:43: note: Null pointer dereference fuzzel/render.c:1251:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1251:5: note: Null pointer dereference fuzzel/render.c:1251:47: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1251:47: note: Null pointer dereference fuzzel/render.c:1252:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1252:5: note: Null pointer dereference fuzzel/render.c:1252:52: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1252:52: note: Null pointer dereference fuzzel/render.c:1253:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1253:5: note: Null pointer dereference fuzzel/render.c:1253:53: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1253:53: note: Null pointer dereference fuzzel/render.c:1254:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1254:5: note: Null pointer dereference fuzzel/render.c:1254:45: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1254:45: note: Null pointer dereference fuzzel/render.c:1255:5: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1255:5: note: Null pointer dereference fuzzel/render.c:1255:49: warning: If memory allocation fails, then there is a possible null pointer dereference: render [nullPointerOutOfMemory] fuzzel/render.c:1239:36: note: Assuming allocation function fails fuzzel/render.c:1239:36: note: Assignment 'render=xcalloc(1,sizeof(*render))', assigned value is 0 fuzzel/render.c:1255:49: note: Null pointer dereference fuzzel/render.c:1275:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] fuzzel/render.c:1274:45: note: Assuming allocation function fails fuzzel/render.c:1274:45: note: Assignment 'ctx=xmalloc(sizeof(*ctx))', assigned value is 0 fuzzel/render.c:1275:10: note: Null pointer dereference fuzzel/config.c:1348:33: style: Variable 'context.section' is reassigned a value before the old one has been used. [redundantAssignment] fuzzel/config.c:1346:33: note: context.section is assigned fuzzel/config.c:1348:33: note: context.section is overwritten fuzzel/config.c:1359:33: style: Variable 'context.section' is reassigned a value before the old one has been used. [redundantAssignment] fuzzel/config.c:1356:33: note: context.section is assigned fuzzel/config.c:1359:33: note: context.section is overwritten fuzzel/config.c:1368:33: style: Variable 'context.section' is reassigned a value before the old one has been used. [redundantAssignment] fuzzel/config.c:1366:33: note: context.section is assigned fuzzel/config.c:1368:33: note: context.section is overwritten fuzzel/config.c:1585:46: style:inconclusive: Function 'config_load' argument 2 names different: declaration 'path' definition 'conf_path'. [funcArgNamesDifferent] fuzzel/config.h:209:38: note: Function 'config_load' argument 2 names different: declaration 'path' definition 'conf_path'. fuzzel/config.c:1585:46: note: Function 'config_load' argument 2 names different: declaration 'path' definition 'conf_path'. fuzzel/config.c:773:18: style: Local variable 'value' shadows outer variable [shadowVariable] fuzzel/config.c:717:17: note: Shadowed declaration fuzzel/config.c:773:18: note: Shadow variable fuzzel/config.c:288:36: style: Variable 'binding' can be declared as pointer to const [constVariablePointer] fuzzel/config.c:536:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] fuzzel/render.c:1329:19: style: Variable 'font_bold' is assigned a value that is never used. [unreadVariable] fuzzel/match.c:698:13: style: Condition 'idx==-1' is always false [knownConditionTrueFalse] fuzzel/match.c:235:9: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fuzzel/match.c:233:44: note: Assuming allocation function fails fuzzel/match.c:233:44: note: Assignment 'm=xcalloc(pat_len+1,sizeof(m[0]))', assigned value is 0 fuzzel/match.c:235:9: note: Null pointer dereference fuzzel/match.c:261:19: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fuzzel/match.c:233:44: note: Assuming allocation function fails fuzzel/match.c:233:44: note: Assignment 'm=xcalloc(pat_len+1,sizeof(m[0]))', assigned value is 0 fuzzel/match.c:261:19: note: Null pointer dereference fuzzel/match.c:264:13: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fuzzel/match.c:233:44: note: Assuming allocation function fails fuzzel/match.c:233:44: note: Assignment 'm=xcalloc(pat_len+1,sizeof(m[0]))', assigned value is 0 fuzzel/match.c:264:13: note: Null pointer dereference fuzzel/match.c:275:17: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] fuzzel/match.c:233:44: note: Assuming allocation function fails fuzzel/match.c:233:44: note: Assignment 'm=xcalloc(pat_len+1,sizeof(m[0]))', assigned value is 0 fuzzel/match.c:275:17: note: Null pointer dereference fuzzel/match.c:370:6: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] fuzzel/match.c:369:38: note: Assuming allocation function fails fuzzel/match.c:369:38: note: Assignment 'matches=xmalloc(sizeof(*matches))', assigned value is 0 fuzzel/match.c:370:6: note: Null pointer dereference fuzzel/match.c:410:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] fuzzel/match.c:409:49: note: Assuming allocation function fails fuzzel/match.c:409:49: note: Assignment 'ctx=xmalloc(sizeof(*ctx))', assigned value is 0 fuzzel/match.c:410:14: note: Null pointer dereference fuzzel/match.c:1452:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] fuzzel/match.c:1449:32: note: Assuming allocation function fails fuzzel/match.c:1449:32: note: Assignment 'tokens=xmalloc(sizeof(tokens[0]))', assigned value is 0 fuzzel/match.c:1452:5: note: Null pointer dereference fuzzel/match.c:1453:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tok_lengths [nullPointerOutOfMemory] fuzzel/match.c:1450:34: note: Assuming allocation function fails fuzzel/match.c:1450:34: note: Assignment 'tok_lengths=xmalloc(sizeof(tok_lengths[0]))', assigned value is 0 fuzzel/match.c:1453:5: note: Null pointer dereference fuzzel/match.c:1479:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] fuzzel/match.c:1449:32: note: Assuming allocation function fails fuzzel/match.c:1449:32: note: Assignment 'tokens=xmalloc(sizeof(tokens[0]))', assigned value is 0 fuzzel/match.c:1455:33: note: Assuming condition is false fuzzel/match.c:1479:9: note: Null pointer dereference fuzzel/match.c:708:30: style: Checking if unsigned expression 'matches->match_count' is less than zero. [unsignedLessThanZero] fuzzel/match.c:708:56: style: Checking if unsigned expression 'matches->selected' is less than zero. [unsignedLessThanZero] fuzzel/match.c:718:49: style: Checking if unsigned expression 'matches->match_count' is less than zero. [unsignedLessThanZero] fuzzel/match.c:728:30: style: Checking if unsigned expression 'matches->match_count' is less than zero. [unsignedLessThanZero] fuzzel/match.c:671:62: style:inconclusive: Function 'matches_selected_select' argument 2 names different: declaration 'string' definition '_string'. [funcArgNamesDifferent] fuzzel/match.h:68:67: note: Function 'matches_selected_select' argument 2 names different: declaration 'string' definition '_string'. fuzzel/match.c:671:62: note: Function 'matches_selected_select' argument 2 names different: declaration 'string' definition '_string'. fuzzel/match.c:220:35: style: Parameter 'matches' can be declared as pointer to const [constParameterPointer] diff: head fuzzel/clipboard.c:594:54: style:inconclusive: Function 'begin_receive_clipboard' argument 5 names different: declaration '' definition 'done_cb'. [funcArgNamesDifferentUnnamed] head fuzzel/clipboard.c:594:69: style:inconclusive: Function 'begin_receive_clipboard' argument 6 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] 2.20.0 fuzzel/fdm.c:157:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head fuzzel/fdm.c:160:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] head fuzzel/fdm.c:70:75: style:inconclusive: Function 'fdm_add' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.20.0 fuzzel/key-binding.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] 2.20.0 fuzzel/key-binding.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] 2.20.0 fuzzel/match.c:1595:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] head fuzzel/shm.c:374:47: style: Parameter 'heights' can be declared as const array [constParameter] DONE