Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] xrandr-1.5.3/xrandr.c:2644:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘monitors’ xrandr-1.5.3/xrandr.c:2641:8: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2643:16: branch_false: ...to here xrandr-1.5.3/xrandr.c:2643:16: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:2644:5: danger: ‘calloc(1, 16)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) # 2642| fatal("get monitors failed\n"); # 2643| monitors = calloc(1, sizeof (monitors_t)); # 2644|-> monitors->n = n; # 2645| monitors->monitors = m; # 2646| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] xrandr-1.5.3/xrandr.c:3010:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prop’ xrandr-1.5.3/xrandr.c:2649:1: enter_function: entry to ‘main’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:2807:16: branch_true: ...to here xrandr-1.5.3/xrandr.c:2807:16: branch_false: following ‘false’ branch (when ‘argc > i’)... xrandr-1.5.3/xrandr.c:2809:54: branch_false: ...to here xrandr-1.5.3/xrandr.c:2809:29: call_function: calling ‘find_output_by_name’ from ‘main’ xrandr-1.5.3/xrandr.c:2809:29: return_function: returning to ‘main’ from ‘find_output_by_name’ xrandr-1.5.3/xrandr.c:2810:16: branch_true: following ‘true’ branch... xrandr-1.5.3/xrandr.c:2811:33: branch_true: ...to here xrandr-1.5.3/xrandr.c:2811:33: call_function: calling ‘add_output’ from ‘main’ xrandr-1.5.3/xrandr.c:2811:33: return_function: returning to ‘main’ from ‘add_output’ xrandr-1.5.3/xrandr.c:2812:17: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:2812:17: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3007:16: branch_true: ...to here xrandr-1.5.3/xrandr.c:3007:16: branch_false: following ‘false’ branch (when ‘config_output’ is non-NULL)... xrandr-1.5.3/xrandr.c:3008:17: branch_false: ...to here xrandr-1.5.3/xrandr.c:3008:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3009:20: branch_false: ...to here xrandr-1.5.3/xrandr.c:3009:20: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3010:13: danger: ‘prop’ could be NULL: unchecked value from [(152)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/151) # 3008| if (i+2 >= argc) argerr ("%s requires two arguments\n", argv[i]); # 3009| prop = malloc (sizeof (output_prop_t)); # 3010|-> prop->next = config_output->props; # 3011| config_output->props = prop; # 3012| prop->name = argv[++i]; Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] xrandr-1.5.3/xrandr.c:3181:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2649:1: enter_function: entry to ‘main’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3148:27: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3152:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3154:32: branch_false: ...to here xrandr-1.5.3/xrandr.c:3157:21: call_function: calling ‘check_strtod’ from ‘main’ xrandr-1.5.3/xrandr.c:3157:21: return_function: returning to ‘main’ from ‘check_strtod’ xrandr-1.5.3/xrandr.c:3160:29: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3160:29: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3161:34: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3161:34: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3162:32: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3162:32: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3163:30: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3163:30: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3164:30: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3164:30: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3165:34: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3165:34: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3166:32: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3166:32: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3167:30: call_function: calling ‘check_strtol’ from ‘main’ xrandr-1.5.3/xrandr.c:3167:30: return_function: returning to ‘main’ from ‘check_strtol’ xrandr-1.5.3/xrandr.c:3181:13: danger: ‘m’ could be NULL: unchecked value from [(54)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/53) # 3179| i++; # 3180| } # 3181|-> m->next = umodes; # 3182| m->action = umode_create; # 3183| umodes = m; Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] xrandr-1.5.3/xrandr.c:3194:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2649:1: enter_function: entry to ‘main’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3190:27: branch_true: ...to here xrandr-1.5.3/xrandr.c:3190:27: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3192:16: branch_false: following ‘false’ branch (when ‘argc > i’)... xrandr-1.5.3/xrandr.c:3193:37: branch_false: ...to here xrandr-1.5.3/xrandr.c:3193:13: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:3193:13: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:3194:13: danger: ‘m’ could be NULL: unchecked value from [(106)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/105) # 3192| if (++i >= argc) argerr ("%s requires an argument\n", argv[i-1]); # 3193| set_name (&m->name, argv[i], name_string|name_xid); # 3194|-> m->action = umode_destroy; # 3195| m->next = umodes; # 3196| umodes = m; Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] xrandr-1.5.3/xrandr.c:3208:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2649:1: enter_function: entry to ‘main’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3201:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3201:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3203:27: branch_true: ...to here xrandr-1.5.3/xrandr.c:3203:27: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3205:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3206:13: branch_false: ...to here xrandr-1.5.3/xrandr.c:3206:13: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:3206:13: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:3207:13: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:3207:13: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:3208:13: danger: ‘m’ could be NULL: unchecked value from [(108)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/107) # 3206| set_name (&m->output, argv[++i], name_string|name_xid); # 3207| set_name (&m->name, argv[++i], name_string|name_xid); # 3208|-> m->action = umode_add; # 3209| m->next = umodes; # 3210| umodes = m; Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] xrandr-1.5.3/xrandr.c:3222:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2649:1: enter_function: entry to ‘main’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3201:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3201:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3215:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3215:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3217:27: branch_true: ...to here xrandr-1.5.3/xrandr.c:3217:27: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3219:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3220:13: branch_false: ...to here xrandr-1.5.3/xrandr.c:3220:13: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:3220:13: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:3221:13: call_function: calling ‘set_name’ from ‘main’ xrandr-1.5.3/xrandr.c:3221:13: return_function: returning to ‘main’ from ‘set_name’ xrandr-1.5.3/xrandr.c:3222:13: danger: ‘m’ could be NULL: unchecked value from [(110)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/109) # 3220| set_name (&m->output, argv[++i], name_string|name_xid); # 3221| set_name (&m->name, argv[++i], name_string|name_xid); # 3222|-> m->action = umode_delete; # 3223| m->next = umodes; # 3224| umodes = m; Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] xrandr-1.5.3/xrandr.c:3281:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3201:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3201:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3215:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3215:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3229:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3229:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3235:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3235:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3247:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3247:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3259:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3259:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3265:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3265:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3271:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3271:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3273:30: branch_true: ...to here xrandr-1.5.3/xrandr.c:3273:30: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3278:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3279:13: branch_false: ...to here xrandr-1.5.3/xrandr.c:3280:16: branch_true: following ‘true’ branch... xrandr-1.5.3/xrandr.c:3281:17: branch_true: ...to here xrandr-1.5.3/xrandr.c:3281:17: danger: ‘m’ could be NULL: unchecked value from [(121)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/120) # 3279| n = argv[++i]; # 3280| if (*n == '*') { # 3281|-> m->primary = True; # 3282| n++; # 3283| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] xrandr-1.5.3/xrandr.c:3284:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3201:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3201:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3215:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3215:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3229:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3229:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3235:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3235:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3247:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3247:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3259:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3259:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3265:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3265:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3271:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3271:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3273:30: branch_true: ...to here xrandr-1.5.3/xrandr.c:3273:30: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3278:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3279:13: branch_false: ...to here xrandr-1.5.3/xrandr.c:3280:16: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:3284:13: branch_false: ...to here xrandr-1.5.3/xrandr.c:3284:13: danger: ‘m’ could be NULL: unchecked value from [(121)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/120) # 3282| n++; # 3283| } # 3284|-> m->name = n; # 3285| m->set = True; # 3286| geom = argv[++i]; Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] xrandr-1.5.3/xrandr.c:3318:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ xrandr-1.5.3/xrandr.c:2693:21: branch_true: following ‘true’ branch (when ‘i < argc’)... xrandr-1.5.3/xrandr.c:2694:38: branch_true: ...to here xrandr-1.5.3/xrandr.c:2694:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2700:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2704:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2708:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2708:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2713:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2713:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2717:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2717:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2722:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2722:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2735:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2736:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2737:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2735:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2752:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2752:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2758:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2764:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2764:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2770:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2770:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2776:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2776:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2780:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2796:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2797:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2798:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2799:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2796:13: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2806:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2806:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2819:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2819:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2839:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2839:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2846:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2846:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2853:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2853:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2859:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2859:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2868:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2868:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2881:12: branch_false: following ‘false’ branch... xrandr-1.5.3/xrandr.c:2894:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2902:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2902:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2910:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2910:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2918:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2918:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2926:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2926:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2934:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2934:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2964:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2964:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2984:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2984:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:2993:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:2993:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3000:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3000:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3005:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3005:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3019:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3019:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3046:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3046:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3060:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3060:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3086:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3086:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3093:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3093:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3102:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3102:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3111:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3111:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3124:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3124:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3136:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3136:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3141:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3141:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3146:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3146:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3188:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3188:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3201:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3201:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3215:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3215:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3229:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3229:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3235:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3235:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3247:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3247:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3259:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3259:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3265:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3265:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3271:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3271:12: branch_false: following ‘false’ branch (when the strings are non-equal)... xrandr-1.5.3/xrandr.c:3312:14: branch_false: ...to here xrandr-1.5.3/xrandr.c:3312:12: branch_true: following ‘true’ branch (when the strings are equal)... xrandr-1.5.3/xrandr.c:3314:30: branch_true: ...to here xrandr-1.5.3/xrandr.c:3314:30: acquire_memory: this call could return NULL xrandr-1.5.3/xrandr.c:3316:16: branch_false: following ‘false’ branch (when ‘argc > i’)... xrandr-1.5.3/xrandr.c:3318:27: branch_false: ...to here xrandr-1.5.3/xrandr.c:3318:13: danger: ‘m’ could be NULL: unchecked value from [(123)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/122) # 3316| if (++i >= argc) argerr("%s requires an argument\n", argv[i-1]); # 3317| # 3318|-> m->name = argv[i]; # 3319| m->set = False; # 3320| for (l = &umonitors; *l; l = &((*l)->next));
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-109.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | xrandr-1.5.4-1.fc45 |
| diffbase-store-results-to | /tmp/tmpooh02p41/xrandr-1.5.4-1.fc45.tar.xz |
| diffbase-time-created | 2026-06-01 17:28:07 |
| diffbase-time-finished | 2026-06-01 17:29:31 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpooh02p41/xrandr-1.5.4-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpooh02p41/xrandr-1.5.4-1.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-109.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | xrandr-1.5.3-4.fc44 |
| store-results-to | /tmp/tmplhu3ta0h/xrandr-1.5.3-4.fc44.tar.xz |
| time-created | 2026-06-01 17:26:05 |
| time-finished | 2026-06-01 17:28:00 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmplhu3ta0h/xrandr-1.5.3-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmplhu3ta0h/xrandr-1.5.3-4.fc44.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |