mutter-48.2-1.fc43
List of Findings
Error: COMPILER_WARNING (CWE-1164): [#def1]
mutter-48.2/clutter/clutter/clutter-frame-clock.c: scope_hint: At top level
mutter-48.2/clutter/clutter/clutter-frame-clock.c:169:1: warning[-Wunused-function]: ‘clutter_frame_clock_state_to_string’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def2]
mutter-48.2/clutter/clutter/clutter-frame-clock.c: scope_hint: In function ‘maybe_update_longterm_max_duration_us’
mutter-48.2/clutter/clutter/clutter-frame-clock.c:402:15: warning[-Wunused-but-set-variable]: variable ‘old_duration_us’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def3]
mutter-48.2/clutter/clutter/clutter-frame-clock.c: scope_hint: In function ‘clutter_frame_clock_dispatch’
mutter-48.2/clutter/clutter/clutter-frame-clock.c:1425:11: warning[-Wunused-but-set-variable]: variable ‘prev_dispatch_interval_us’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def4]
mutter-48.2/clutter/clutter/clutter-gesture.c: scope_hint: In function ‘debug_message’
mutter-48.2/clutter/clutter/clutter-gesture.c:185:19: warning[-Wunused-but-set-variable]: variable ‘name’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def5]
mutter-48.2/clutter/clutter/clutter-settings.c:128:15: warning[-Wunused-but-set-variable]: variable ‘clutter_font_hint_style’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def6]
mutter-48.2/clutter/clutter/clutter-settings.c: scope_hint: In function ‘clutter_settings_update_font_options’
mutter-48.2/clutter/clutter/clutter-settings.c:128:48: warning[-Wunused-but-set-variable]: variable ‘clutter_font_subpixel_order’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def7]
mutter-48.2/clutter/clutter/clutter-stage.c: scope_hint: In function ‘clutter_stage_notify_grab_on_pointer_entry’
mutter-48.2/clutter/clutter/clutter-stage.c:3654:24: warning[-Wunused-variable]: unused variable ‘priv’
Error: CPPCHECK_WARNING (CWE-758): [#def8]
mutter-48.2/cogl/cogl/cogl-half-float.c:97: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-476): [#def9]
mutter-48.2/cogl/cogl/cogl-pipeline-layer.c:608: warning[nullPointer]: Possible null pointer dereference: head1
Error: CPPCHECK_WARNING (CWE-476): [#def10]
mutter-48.2/cogl/cogl/cogl-pipeline-state.c:1440: warning[nullPointer]: Possible null pointer dereference: head1
Error: CPPCHECK_WARNING (CWE-476): [#def11]
mutter-48.2/cogl/cogl/cogl-pipeline.c:1973: warning[nullPointer]: Possible null pointer dereference: head1
Error: CPPCHECK_WARNING (CWE-758): [#def12]
mutter-48.2/cogl/cogl/cogl-soft-float.c:166: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def13]
mutter-48.2/cogl/cogl/cogl-soft-float.c:176: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def14]
mutter-48.2/cogl/cogl/cogl-soft-float.c:203: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def15]
mutter-48.2/cogl/cogl/cogl-soft-float.c:216: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def16]
mutter-48.2/cogl/cogl/cogl-soft-float.c:650: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def17]
mutter-48.2/cogl/cogl/cogl-soft-float.c:823: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def18]
mutter-48.2/cogl/cogl/cogl-soft-float.c:857: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def19]
mutter-48.2/cogl/cogl/cogl-soft-float.c:988: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def20]
mutter-48.2/cogl/cogl/cogl-soft-float.c:994: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def21]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1010: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def22]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1016: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def23]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1026: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def24]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1037: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def25]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1119: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def26]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1128: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def27]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1135: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def28]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1157: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def29]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1166: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def30]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1173: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def31]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1334: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def32]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1443: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def33]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1452: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def34]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1459: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def35]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1481: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def36]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1490: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def37]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1497: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def38]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1591: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def39]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1647: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def40]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1654: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def41]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1663: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def42]
mutter-48.2/cogl/cogl/cogl-soft-float.c:1673: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-121): [#def43]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-box-layout.c:606:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-box-layout.c:566:3: branch_true: following ‘true’ branch (when ‘extra_space >= 0.0f’)...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-box-layout.c:568:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-box-layout.c:598:35: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-box-layout.c:606:15: danger: read of 4 bytes at offset ‘(long unsigned int)(int)(n_requested_sizes + 4294967295) * 4’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:493:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1412:1: enter_function: entry to ‘clutter_color_state_params_equals’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1420:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1421:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1420:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1422:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1422:10: call_function: calling ‘luminances_equal’ from ‘clutter_color_state_params_equals’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:493:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1412:1: enter_function: entry to ‘clutter_color_state_params_equals’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1420:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1421:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1420:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1422:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1422:10: call_function: calling ‘luminances_equal’ from ‘clutter_color_state_params_equals’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:971:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1346:1: enter_function: entry to ‘clutter_color_state_params_do_transform’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1377:17: call_function: calling ‘get_luminance_mapping’ from ‘clutter_color_state_params_do_transform’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:971:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1346:1: enter_function: entry to ‘clutter_color_state_params_do_transform’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1377:17: call_function: calling ‘get_luminance_mapping’ from ‘clutter_color_state_params_do_transform’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1448:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1426:1: enter_function: entry to ‘clutter_color_state_params_to_string’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1438:9: call_function: calling ‘clutter_color_state_params_get_luminance’ from ‘clutter_color_state_params_to_string’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1438:9: return_function: returning to ‘clutter_color_state_params_to_string’ from ‘clutter_color_state_params_get_luminance’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-color-state-params.c:1448:27: danger: dereference of NULL ‘clutter_color_state_params_get_luminance(color_state)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-event.c:2534:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-event.c:2713:1: enter_function: entry to ‘clutter_event_describe’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-event.c:2719:19: call_function: calling ‘clutter_event_get_source_device’ from ‘clutter_event_describe’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-event.c:2719:19: return_function: returning to ‘clutter_event_describe’ from ‘clutter_event_get_source_device’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-event.c:2720:23: call_function: calling ‘generate_event_description’ from ‘clutter_event_describe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:239:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:352:1: enter_function: entry to ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:366:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:369:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:371:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: call_function: calling ‘gesture_register_point’ from ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: return_function: returning to ‘clutter_gesture_action_handle_event’ from ‘gesture_register_point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:417:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:443:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:443:7: call_function: calling ‘gesture_update_motion_point’ from ‘clutter_gesture_action_handle_event’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:260:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:352:1: enter_function: entry to ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:366:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:369:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:371:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: call_function: calling ‘gesture_register_point’ from ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: return_function: returning to ‘clutter_gesture_action_handle_event’ from ‘gesture_register_point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:470:9: call_function: calling ‘gesture_update_release_point’ from ‘clutter_gesture_action_handle_event’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:291:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:352:1: enter_function: entry to ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:366:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:369:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:371:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: call_function: calling ‘gesture_register_point’ from ‘clutter_gesture_action_handle_event’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:374:15: return_function: returning to ‘clutter_gesture_action_handle_event’ from ‘gesture_register_point’
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:417:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:419:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:419:14: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:427:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:427:14: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:428:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../clutter/clutter/clutter-gesture-action.c:428:15: call_function: calling ‘gesture_point_pass_threshold’ from ‘clutter_gesture_action_handle_event’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def53]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-attribute.c:140:7: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-attribute.c:131:1: enter_function: entry to ‘_cogl_attribute_register_attribute_name’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-attribute.c:140:7: danger: argument 1 (‘name’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-bitmap.c:270:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-bitmap.c:293:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-bitmap.c:285:3: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-bitmap.c:285:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-bitmap.c:293:3: danger: dereference of NULL ‘cogl_bitmap_new_for_data(*buffer.context, width, height, format, rowstride, 0)’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def56]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-blend-string.c:700:10: warning[-Wanalyzer-deref-before-check]: check of ‘p’ for NULL after already dereferencing it
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-blend-string.c:463:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-blend-string.c:463:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-blend-string.c:700:10: danger: pointer ‘p’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1058:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1386:1: enter_function: entry to ‘cogl_framebuffer_blit’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1400:22: call_function: calling ‘cogl_framebuffer_get_context’ from ‘cogl_framebuffer_blit’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1400:22: return_function: returning to ‘cogl_framebuffer_blit’ from ‘cogl_framebuffer_get_context’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1404:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1413:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-framebuffer.c:1430:3: call_function: calling ‘cogl_context_flush_framebuffer_state’ from ‘cogl_framebuffer_blit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:556:24: branch_true: following ‘true’ branch (when ‘node1’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:560:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:560:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:563:14: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:564:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:564:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:569:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:7: danger: dereference of NULL ‘head0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:540:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:544:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:544:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:547:14: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:548:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:548:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:22: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:583:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:540:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:544:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:544:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:547:14: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:548:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:548:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:556:24: branch_true: following ‘true’ branch (when ‘node1’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:560:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:560:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:563:14: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:564:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:564:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:569:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:573:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:578:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:579:3: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:581:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:583:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-matrix-stack.c:583:26: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:607:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:586:24: branch_false: following ‘false’ branch (when ‘node0’ is NULL)...
branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:594:24: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:607:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:607:3: danger: dereference of NULL ‘head0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:608:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:586:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:588:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:589:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:589:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:594:24: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:607:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:608:3: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:612:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:586:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:588:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:589:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:589:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:586:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:588:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:586:24: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:588:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:594:24: branch_true: following ‘true’ branch (when ‘node1’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:596:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:597:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:597:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:594:24: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:607:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:608:3: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:610:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:612:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-layer.c:612:26: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1439:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1418:27: branch_false: following ‘false’ branch (when ‘node0’ is NULL)...
branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1426:27: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1439:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1439:3: danger: dereference of NULL ‘head0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1440:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1418:27: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1420:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1421:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1421:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1426:27: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1439:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1440:3: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1444:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1418:27: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1420:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1421:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1421:7: release_memory: ‘head0’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1418:27: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1420:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1418:27: branch_true: following ‘true’ branch (when ‘node0’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1420:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1426:27: branch_true: following ‘true’ branch (when ‘node1’ is non-NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1428:22: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1429:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1429:7: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1426:27: branch_false: following ‘false’ branch (when ‘node1’ is NULL)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1439:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1440:3: release_memory: ‘head1’ is NULL
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1442:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1444:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/cogl-pipeline-state.c:1444:26: danger: dereference of NULL ‘head1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:427:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:985:1: enter_function: entry to ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: return_function: returning to ‘_cogl_pipeline_fragend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:12: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1015:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1020:11: call_function: calling ‘ensure_layer_generated’ from ‘_cogl_pipeline_fragend_glsl_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:610:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:985:1: enter_function: entry to ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: return_function: returning to ‘_cogl_pipeline_fragend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:12: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1015:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1020:11: call_function: calling ‘ensure_layer_generated’ from ‘_cogl_pipeline_fragend_glsl_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:672:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:985:1: enter_function: entry to ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: return_function: returning to ‘_cogl_pipeline_fragend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:12: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1015:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1020:11: call_function: calling ‘ensure_layer_generated’ from ‘_cogl_pipeline_fragend_glsl_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:799:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:985:1: enter_function: entry to ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: return_function: returning to ‘_cogl_pipeline_fragend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:12: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1010:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1015:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1020:11: call_function: calling ‘ensure_layer_generated’ from ‘_cogl_pipeline_fragend_glsl_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:985:1: enter_function: entry to ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_fragend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:988:50: return_function: returning to ‘_cogl_pipeline_fragend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:991:7: danger: dereference of NULL ‘get_shader_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def72]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:674:10: warning[-Wanalyzer-deref-before-check]: check of ‘pipeline’ for NULL after already dereferencing it
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:615:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:620:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:674:10: danger: pointer ‘pipeline’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1172:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1141:1: enter_function: entry to ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: call_function: calling ‘get_program_state’ from ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: return_function: returning to ‘_cogl_pipeline_progend_glsl_pre_paint’ from ‘get_program_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1163:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1166:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1169:5: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1172:45: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1172:45: danger: dereference of NULL ‘get_program_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1185:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1141:1: enter_function: entry to ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: call_function: calling ‘get_program_state’ from ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: return_function: returning to ‘_cogl_pipeline_progend_glsl_pre_paint’ from ‘get_program_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1163:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1166:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1169:5: branch_false: following ‘false’ branch...
branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1181:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1185:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1185:11: danger: dereference of NULL ‘get_program_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1259:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1141:1: enter_function: entry to ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: call_function: calling ‘get_program_state’ from ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1155:19: return_function: returning to ‘_cogl_pipeline_progend_glsl_pre_paint’ from ‘get_program_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1163:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1166:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1169:5: branch_false: following ‘false’ branch...
branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1181:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1259:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1259:7: danger: dereference of NULL ‘get_program_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:542:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:531:1: enter_function: entry to ‘_cogl_pipeline_vertend_glsl_add_layer’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:540:18: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_vertend_glsl_add_layer’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:540:18: return_function: returning to ‘_cogl_pipeline_vertend_glsl_add_layer’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:542:7: danger: dereference of NULL ‘get_shader_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:610:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:602:1: enter_function: entry to ‘_cogl_pipeline_vertend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:608:18: call_function: calling ‘get_shader_state’ from ‘_cogl_pipeline_vertend_glsl_end’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:608:18: return_function: returning to ‘_cogl_pipeline_vertend_glsl_end’ from ‘get_shader_state’
mutter-48.2/redhat-linux-build/../cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:610:7: danger: dereference of NULL ‘get_shader_state(pipeline)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
mutter-48.2/redhat-linux-build/../mtk/mtk/mtk-region.h:139:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r1’
mutter-48.2/redhat-linux-build/../src/tests/mtk/region-tests.c:41:25: call_function: inlined call to ‘glib_autoptr_cleanup_MtkRegion’ from ‘test_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:308:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:267:1: enter_function: entry to ‘meta_color_device_dispose’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:297:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:297:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:300:26: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:300:26: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:302:19: call_function: calling ‘find_device_sync’ from ‘meta_color_device_dispose’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:302:19: return_function: returning to ‘meta_color_device_dispose’ from ‘find_device_sync’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:305:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:306:12: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:306:12: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:305:11: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:308:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:308:11: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-device.c:308:11: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:137:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:110:1: enter_function: entry to ‘meta_color_profile_finalize’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:120:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:124:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:125:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:127:30: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:129:24: call_function: calling ‘find_profile_sync’ from ‘meta_color_profile_finalize’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:129:24: return_function: returning to ‘meta_color_profile_finalize’ from ‘find_profile_sync’
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:132:14: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:133:16: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:133:16: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:132:15: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:137:15: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:137:15: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-color-profile.c:137:15: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def81]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘MetaDbusSessionManager *’ {{aka ‘struct _MetaDbusSessionManager *’}} for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def82]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:393:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def83]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def84]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘MetaDbusSessionManager *’ {{aka ‘struct _MetaDbusSessionManager *’}} for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def85]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:393:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def86]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def87]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘MetaDbusSessionManager *’ {{aka ‘struct _MetaDbusSessionManager *’}} for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def88]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:393:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def89]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: return_function: returning to ‘meta_dbus_session_manager_create_session’ from ‘append_property’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:390:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-685): [#def90]
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:321:3: warning[-Wanalyzer-va-list-exhausted]: ‘var_args’ has no more arguments (1 consumed)
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:330:1: enter_function: entry to ‘meta_dbus_session_manager_create_session’
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:349:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:356:15: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:365:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:367:14: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:374:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:376:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:377:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:378:7: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:380:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-dbus-session-manager.c:388:3: call_function: calling ‘append_property’ from ‘meta_dbus_session_manager_create_session’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:277:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:344:1: enter_function: entry to ‘on_keymap_changed’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:354:7: call_function: calling ‘ensure_eis_keyboard’ from ‘on_keymap_changed’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:849:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:809:1: enter_function: entry to ‘handle_add_barrier’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:816:22: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:820:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:828:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:828:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:836:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:836:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:844:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:845:8: call_function: calling ‘check_barrier’ from ‘handle_add_barrier’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:845:8: return_function: returning to ‘handle_add_barrier’ from ‘check_barrier’
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:845:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:849:59: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:849:59: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-input-capture-session.c:849:54: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1354:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1321:1: enter_function: entry to ‘handle_enable_clipboard’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1327:22: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1336:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1344:24: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1347:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1349:23: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1349:23: call_function: calling ‘create_remote_desktop_source’ from ‘handle_enable_clipboard’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1349:23: return_function: returning to ‘handle_enable_clipboard’ from ‘create_remote_desktop_source’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1352:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1357:55: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1357:55: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1354:11: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1531:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1495:1: enter_function: entry to ‘handle_set_selection’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1501:22: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1503:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1511:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1521:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1524:30: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1526:23: call_function: calling ‘create_remote_desktop_source’ from ‘handle_set_selection’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1526:23: return_function: returning to ‘handle_set_selection’ from ‘create_remote_desktop_source’
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1529:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1534:55: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1534:55: release_memory: ‘error’ is NULL
mutter-48.2/redhat-linux-build/../src/backends/meta-remote-desktop-session.c:1531:11: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:288:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, open_flags)’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:240:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:247:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:247:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:276:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:288:16: acquire_resource: opened here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-device-pool.c:288:16: danger: ‘open(path, open_flags)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def96]
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:154:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘depth’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:115:11: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:128:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:128:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:142:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-drm-buffer.c:154:11: danger: use of uninitialized value ‘depth’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
mutter-48.2/redhat-linux-build/../src/backends/native/meta-kms-impl-device.c:612:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-kms-impl-device.c:2393:1: enter_function: entry to ‘meta_kms_impl_device_init_mode_setting’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-kms-impl-device.c:2404:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-kms-impl-device.c:2412:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-kms-impl-device.c:2414:3: call_function: calling ‘init_crtcs’ from ‘meta_kms_impl_device_init_mode_setting’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:568:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘border’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:596:1: enter_function: entry to ‘meta_pointer_constraint_impl_native_ensure_constrained’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:618:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:628:13: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:628:11: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:635:17: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-pointer-constraint-native.c:652:7: call_function: calling ‘closest_point_behind_border’ from ‘meta_pointer_constraint_impl_native_ensure_constrained’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:669:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1017:1: enter_function: entry to ‘meta_renderer_native_create_dma_buf’
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1029:3: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1031:5: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1050:12: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1058:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1067:12: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1070:27: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1078:12: branch_false: following ‘false’ branch (when ‘n_modifiers <= 0’)...
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1081:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/native/meta-renderer-native.c:1097:11: call_function: calling ‘meta_renderer_native_create_dma_buf_framebuffer’ from ‘meta_renderer_native_create_dma_buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
mutter-48.2/redhat-linux-build/../src/backends/x11/cm/meta-backend-x11-cm.c:285:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
mutter-48.2/redhat-linux-build/../src/backends/x11/cm/meta-backend-x11-cm.c:266:15: acquire_memory: this call could return NULL
mutter-48.2/redhat-linux-build/../src/backends/x11/cm/meta-backend-x11-cm.c:285:7: danger: ‘rules’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:1477:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2125:1: enter_function: entry to ‘meta_seat_x11_translate_event’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2138:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2144:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2147:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2149:6: branch_false: following ‘false’ branch (when ‘xi_event’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2170:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2654:9: call_function: calling ‘translate_coords’ from ‘meta_seat_x11_translate_event’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2267:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2125:1: enter_function: entry to ‘meta_seat_x11_translate_event’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2138:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2144:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2147:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2149:6: branch_false: following ‘false’ branch (when ‘xi_event’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2170:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2214:12: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2218:22: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2223:17: call_function: calling ‘translate_state’ from ‘meta_seat_x11_translate_event’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2223:17: return_function: returning to ‘meta_seat_x11_translate_event’ from ‘translate_state’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2238:15: call_function: calling ‘print_keysym’ from ‘meta_seat_x11_translate_event’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2238:15: return_function: returning to ‘meta_seat_x11_translate_event’ from ‘print_keysym’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2239:12: branch_true: following ‘true’ branch...
branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2267:9: branch_true: following ‘true’ branch (when ‘keyval != 0’)...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2267:9: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2267:9: danger: dereference of NULL ‘stage_x11’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2342:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2138:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2144:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2143:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2147:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2149:6: branch_false: following ‘false’ branch (when ‘xi_event’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2152:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:9: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2160:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2170:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2295:12: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2299:39: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2301:12: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2303:34: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2308:16: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2318:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/backends/x11/meta-seat-x11.c:2342:13: danger: dereference of NULL ‘stage_x11’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
mutter-48.2/redhat-linux-build/../src/compositor/meta-window-actor.c:1365:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bounds’
mutter-48.2/redhat-linux-build/../src/compositor/meta-window-actor.c:1344:1: enter_function: entry to ‘meta_window_actor_capture_into’
mutter-48.2/redhat-linux-build/../src/compositor/meta-window-actor.c:1359:11: call_function: calling ‘meta_window_actor_get_image’ from ‘meta_window_actor_capture_into’
mutter-48.2/redhat-linux-build/../src/compositor/meta-window-actor.c:1359:11: return_function: returning to ‘meta_window_actor_capture_into’ from ‘meta_window_actor_get_image’
mutter-48.2/redhat-linux-build/../src/compositor/meta-window-actor.c:1365:19: danger: dereference of NULL ‘bounds’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:178:19: warning[-Wanalyzer-malloc-leak]: leak of ‘find_session_type(error)’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:243:1: enter_function: entry to ‘determine_compositor_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:251:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:252:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:254:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:258:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:258:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: call_function: calling ‘find_session_type’ from ‘determine_compositor_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: return_function: returning to ‘determine_compositor_type’ from ‘find_session_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:178:19: danger: ‘find_session_type(error)’ leaks here; was allocated at [(24)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:210:3: warning[-Wanalyzer-malloc-leak]: leak of ‘find_session_type(error)’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:243:1: enter_function: entry to ‘determine_compositor_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:251:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:252:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:254:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:249:7: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:258:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:258:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: call_function: calling ‘find_session_type’ from ‘determine_compositor_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:261:18: return_function: returning to ‘determine_compositor_type’ from ‘find_session_type’
mutter-48.2/redhat-linux-build/../src/core/meta-context-main.c:210:3: danger: ‘find_session_type(error)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def107]
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:630:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:618:1: enter_function: entry to ‘meta_startup_notification_lookup_sequence’
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:625:35: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:627:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:628:16: call_function: calling ‘meta_startup_sequence_get_id’ from ‘meta_startup_notification_lookup_sequence’
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:628:16: return_function: returning to ‘meta_startup_notification_lookup_sequence’ from ‘meta_startup_sequence_get_id’
mutter-48.2/redhat-linux-build/../src/core/startup-notification.c:630:11: danger: argument 1 (‘meta_startup_sequence_get_id(seq)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1231:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1222:1: enter_function: entry to ‘meta_workspace_get_onmonitor_region’
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1227:3: call_function: calling ‘ensure_work_areas_validated’ from ‘meta_workspace_get_onmonitor_region’
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1227:3: return_function: returning to ‘meta_workspace_get_onmonitor_region’ from ‘ensure_work_areas_validated’
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1229:10: call_function: inlined call to ‘meta_workspace_get_logical_monitor_data’ from ‘meta_workspace_get_onmonitor_region’
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1231:10: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/core/workspace.c:1231:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING: [#def109]
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:63:18: warning[-Wanalyzer-fd-use-without-check]: ‘write’ on possibly invalid file descriptor ‘fd’
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:103:1: enter_function: entry to ‘test_open_write_read’
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:107:8: acquire_resource: opened here
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:108:3: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:108:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/anonymous-file.c:110:8: call_function: calling ‘test_write_read’ from ‘test_open_write_read’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def110]
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:148:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:111:1: enter_function: entry to ‘main’
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:120:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:126:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:129:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:134:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:134:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:136:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:138:19: branch_true: following ‘true’ branch (when ‘i != 11’)...
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:143:33: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:144:17: call_function: calling ‘get_unit_name_description’ from ‘main’
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:144:17: return_function: returning to ‘main’ from ‘get_unit_name_description’
mutter-48.2/redhat-linux-build/../src/tests/clutter/interactive/test-main.c:148:33: danger: argument 1 (‘get_unit_name_description(test_unit_names[i], (long int)(70 - strlen(<unknown>)))’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-404): [#def111]
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:47:3: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:40:3: acquire_resource: ‘va_start’ called here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:47:3: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def112]
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:64:7: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:33:1: enter_function: entry to ‘verify_bits’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:47:3: acquire_resource: ‘va_copy’ called here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:57:3: call_function: calling ‘_cogl_bitmask_popcount’ from ‘verify_bits’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:57:3: return_function: returning to ‘verify_bits’ from ‘_cogl_bitmask_popcount’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:57:3: branch_true: following ‘true’ branch...
branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:59:15: branch_true: following ‘true’ branch (when ‘i != 1024’)...
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:64:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:64:7: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-685): [#def113]
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:67:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:87:1: enter_function: entry to ‘check_bitmask_api’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:95:24: branch_true: following ‘true’ branch (when ‘dummy_bit <= 255’)...
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:97:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:100:10: branch_false: following ‘false’ branch (when ‘dummy_bit == -1’)...
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:103:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:103:7: call_function: calling ‘verify_bits’ from ‘check_bitmask_api’ with 2 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:74:7: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:87:1: enter_function: entry to ‘check_bitmask_api’
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:95:24: branch_true: following ‘true’ branch (when ‘dummy_bit <= 255’)...
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:97:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:100:10: branch_false: following ‘false’ branch (when ‘dummy_bit == -1’)...
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:103:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/cogl/unit/test-bitmask.c:103:7: call_function: calling ‘verify_bits’ from ‘check_bitmask_api’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
mutter-48.2/redhat-linux-build/../src/tests/meta-monitor-test-utils.c:263:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/tests/meta-monitor-test-utils.c:249:3: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/tests/meta-monitor-test-utils.c:249:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/tests/meta-monitor-test-utils.c:263:3: danger: dereference of NULL ‘logical_monitor_from_layout(monitor_manager, &*test_logical_monitor.layout)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5363:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘initial_config’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5224:1: enter_function: entry to ‘meta_test_monitor_orientation_changes’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5314:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5315:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5314:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5315:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5314:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5315:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5330:3: call_function: calling ‘g_set_object’ from ‘meta_test_monitor_orientation_changes’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5330:3: return_function: returning to ‘meta_test_monitor_orientation_changes’ from ‘g_set_object’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5332:3: call_function: calling ‘g_set_object’ from ‘meta_test_monitor_orientation_changes’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5332:3: return_function: returning to ‘meta_test_monitor_orientation_changes’ from ‘g_set_object’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5343:37: branch_true: following ‘true’ branch (when ‘i != 0’)...
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5348:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5353:7: call_function: calling ‘check_monitor_configuration_per_orientation’ from ‘meta_test_monitor_orientation_changes’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5353:7: return_function: returning to ‘meta_test_monitor_orientation_changes’ from ‘check_monitor_configuration_per_orientation’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5361:7: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5362:7: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5363:7: danger: dereference of NULL ‘initial_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5564:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘initial_config’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5424:1: enter_function: entry to ‘meta_test_monitor_orientation_changes_for_transformed_panel’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5515:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5516:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5515:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5516:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5515:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5516:34: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5531:3: call_function: calling ‘g_set_object’ from ‘meta_test_monitor_orientation_changes_for_transformed_panel’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5531:3: return_function: returning to ‘meta_test_monitor_orientation_changes_for_transformed_panel’ from ‘g_set_object’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5533:3: call_function: calling ‘g_set_object’ from ‘meta_test_monitor_orientation_changes_for_transformed_panel’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5533:3: return_function: returning to ‘meta_test_monitor_orientation_changes_for_transformed_panel’ from ‘g_set_object’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5544:37: branch_true: following ‘true’ branch (when ‘i != 0’)...
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5549:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5554:7: call_function: calling ‘check_monitor_configuration_per_orientation’ from ‘meta_test_monitor_orientation_changes_for_transformed_panel’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5554:7: return_function: returning to ‘meta_test_monitor_orientation_changes_for_transformed_panel’ from ‘check_monitor_configuration_per_orientation’
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5562:7: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5563:7: release_memory: ‘initial_config’ is NULL
mutter-48.2/redhat-linux-build/../src/tests/monitor-unit-tests.c:5564:7: danger: dereference of NULL ‘initial_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/surface-scale-client.c:42:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/surface-scale-client.c:132:1: enter_function: entry to ‘main’
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/surface-scale-client.c:167:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/surface-scale-client.c:170:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/surface-scale-client.c:177:11: call_function: calling ‘check_scales’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def119]
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/wayland-test-client-utils.h:106:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer’
mutter-48.2/redhat-linux-build/../src/tests/wayland-test-clients/wayland-test-client-utils.c:1159:29: call_function: inlined call to ‘glib_autoptr_cleanup_WaylandBuffer’ from ‘wayland_buffer_create’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def120]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-buffer.c:332:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-buffer.c:338:1: enter_function: entry to ‘multi_texture_from_shm’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-buffer.c:360:3: call_function: calling ‘get_offset_and_stride’ from ‘multi_texture_from_shm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-buffer.c:800:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:512:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device_path, 524290)’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:466:3: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:468:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:475:8: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:475:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:480:16: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:486:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:492:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:503:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:512:12: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:512:12: acquire_resource: opened here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-linux-drm-syncobj.c:512:12: danger: ‘open(device_path, 524290)’ leaks here; was opened at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1728:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1712:1: enter_function: entry to ‘meta_wayland_surface_begin_grab_op’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1720:24: call_function: calling ‘meta_wayland_surface_get_window’ from ‘meta_wayland_surface_begin_grab_op’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1720:24: return_function: returning to ‘meta_wayland_surface_begin_grab_op’ from ‘meta_wayland_surface_get_window’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1722:6: branch_false: following ‘false’ branch (when ‘grab_op != 0’)...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1732:38: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-surface.c:1728:10: danger: dereference of NULL ‘meta_wayland_surface_get_window(surface)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:98:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dragged_surface’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:203:1: enter_function: entry to ‘xdg_toplevel_drag_attach’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:215:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:218:21: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:218:21: call_function: calling ‘surface_from_xdg_toplevel_resource’ from ‘xdg_toplevel_drag_attach’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:218:21: return_function: returning to ‘xdg_toplevel_drag_attach’ from ‘surface_from_xdg_toplevel_resource’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:220:3: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:222:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:222:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:230:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:236:3: release_memory: ‘0’ is NULL
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:245:6: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:248:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-toplevel-drag.c:248:7: call_function: calling ‘add_window_geometry_origin’ from ‘xdg_toplevel_drag_attach’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:591:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:582:1: enter_function: entry to ‘meta_wayland_transaction_add_placement_op’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:589:11: call_function: calling ‘meta_wayland_transaction_ensure_entry’ from ‘meta_wayland_transaction_add_placement_op’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:589:11: return_function: returning to ‘meta_wayland_transaction_add_placement_op’ from ‘meta_wayland_transaction_ensure_entry’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:591:8: danger: dereference of NULL ‘meta_wayland_transaction_ensure_entry(transaction, surface)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:608:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:600:1: enter_function: entry to ‘meta_wayland_transaction_add_subsurface_position’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:607:11: call_function: calling ‘meta_wayland_transaction_ensure_entry’ from ‘meta_wayland_transaction_add_subsurface_position’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:607:11: return_function: returning to ‘meta_wayland_transaction_add_subsurface_position’ from ‘meta_wayland_transaction_ensure_entry’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:608:3: danger: dereference of NULL ‘meta_wayland_transaction_ensure_entry(transaction, surface)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:624:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:614:1: enter_function: entry to ‘meta_wayland_transaction_add_xdg_popup_reposition’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:622:11: call_function: calling ‘meta_wayland_transaction_ensure_entry’ from ‘meta_wayland_transaction_add_xdg_popup_reposition’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:622:11: return_function: returning to ‘meta_wayland_transaction_add_xdg_popup_reposition’ from ‘meta_wayland_transaction_ensure_entry’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:624:7: danger: dereference of NULL ‘meta_wayland_transaction_ensure_entry(transaction, surface)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:695:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:687:1: enter_function: entry to ‘meta_wayland_transaction_merge_pending_state’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:693:11: call_function: calling ‘meta_wayland_transaction_ensure_entry’ from ‘meta_wayland_transaction_merge_pending_state’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:693:11: return_function: returning to ‘meta_wayland_transaction_merge_pending_state’ from ‘meta_wayland_transaction_ensure_entry’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-transaction.c:695:8: danger: dereference of NULL ‘meta_wayland_transaction_ensure_entry(transaction, surface)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1769:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1760:1: enter_function: entry to ‘xdg_surface_get_toplevel’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1765:33: call_function: calling ‘surface_from_xdg_surface_resource’ from ‘xdg_surface_get_toplevel’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1765:33: return_function: returning to ‘xdg_surface_get_toplevel’ from ‘surface_from_xdg_surface_resource’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1769:3: danger: dereference of NULL ‘surface_from_xdg_surface_resource(resource)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1786:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1775:1: enter_function: entry to ‘xdg_surface_get_popup’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1784:33: call_function: calling ‘surface_from_xdg_surface_resource’ from ‘xdg_surface_get_popup’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1784:33: return_function: returning to ‘xdg_surface_get_popup’ from ‘surface_from_xdg_surface_resource’
mutter-48.2/redhat-linux-build/../src/wayland/meta-wayland-xdg-shell.c:1786:3: danger: dereference of NULL ‘surface_from_xdg_surface_resource(resource)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def131]
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:324:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1077:1: enter_function: entry to ‘meta_xwayland_init’
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1094:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1108:12: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1108:12: call_function: calling ‘open_display_sockets’ from ‘meta_xwayland_init’
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1108:12: return_function: returning to ‘meta_xwayland_init’ from ‘open_display_sockets’
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1108:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1115:12: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/wayland/meta-xwayland.c:1115:12: call_function: calling ‘open_display_sockets’ from ‘meta_xwayland_init’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
mutter-48.2/redhat-linux-build/../src/x11/meta-x11-display.c:1867:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mutter-48.2/redhat-linux-build/../src/x11/meta-x11-display.c:1853:1: enter_function: entry to ‘get_screen_name’
mutter-48.2/redhat-linux-build/../src/x11/meta-x11-display.c:1867:7: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(full_save_path, "w")’
mutter-48.2/redhat-linux-build/../src/x11/session.c:889:3: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:901:16: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:925:13: acquire_resource: opened here
mutter-48.2/redhat-linux-build/../src/x11/session.c:927:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:960:10: branch_true: following ‘true’ branch (when ‘tmp’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/x11/session.c:965:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:968:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: danger: ‘fopen(full_save_path, "w")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(full_save_path, "w")’
mutter-48.2/redhat-linux-build/../src/x11/session.c:889:3: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:901:16: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:925:13: acquire_memory: allocated here
mutter-48.2/redhat-linux-build/../src/x11/session.c:927:6: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:960:10: branch_true: following ‘true’ branch (when ‘tmp’ is non-NULL)...
mutter-48.2/redhat-linux-build/../src/x11/session.c:965:7: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:968:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/x11/session.c:1057:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/session.c:950:3: danger: ‘fopen(full_save_path, "w")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def135]
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:740:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:831:1: enter_function: entry to ‘meta_prop_get_values’
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:843:6: branch_false: following ‘false’ branch (when ‘n_values != 0’)...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:846:11: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:917:10: branch_true: following ‘true’ branch (when ‘i < n_values’)...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:923:16: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:923:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:932:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:12: call_function: calling ‘async_get_property_finish’ from ‘meta_prop_get_values’
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:12: return_function: returning to ‘meta_prop_get_values’ from ‘async_get_property_finish’
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:10: branch_true: following ‘true’ branch...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:943:11: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:917:10: branch_true: following ‘true’ branch (when ‘i < n_values’)...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:923:16: branch_true: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:923:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:932:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:12: call_function: calling ‘async_get_property_finish’ from ‘meta_prop_get_values’
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:12: return_function: returning to ‘meta_prop_get_values’ from ‘async_get_property_finish’
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:941:10: branch_false: following ‘false’ branch...
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:947:7: branch_false: ...to here
mutter-48.2/redhat-linux-build/../src/x11/xprops.c:1019:16: call_function: calling ‘class_hint_from_results’ from ‘meta_prop_get_values’
Error: CPPCHECK_WARNING (CWE-457): [#def136]
mutter-48.2/src/backends/native/meta-onscreen-native.c:2240: error[legacyUninitvar]: Uninitialized variable: gbm_format
Error: CPPCHECK_WARNING (CWE-476): [#def137]
mutter-48.2/src/backends/native/meta-pointer-constraint-native.c:568: error[ctunullpointer]: Null pointer dereference: border
Error: CPPCHECK_WARNING (CWE-476): [#def138]
mutter-48.2/src/backends/native/meta-pointer-constraint-native.c:568: warning[nullPointer]: Possible null pointer dereference: border
Error: CPPCHECK_WARNING (CWE-476): [#def139]
mutter-48.2/src/backends/x11/cm/meta-backend-x11-cm.c:285: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rules
Error: CPPCHECK_WARNING (CWE-457): [#def140]
mutter-48.2/src/core/window.c:4087: error[legacyUninitvar]: Uninitialized variable: unconstrained_rect
Error: CPPCHECK_WARNING (CWE-909): [#def141]
mutter-48.2/src/core/window.c:4087: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.height
Error: CPPCHECK_WARNING (CWE-909): [#def142]
mutter-48.2/src/core/window.c:4087: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.width
Error: CPPCHECK_WARNING (CWE-909): [#def143]
mutter-48.2/src/core/window.c:4087: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.x
Error: CPPCHECK_WARNING (CWE-909): [#def144]
mutter-48.2/src/core/window.c:4087: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.y
Error: CPPCHECK_WARNING (CWE-664): [#def145]
mutter-48.2/src/tests/cogl/unit/test-bitmask.c:47: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
Error: CPPCHECK_WARNING (CWE-664): [#def146]
mutter-48.2/src/tests/cogl/unit/test-bitmask.c:64: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
Error: CPPCHECK_WARNING (CWE-664): [#def147]
mutter-48.2/src/tests/cogl/unit/test-bitmask.c:74: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
Error: CPPCHECK_WARNING (CWE-664): [#def148]
mutter-48.2/src/tests/cogl/unit/test-bitmask.c:84: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-664): [#def149]
mutter-48.2/src/tests/cogl/unit/test-bitmask.c:84: error[va_end_missing]: va_list 'ap_copy' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-786): [#def150]
mutter-48.2/src/tests/monitor-util-tests.c:67: error[negativeIndex]: Array 'matching_4k_specs[4]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def151]
mutter-48.2/src/tests/monitor-util-tests.c:88: error[negativeIndex]: Array 'matching_uhd_specs[3]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def152]
mutter-48.2/src/tests/monitor-util-tests.c:107: error[negativeIndex]: Array 'matching_hd_specs[2]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-457): [#def153]
mutter-48.2/src/wayland/meta-wayland-popup.c:217: error[uninitvar]: Uninitialized variable: popup->popup_surface
Error: CPPCHECK_WARNING (CWE-457): [#def154]
mutter-48.2/src/wayland/meta-wayland-popup.c:219: error[uninitvar]: Uninitialized variable: popup_surface
Error: CPPCHECK_WARNING (CWE-457): [#def155]
mutter-48.2/src/wayland/meta-wayland-presentation-time.c:456: error[uninitvar]: Uninitialized variables: feedback.link, feedback.resource, feedback.surface
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-147.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | mutter-48.2-1.fc43 |
store-results-to | /tmp/tmpsqlim0un/mutter-48.2-1.fc43.tar.xz |
time-created | 2025-04-25 14:53:05 |
time-finished | 2025-04-25 15:15:38 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpsqlim0un/mutter-48.2-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsqlim0un/mutter-48.2-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |