Task #131589 - fixed.err
back to task #131589download
Error: GCC_ANALYZER_WARNING (CWE-688):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:372:15: warning[-Wanalyzer-null-argument]: use of NULL 'str' where non-null expected
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:418:13: enter_function: entry to 'parse_search_uri'
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:499:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:499:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:505:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:505:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:511:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:511:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:513:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:513:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:546:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:546:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:548:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:548:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:550:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:550:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:551:48: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:551:48: call_function: calling 'parse_date_str' from 'parse_search_uri'
# 370| static time_t parse_date_str(const char* str)
# 371| {
# 372|-> int len = strlen(str);
# 373| if(G_LIKELY(len >= 8))
# 374| {
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:486:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:485:19: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:486:42: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:486:42: danger: dereference of NULL 'value'
# 484|
# 485| if(strcmp(name, "show_hidden") == 0)
# 486|-> priv->show_hidden = (value[0] == '1') ? TRUE : FALSE;
# 487| else if(strcmp(name, "recursive") == 0)
# 488| priv->recursive = (value[0] == '1') ? TRUE : FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:488:40: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:488:40: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:488:40: danger: dereference of NULL 'value'
# 486| priv->show_hidden = (value[0] == '1') ? TRUE : FALSE;
# 487| else if(strcmp(name, "recursive") == 0)
# 488|-> priv->recursive = (value[0] == '1') ? TRUE : FALSE;
# 489| else if(strcmp(name, "name") == 0)
# 490| priv->name_patterns = g_strsplit(value, ",", 0);
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:498:52: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:498:52: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:498:52: danger: dereference of NULL 'value'
# 496| }
# 497| else if(strcmp(name, "name_ci") == 0)
# 498|-> priv->name_case_insensitive = (value[0] == '1') ? TRUE : FALSE;
# 499| else if(strcmp(name, "content") == 0)
# 500| {
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:512:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:497:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:499:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:499:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:505:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:505:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:511:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:511:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:512:55: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/modules/vfs-search.c:512:55: danger: dereference of NULL 'value'
# 510| }
# 511| else if(strcmp(name, "content_ci") == 0)
# 512|-> priv->content_case_insensitive = (value[0] == '1') ? TRUE : FALSE;
# 513| else if(strcmp(name, "mime_types") == 0)
# 514| {
Error: GCC_ANALYZER_WARNING (CWE-131):
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:302:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:275:7: branch_false: following 'false' branch (when 'error' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:286:15: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:293:11: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:293:11: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:299:15: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:301:27: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk2/../src/udisks/g-udisks-volume.c:302:17: danger: allocated 2 bytes and assigned to 'char **' here; 'sizeof (char *)' is '8'
# 300| {
# 301| int len = g_strv_length(data->vol->dev->mount_paths);
# 302|-> data->vol->dev->mount_paths = g_realloc(data->vol->dev->mount_paths, + 2);
# 303| memcpy(data->vol->dev->mount_paths, data->vol->dev->mount_paths + sizeof(char*), len * sizeof(char*));
# 304| data->vol->dev->mount_paths[0] = g_strdup(OUT_mount_path);
Error: GCC_ANALYZER_WARNING (CWE-688):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:372:15: warning[-Wanalyzer-null-argument]: use of NULL 'str' where non-null expected
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:418:13: enter_function: entry to 'parse_search_uri'
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:499:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:499:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:505:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:505:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:511:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:511:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:513:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:513:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:546:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:546:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:548:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:548:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:550:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:550:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:551:48: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:551:48: call_function: calling 'parse_date_str' from 'parse_search_uri'
# 370| static time_t parse_date_str(const char* str)
# 371| {
# 372|-> int len = strlen(str);
# 373| if(G_LIKELY(len >= 8))
# 374| {
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:486:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:485:19: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:486:42: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:486:42: danger: dereference of NULL 'value'
# 484|
# 485| if(strcmp(name, "show_hidden") == 0)
# 486|-> priv->show_hidden = (value[0] == '1') ? TRUE : FALSE;
# 487| else if(strcmp(name, "recursive") == 0)
# 488| priv->recursive = (value[0] == '1') ? TRUE : FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:488:40: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:488:40: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:488:40: danger: dereference of NULL 'value'
# 486| priv->show_hidden = (value[0] == '1') ? TRUE : FALSE;
# 487| else if(strcmp(name, "recursive") == 0)
# 488|-> priv->recursive = (value[0] == '1') ? TRUE : FALSE;
# 489| else if(strcmp(name, "name") == 0)
# 490| priv->name_patterns = g_strsplit(value, ",", 0);
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:498:52: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:498:52: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:498:52: danger: dereference of NULL 'value'
# 496| }
# 497| else if(strcmp(name, "name_ci") == 0)
# 498|-> priv->name_case_insensitive = (value[0] == '1') ? TRUE : FALSE;
# 499| else if(strcmp(name, "content") == 0)
# 500| {
Error: GCC_ANALYZER_WARNING (CWE-476):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:512:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'value'
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:421:7: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:423:21: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:434:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:436:21: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:438:24: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:447:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:450:16: branch_false: following 'false' branch (when 'sep' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:457:11: branch_true: following 'true' branch (when 'params' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:459:13: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:460:19: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:464:31: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:467:20: branch_false: following 'false' branch (when 'value' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:475:25: branch_true: following 'true' branch (when 'sep' is non-NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:477:46: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:485:19: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:487:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:489:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:491:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:497:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:499:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:499:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:505:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:505:24: branch_false: following 'false' branch (when the strings are non-equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:511:25: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:511:24: branch_true: following 'true' branch (when the strings are equal)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:512:55: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/modules/vfs-search.c:512:55: danger: dereference of NULL 'value'
# 510| }
# 511| else if(strcmp(name, "content_ci") == 0)
# 512|-> priv->content_case_insensitive = (value[0] == '1') ? TRUE : FALSE;
# 513| else if(strcmp(name, "mime_types") == 0)
# 514| {
Error: GCC_ANALYZER_WARNING (CWE-131):
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:302:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:275:7: branch_false: following 'false' branch (when 'error' is NULL)...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:286:15: branch_false: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:293:11: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:293:11: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:299:15: branch_true: following 'true' branch...
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:301:27: branch_true: ...to here
libfm-1.4.1/libfm/_BUILDDIR_gtk3/../src/udisks/g-udisks-volume.c:302:17: danger: allocated 2 bytes and assigned to 'char **' here; 'sizeof (char *)' is '8'
# 300| {
# 301| int len = g_strv_length(data->vol->dev->mount_paths);
# 302|-> data->vol->dev->mount_paths = g_realloc(data->vol->dev->mount_paths, + 2);
# 303| memcpy(data->vol->dev->mount_paths, data->vol->dev->mount_paths + sizeof(char*), len * sizeof(char*));
# 304| data->vol->dev->mount_paths[0] = g_strdup(OUT_mount_path);