2025-05-06 03:16 ftp://ftp.de.debian.org/debian/pool/main/m/mako-notifier/mako-notifier_1.10.0.orig.tar.gz 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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 581f101 (2025-05-05 21:13:30 +0200) count: 103 103 elapsed-time: 3.4 3.8 head-timing-info: old-timing-info: head results: mako-notifier-1.10.0/cairo-pixbuf.c:17:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:57:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_SORT_CRITERIA_TIME [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_LEFT [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_style [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:432:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VALID_FORMAT_SPECIFIERS [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:511:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:528:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_SORT_CRITERIA_URGENCY [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:595:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:746:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:783:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:897:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:1003:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/config.c:403:2: error: Memory leak: new_output [memleak] mako-notifier-1.10.0/config.c:704:4: error: Memory leak: binding.action_name [memleak] mako-notifier-1.10.0/config.c:704:4: error: Memory leak: binding.command [memleak] mako-notifier-1.10.0/config.c:765:9: style: Variable 'path' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/criteria.c:19:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_criteria [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_PARSE_STATE_NORMAL [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:308:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:466:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_criteria [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:514:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/criteria.c:47:43: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/criteria.c:47:58: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/criteria.c:465:63: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/criteria.c:499:9: style: Variable 'invalid_option' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/criteria.c:553:30: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/dbus/dbus.c:16:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/dbus/mako.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/dbus/xdg.c:147:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_action [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/dbus/xdg.c:291:13: style: Local variable 'data' shadows outer argument [shadowArgument] mako-notifier-1.10.0/dbus/xdg.c:93:53: note: Shadowed declaration mako-notifier-1.10.0/dbus/xdg.c:291:13: note: Shadow variable mako-notifier-1.10.0/event-loop.c:21:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_EVENT_SIGNAL [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_EVENT_TIMER [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_EVENT_TIMER [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:128:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_timer [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:162:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_EVENT_TIMER [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/event-loop.c:92:44: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/event-loop.c:92:65: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/icon.c:291:57: style: Parameter 'notif' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/makoctl.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:28:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:186:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:330:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:430:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:538:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:557:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:713:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:817:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/makoctl.c:238:4: error: Common realloc mistake: 'actions' nulled but not freed upon failure [memleakOnRealloc] mako-notifier-1.10.0/makoctl.c:747:3: error: Common realloc mistake: 'modes' nulled but not freed upon failure [memleakOnRealloc] mako-notifier-1.10.0/makoctl.c:173:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mako-notifier-1.10.0/makoctl.c:83:53: style: Parameter 'argv' can be declared as const array [constParameter] mako-notifier-1.10.0/makoctl.c:130:7: style: Variable 'types' can be declared as const array [constVariable] mako-notifier-1.10.0/makoctl.c:130:16: style: Variable 'types' is assigned a value that is never used. [unreadVariable] mako-notifier-1.10.0/notification.c:39:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_NOTIFICATION_URGENCY_UNKNOWN [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:73:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_notification [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:420:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:439:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_POINTER_BUTTON_STATE_PRESSED [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:470:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_NOTIFICATION_URGENCY_UNKNOWN [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:487:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_SORT_CRITERIA_TIME [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/notification.c:23:38: style: Parameter 'hotspot' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/notification.c:484:22: style: Variable 'config' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/pool-buffer.c:14:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/pool-buffer.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/pool-buffer.c:66:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_ARGB8888 [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/pool-buffer.c:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool_buffer [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/pool-buffer.c:128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable busy [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:30:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_SUBPIXEL_ORDER_DEFAULT [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:87:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_OUTPUT_SUBPIXEL_NONE [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:109:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_ICON_LOCATION_TOP [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:353:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/render.c:392:19: style: Checking if unsigned expression '(unsigned long)style->max_visible' is less than zero. [unsignedLessThanZero] mako-notifier-1.10.0/render.c:357:25: note: Assignment 'visible_count=0', assigned value is 0 mako-notifier-1.10.0/render.c:365:22: note: Assuming condition is false mako-notifier-1.10.0/render.c:392:19: note: Unsigned less than zero mako-notifier-1.10.0/render.c:81:67: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/render.c:339:63: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] mako-notifier-1.10.0/types.c:32:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:85:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_NOTIFICATION_URGENCY_LOW [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:183:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_criteria_spec [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:264:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKO_PARSE_STATE_NORMAL [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:335:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/types.c:82:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/types.c:138:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/types.c:187:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mako-notifier-1.10.0/wayland.c:52:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_output [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TOUCHPOINTS [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TOUCHPOINTS [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TOUCHPOINTS [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:221:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_DEFAULT [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:296:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SEAT_CAPABILITY_POINTER [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:318:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mako_seat [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:419:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:469:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:607:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mako-notifier-1.10.0/wayland.c:735:60: style:inconclusive: Function 'schedule_frame_and_commit' argument 1 names different: declaration 'state' definition 'surface'. [funcArgNamesDifferent] mako-notifier-1.10.0/wayland.c:359:60: note: Function 'schedule_frame_and_commit' argument 1 names different: declaration 'state' definition 'surface'. mako-notifier-1.10.0/wayland.c:735:60: note: Function 'schedule_frame_and_commit' argument 1 names different: declaration 'state' definition 'surface'. mako-notifier-1.10.0/wayland.c:95:22: style: Parameter 'wl_surface' can be declared as pointer to const [constParameterPointer] diff: DONE