Task #51966 - added.err
back to task #51966download
Error: GCC_ANALYZER_WARNING (CWE-688):
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1510:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘s’ where non-null expected
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1438:1: enter_function: entry to ‘IA__FcDirCacheClean’
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1451:8: branch_false: following ‘false’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1454:15: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1459:8: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1464:9: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1464:8: branch_false: following ‘false’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1470:8: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1473:8: branch_false: following ‘false’ branch...
<unknown>: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1478:12: branch_true: following ‘true’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1482:13: branch_true: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1478:12: branch_true: following ‘true’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1482:13: branch_true: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1491:12: branch_false: following ‘false’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1497:17: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1497:17: call_function: calling ‘IA__FcDirCacheLoadFile’ from ‘IA__FcDirCacheClean’
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1497:17: return_function: returning to ‘IA__FcDirCacheClean’ from ‘IA__FcDirCacheLoadFile’
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1498:12: branch_false: following ‘false’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1505:26: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1506:16: branch_false: following ‘false’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1509:21: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1509:21: acquire_memory: this call could return NULL
fontconfig-2.16.2/redhat-linux-build/../src/fccache.c:1510:17: danger: argument 1 (‘s’) from [(48)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/47) could be NULL where non-null expected
# 1508| else
# 1509| s = FcStrdup (target_dir);
# 1510|-> if (stat ((char *)s, &target_stat) < 0) {
# 1511| if (verbose || FcDebug() & FC_DBG_CACHE)
# 1512| printf ("%s: %s: missing directory: %s \n",
Error: GCC_ANALYZER_WARNING (CWE-457):
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:556:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘lang[2]’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:756:1: enter_function: entry to ‘FcNameParseLangSet’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:762:10: call_function: calling ‘IA__FcLangSetCreate’ from ‘FcNameParseLangSet’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:762:10: return_function: returning to ‘FcNameParseLangSet’ from ‘IA__FcLangSetCreate’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:763:8: branch_false: following ‘false’ branch...
<unknown>: branch_false: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:767:21: branch_true: following ‘true’ branch (when ‘i != 31’)...
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:768:18: branch_true: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:769:16: branch_true: following ‘true’ branch...
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:773:9: branch_true: ...to here
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:774:14: call_function: calling ‘IA__FcLangSetAdd’ from ‘FcNameParseLangSet’
# 554| if (cmp == 0 &&
# 555| (fcLangCharSets[mid].lang[2] != '\0' ||
# 556|-> lang[2] != '\0')) {
# 557| cmp = FcStrCmpIgnoreCase (fcLangCharSets[mid].lang + 2,
# 558| lang + 2);
Error: GCC_ANALYZER_WARNING (CWE-476):
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:583:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ls’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:1021:1: enter_function: entry to ‘IA__FcLangSetUnion’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:1023:12: call_function: calling ‘FcLangSetOperate’ from ‘IA__FcLangSetUnion’
# 581| return FcTrue;
# 582| }
# 583|-> if (!ls->extra) {
# 584| ls->extra = FcStrSetCreate();
# 585| if (!ls->extra)
Error: GCC_ANALYZER_WARNING (CWE-476):
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:599:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ls’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:1027:1: enter_function: entry to ‘IA__FcLangSetSubtract’
fontconfig-2.16.2/redhat-linux-build/../src/fclang.c:1029:12: call_function: calling ‘FcLangSetOperate’ from ‘IA__FcLangSetSubtract’
# 597| if (id >= 0) {
# 598| FcLangSetBitReset (ls, id);
# 599|-> } else if (ls->extra) {
# 600| FcStrSetDel (ls->extra, lang);
# 601| }