Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
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): [#def2]
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): [#def3]
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): [#def4]
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): [#def5]
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): [#def6]
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): [#def7]
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): [#def8]
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): [#def9]
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): [#def10]
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): [#def11]
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): [#def12]
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);

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-163.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibfm-1.4.1-9.fc45
diffbase-store-results-to/tmp/tmphpk9xo3t/libfm-1.4.1-9.fc45.tar.xz
diffbase-time-created2026-08-03 17:21:53
diffbase-time-finished2026-08-03 17:27:10
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmphpk9xo3t/libfm-1.4.1-9.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphpk9xo3t/libfm-1.4.1-9.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-163.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibfm-1.4.1-2.fc44
store-results-to/tmp/tmpt7jxrlrx/libfm-1.4.1-2.fc44.tar.xz
time-created2026-08-03 17:15:21
time-finished2026-08-03 17:21:32
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpt7jxrlrx/libfm-1.4.1-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpt7jxrlrx/libfm-1.4.1-2.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9