libass-0.17.4-1.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libass-0.17.4/libass/ass.c:110:14: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass.c:1766:12: enter_function: entry to 'ass_new_track'
libass-0.17.4/libass/ass.c:1770:8: branch_false: following 'false' branch (when 'track' is non-NULL)...
libass-0.17.4/libass/ass.c:1772:5: branch_false: ...to here
libass-0.17.4/libass/ass.c:1774:26: acquire_memory: allocated here
libass-0.17.4/libass/ass.c:1775:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass.c:1777:15: branch_false: ...to here
libass-0.17.4/libass/ass.c:1777:15: call_function: calling 'ass_alloc_style' from 'ass_new_track'
#  108|               return -1;
#  109|           int new_max = track->max_styles + ASS_STYLES_ALLOC;
#  110|->         if (!ASS_REALLOC_ARRAY(track->styles, new_max))
#  111|               return -1;
#  112|           track->max_styles = new_max;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libass-0.17.4/libass/ass.c:110:14: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_false: following 'false' branch (when 'codepage' is NULL)...
libass-0.17.4/libass/ass.c:1613:24: branch_false: ...to here
libass-0.17.4/libass/ass.c:1613:24: acquire_memory: allocated here
libass-0.17.4/libass/ass.c:1614:12: branch_false: following 'false' branch (when 'newbuf' is non-NULL)...
libass-0.17.4/libass/ass.c:1616:9: branch_false: ...to here
libass-0.17.4/libass/ass.c:1620:13: call_function: calling 'parse_memory' from 'ass_read_memory'
#  108|               return -1;
#  109|           int new_max = track->max_styles + ASS_STYLES_ALLOC;
#  110|->         if (!ASS_REALLOC_ARRAY(track->styles, new_max))
#  111|               return -1;
#  112|           track->max_styles = new_max;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libass-0.17.4/libass/ass.c:110:14: warning[-Wanalyzer-malloc-leak]: leak of 'track'
libass-0.17.4/libass/ass.c:1766:12: enter_function: entry to 'ass_new_track'
libass-0.17.4/libass/ass.c:1769:24: acquire_memory: allocated here
libass-0.17.4/libass/ass.c:1770:8: branch_false: following 'false' branch (when 'track' is non-NULL)...
libass-0.17.4/libass/ass.c:1772:5: branch_false: ...to here
libass-0.17.4/libass/ass.c:1775:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass.c:1777:15: branch_false: ...to here
libass-0.17.4/libass/ass.c:1777:15: call_function: calling 'ass_alloc_style' from 'ass_new_track'
#  108|               return -1;
#  109|           int new_max = track->max_styles + ASS_STYLES_ALLOC;
#  110|->         if (!ASS_REALLOC_ARRAY(track->styles, new_max))
#  111|               return -1;
#  112|           track->max_styles = new_max;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libass-0.17.4/libass/ass.c:1434:8: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", codepage)'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1432|       assert(codepage);
# 1433|   
# 1434|->     if ((icdsc = iconv_open(tocp, codepage)) != (iconv_t) (-1)) {
# 1435|           ass_msg(library, MSGL_V, "Opened iconv descriptor");
# 1436|       } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libass-0.17.4/libass/ass.c:1435:9: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", codepage)'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1433|   
# 1434|       if ((icdsc = iconv_open(tocp, codepage)) != (iconv_t) (-1)) {
# 1435|->         ass_msg(library, MSGL_V, "Opened iconv descriptor");
# 1436|       } else {
# 1437|           ass_msg(library, MSGL_ERR, "Error opening iconv descriptor");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libass-0.17.4/libass/ass.c:1444:24: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", codepage)'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1442|           size_t osize = size;
# 1443|           size_t ileft = size;
# 1444|->         size_t oleft = size - 1;
# 1445|           char *ip;
# 1446|           char *op;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
libass-0.17.4/libass/ass.c:1458:22: warning[-Wanalyzer-malloc-leak]: leak of 'op'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1456|           while (1) {
# 1457|               if (ileft)
# 1458|->                 rc = iconv(icdsc, &ip, &ileft, &op, &oleft);
# 1459|               else {              // clear the conversion state and leave
# 1460|                   clear = 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libass-0.17.4/libass/ass.c:1458:22: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1456|           while (1) {
# 1457|               if (ileft)
# 1458|->                 rc = iconv(icdsc, &ip, &ileft, &op, &oleft);
# 1459|               else {              // clear the conversion state and leave
# 1460|                   clear = 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libass-0.17.4/libass/ass.c:1461:22: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
libass-0.17.4/libass/ass.c:1594:12: enter_function: entry to 'ass_read_memory'
libass-0.17.4/libass/ass.c:1600:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass.c:1604:8: branch_false: ...to here
libass-0.17.4/libass/ass.c:1604:8: branch_true: following 'true' branch (when 'codepage' is non-NULL)...
libass-0.17.4/libass/ass.c:1605:15: branch_true: ...to here
libass-0.17.4/libass/ass.c:1605:15: call_function: calling 'sub_recode' from 'ass_read_memory'
# 1459|               else {              // clear the conversion state and leave
# 1460|                   clear = 1;
# 1461|->                 rc = iconv(icdsc, NULL, NULL, &op, &oleft);
# 1462|               }
# 1463|               if (rc == (size_t) (-1)) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libass-0.17.4/libass/ass.c:1541:13: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
libass-0.17.4/libass/ass.c:1631:14: enter_function: entry to 'read_file_recode'
libass-0.17.4/libass/ass.c:1637:11: call_function: calling 'ass_load_file' from 'read_file_recode'
# 1539|           res = fread(buf + bytes_read, 1, sz - bytes_read, fp);
# 1540|           if (res <= 0) {
# 1541|->             ass_msg(library, MSGL_INFO, "Read failed, %d: %s", errno,
# 1542|                       strerror(errno));
# 1543|               fclose(fp);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libass-0.17.4/libass/ass_cache.c:419:10: warning[-Wanalyzer-malloc-leak]: leak of 'item'
libass-0.17.4/libass/ass_cache.c:411:12: acquire_memory: allocated here
libass-0.17.4/libass/ass_cache.c:412:8: branch_false: following 'false' branch (when 'item' is non-NULL)...
libass-0.17.4/libass/ass_cache.c:416:5: branch_false: ...to here
libass-0.17.4/libass/ass_cache.c:419:10: throw: if the called function throws an exception...
libass-0.17.4/libass/ass_cache.c:419:10: danger: 'item' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  417|       item->desc = desc;
#  418|       void *new_key = (char *) item + key_offs;
#  419|->     if (!desc->key_move_func(new_key, key)) {
#  420|           free(item);
#  421|           return NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libass-0.17.4/libass/ass_font.c:154:12: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(*encoding_str, "UTF-32LE")'
libass-0.17.4/libass/ass_font.c:152:12: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_font.c:153:14: branch_true: ...to here
libass-0.17.4/libass/ass_font.c:153:14: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:154:12: danger: 'iconv_open(*encoding_str, "UTF-32LE")' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  152|       while (*encoding_str) {
#  153|           cd = iconv_open(*encoding_str, "UTF-32LE");
#  154|->         if (cd != (iconv_t) -1) break;
#  155|           ++encoding_str;
#  156|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libass-0.17.4/libass/ass_font.c:176:9: warning[-Wanalyzer-malloc-leak]: leak of 'cd'
libass-0.17.4/libass/ass_font.c:152:12: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_font.c:153:14: branch_true: ...to here
libass-0.17.4/libass/ass_font.c:153:14: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:157:8: branch_false: following 'false' branch (when 'cd != 18446744073709551615')...
libass-0.17.4/libass/ass_font.c:157:8: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:166:21: branch_true: following 'true' branch (when 'i != 4')...
libass-0.17.4/libass/ass_font.c:167:9: branch_true: ...to here
libass-0.17.4/libass/ass_font.c:166:21: branch_true: following 'true' branch (when 'i != 4')...
libass-0.17.4/libass/ass_font.c:167:9: branch_true: ...to here
libass-0.17.4/libass/ass_font.c:176:9: throw: if 'iconv' throws an exception...
libass-0.17.4/libass/ass_font.c:176:9: danger: 'cd' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  174|       char *inbuf = input_buffer;
#  175|       char *outbuf = output_buffer;
#  176|->     if (iconv(cd, &inbuf, &inbuf_size, &outbuf, &outbuf_size))
#  177|           goto clean;
#  178|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libass-0.17.4/libass/ass_font.c:391:23: warning[-Wanalyzer-malloc-leak]: leak of 'fs'
libass-0.17.4/libass/ass_font.c:381:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:382:8: branch_false: following 'false' branch (when 'fs' is non-NULL)...
libass-0.17.4/libass/ass_font.c:384:5: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:387:8: branch_false: following 'false' branch (when 'ftstream' is non-NULL)...
libass-0.17.4/libass/ass_font.c:391:23: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:391:23: throw: if the called function throws an exception...
libass-0.17.4/libass/ass_font.c:391:23: danger: 'fs' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  389|           return NULL;
#  390|       }
#  391|->     ftstream->size  = stream->func(stream->priv, NULL, 0, 0);
#  392|       ftstream->read  = read_stream_font;
#  393|       ftstream->close = close_stream_font;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libass-0.17.4/libass/ass_font.c:391:23: warning[-Wanalyzer-malloc-leak]: leak of 'ftstream'
libass-0.17.4/libass/ass_font.c:382:8: branch_false: following 'false' branch (when 'fs' is non-NULL)...
libass-0.17.4/libass/ass_font.c:384:5: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:386:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:387:8: branch_false: following 'false' branch (when 'ftstream' is non-NULL)...
libass-0.17.4/libass/ass_font.c:391:23: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:391:23: throw: if the called function throws an exception...
libass-0.17.4/libass/ass_font.c:391:23: danger: 'ftstream' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  389|           return NULL;
#  390|       }
#  391|->     ftstream->size  = stream->func(stream->priv, NULL, 0, 0);
#  392|       ftstream->read  = read_stream_font;
#  393|       ftstream->close = close_stream_font;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libass-0.17.4/libass/ass_font.c:402:17: warning[-Wanalyzer-malloc-leak]: leak of 'fs'
libass-0.17.4/libass/ass_font.c:381:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:382:8: branch_false: following 'false' branch (when 'fs' is non-NULL)...
libass-0.17.4/libass/ass_font.c:384:5: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:387:8: branch_false: following 'false' branch (when 'ftstream' is non-NULL)...
libass-0.17.4/libass/ass_font.c:391:23: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:402:17: throw: if 'FT_Open_Face' throws an exception...
libass-0.17.4/libass/ass_font.c:402:17: danger: 'fs' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
#  400|   
#  401|       FT_Face face;
#  402|->     int error = FT_Open_Face(ftlib, &args, index, &face);
#  403|       if (error) {
#  404|           if (name) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libass-0.17.4/libass/ass_font.c:402:17: warning[-Wanalyzer-malloc-leak]: leak of 'ftstream'
libass-0.17.4/libass/ass_font.c:382:8: branch_false: following 'false' branch (when 'fs' is non-NULL)...
libass-0.17.4/libass/ass_font.c:384:5: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:386:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_font.c:387:8: branch_false: following 'false' branch (when 'ftstream' is non-NULL)...
libass-0.17.4/libass/ass_font.c:391:23: branch_false: ...to here
libass-0.17.4/libass/ass_font.c:402:17: throw: if 'FT_Open_Face' throws an exception...
libass-0.17.4/libass/ass_font.c:402:17: danger: 'ftstream' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
#  400|   
#  401|       FT_Face face;
#  402|->     int error = FT_Open_Face(ftlib, &args, index, &face);
#  403|       if (error) {
#  404|           if (name) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libass-0.17.4/libass/ass_fontconfig.c:365:18: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:365:18: throw: if 'FcConfigCreate' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:365:18: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  363|   
#  364|       // build and load fontconfig configuration
#  365|->     fc->config = FcConfigCreate();
#  366|   
#  367|       if (fc->config)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libass-0.17.4/libass/ass_fontconfig.c:368:14: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:367:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:368:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:368:14: throw: if 'FcConfigParseAndLoad' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:368:14: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  366|   
#  367|       if (fc->config)
#  368|->         rc = FcConfigParseAndLoad(fc->config, (unsigned char *) config, FcTrue);
#  369|       if (!rc) {
#  370|           ass_msg(lib, MSGL_WARN, "No usable fontconfig configuration "

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libass-0.17.4/libass/ass_fontconfig.c:370:9: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:367:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:368:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:369:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:370:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:370:9: throw: if 'ass_msg' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:370:9: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  368|           rc = FcConfigParseAndLoad(fc->config, (unsigned char *) config, FcTrue);
#  369|       if (!rc) {
#  370|->         ass_msg(lib, MSGL_WARN, "No usable fontconfig configuration "
#  371|                   "file found, using fallback.");
#  372|           FcConfigDestroy(fc->config);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libass-0.17.4/libass/ass_fontconfig.c:372:9: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:367:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:368:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:369:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:370:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:372:9: throw: if 'FcConfigDestroy' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:372:9: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  370|           ass_msg(lib, MSGL_WARN, "No usable fontconfig configuration "
#  371|                   "file found, using fallback.");
#  372|->         FcConfigDestroy(fc->config);
#  373|           fc->config = FcInitLoadConfig();
#  374|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libass-0.17.4/libass/ass_fontconfig.c:373:22: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:367:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:368:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:369:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:370:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:373:22: throw: if 'FcInitLoadConfig' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:373:22: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#  371|                   "file found, using fallback.");
#  372|           FcConfigDestroy(fc->config);
#  373|->         fc->config = FcInitLoadConfig();
#  374|       }
#  375|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
libass-0.17.4/libass/ass_fontconfig.c:377:14: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:376:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:377:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:377:14: throw: if 'FcConfigBuildFonts' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:377:14: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
#  375|   
#  376|       if (fc->config)
#  377|->         rc = FcConfigBuildFonts(fc->config);
#  378|   
#  379|       if (!rc || !fc->config) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libass-0.17.4/libass/ass_fontconfig.c:380:9: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:379:9: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:380:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:380:9: throw: if 'ass_msg' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:380:9: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
#  378|   
#  379|       if (!rc || !fc->config) {
#  380|->         ass_msg(lib, MSGL_ERR,
#  381|                   "No valid fontconfig configuration found!");
#  382|           FcConfigDestroy(fc->config);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
libass-0.17.4/libass/ass_fontconfig.c:382:9: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:379:9: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontconfig.c:380:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontconfig.c:382:9: throw: if 'FcConfigDestroy' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:382:9: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
#  380|           ass_msg(lib, MSGL_ERR,
#  381|                   "No valid fontconfig configuration found!");
#  382|->         FcConfigDestroy(fc->config);
#  383|           free(fc);
#  384|           return NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
libass-0.17.4/libass/ass_fontconfig.c:388:16: warning[-Wanalyzer-malloc-leak]: leak of 'fc'
libass-0.17.4/libass/ass_fontconfig.c:360:10: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontconfig.c:361:8: branch_false: following 'false' branch (when 'fc' is non-NULL)...
libass-0.17.4/libass/ass_fontconfig.c:365:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontconfig.c:379:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontconfig.c:388:16: throw: if 'ass_font_provider_new' throws an exception...
libass-0.17.4/libass/ass_fontconfig.c:388:16: danger: 'fc' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
#  386|   
#  387|       // create font provider
#  388|->     provider = ass_font_provider_new(selector, &fontconfig_callbacks, fc);
#  389|   
#  390|       // build database from system fonts

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libass-0.17.4/libass/ass_fontselect.c:166:10: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  164|   {
#  165|       ASS_Dir d;
#  166|->     if (!ass_open_dir(&d, dir))
#  167|           return;
#  168|       while (true) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libass-0.17.4/libass/ass_fontselect.c:166:10: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  164|   {
#  165|       ASS_Dir d;
#  166|->     if (!ass_open_dir(&d, dir))
#  167|           return;
#  168|       while (true) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
libass-0.17.4/libass/ass_fontselect.c:169:28: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  167|           return;
#  168|       while (true) {
#  169|->         const char *name = ass_read_dir(&d);
#  170|           if (!name)
#  171|               break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
libass-0.17.4/libass/ass_fontselect.c:169:28: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  167|           return;
#  168|       while (true) {
#  169|->         const char *name = ass_read_dir(&d);
#  170|           if (!name)
#  171|               break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
libass-0.17.4/libass/ass_fontselect.c:174:28: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  172|           if (name[0] == '.')
#  173|               continue;
#  174|->         const char *path = ass_current_file_path(&d);
#  175|           if (!path)
#  176|               continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libass-0.17.4/libass/ass_fontselect.c:174:28: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  172|           if (name[0] == '.')
#  173|               continue;
#  174|->         const char *path = ass_current_file_path(&d);
#  175|           if (!path)
#  176|               continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
libass-0.17.4/libass/ass_fontselect.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  175|           if (!path)
#  176|               continue;
#  177|->         ass_msg(library, MSGL_INFO, "Loading font file '%s'", path);
#  178|           size_t size = 0;
#  179|           void *data = ass_load_file(library, path, FN_DIR_LIST, &size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libass-0.17.4/libass/ass_fontselect.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  175|           if (!path)
#  176|               continue;
#  177|->         ass_msg(library, MSGL_INFO, "Loading font file '%s'", path);
#  178|           size_t size = 0;
#  179|           void *data = ass_load_file(library, path, FN_DIR_LIST, &size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libass-0.17.4/libass/ass_fontselect.c:179:22: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  177|           ass_msg(library, MSGL_INFO, "Loading font file '%s'", path);
#  178|           size_t size = 0;
#  179|->         void *data = ass_load_file(library, path, FN_DIR_LIST, &size);
#  180|           if (data) {
#  181|               ass_add_font(library, name, data, size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libass-0.17.4/libass/ass_fontselect.c:179:22: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  177|           ass_msg(library, MSGL_INFO, "Loading font file '%s'", path);
#  178|           size_t size = 0;
#  179|->         void *data = ass_load_file(library, path, FN_DIR_LIST, &size);
#  180|           if (data) {
#  181|               ass_add_font(library, name, data, size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
libass-0.17.4/libass/ass_fontselect.c:181:13: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  179|           void *data = ass_load_file(library, path, FN_DIR_LIST, &size);
#  180|           if (data) {
#  181|->             ass_add_font(library, name, data, size);
#  182|               free(data);
#  183|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libass-0.17.4/libass/ass_fontselect.c:181:13: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  179|           void *data = ass_load_file(library, path, FN_DIR_LIST, &size);
#  180|           if (data) {
#  181|->             ass_add_font(library, name, data, size);
#  182|               free(data);
#  183|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
libass-0.17.4/libass/ass_fontselect.c:199:5: warning[-Wanalyzer-malloc-leak]: leak of 'ass_font_provider_new(selector, & ft_funcs, 0)'
libass-0.17.4/libass/ass_fontselect.c:1017:1: enter_function: entry to 'ass_embedded_fonts_add_provider'
libass-0.17.4/libass/ass_fontselect.c:1019:30: call_function: calling 'ass_font_provider_new' from 'ass_embedded_fonts_add_provider'
libass-0.17.4/libass/ass_fontselect.c:1019:30: return_function: returning to 'ass_embedded_fonts_add_provider' from 'ass_font_provider_new'
libass-0.17.4/libass/ass_fontselect.c:1020:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1023:18: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1025:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_fontselect.c:1026:9: call_function: calling 'load_fonts_from_dir' from 'ass_embedded_fonts_add_provider'
#  197|                         void *data)
#  198|   {
#  199|->     assert(funcs->check_glyph && funcs->destroy_font);
#  200|   
#  201|       ASS_FontProvider *provider = calloc(1, sizeof(ASS_FontProvider));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libass-0.17.4/libass/ass_fontselect.c:313:20: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  311|   
#  312|       // calculate sensible weight
#  313|->     info->weight = ass_face_get_weight(face);
#  314|       info->style_flags = ass_face_get_style_flags(face);
#  315|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libass-0.17.4/libass/ass_fontselect.c:313:20: warning[-Wanalyzer-malloc-leak]: leak of 'families[num_fullname]'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  311|   
#  312|       // calculate sensible weight
#  313|->     info->weight = ass_face_get_weight(face);
#  314|       info->style_flags = ass_face_get_style_flags(face);
#  315|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
libass-0.17.4/libass/ass_fontselect.c:314:25: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  312|       // calculate sensible weight
#  313|       info->weight = ass_face_get_weight(face);
#  314|->     info->style_flags = ass_face_get_style_flags(face);
#  315|   
#  316|       info->postscript_name = (char *)FT_Get_Postscript_Name(face);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libass-0.17.4/libass/ass_fontselect.c:314:25: warning[-Wanalyzer-malloc-leak]: leak of 'families[num_fullname]'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  312|       // calculate sensible weight
#  313|       info->weight = ass_face_get_weight(face);
#  314|->     info->style_flags = ass_face_get_style_flags(face);
#  315|   
#  316|       info->postscript_name = (char *)FT_Get_Postscript_Name(face);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
libass-0.17.4/libass/ass_fontselect.c:316:37: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  314|       info->style_flags = ass_face_get_style_flags(face);
#  315|   
#  316|->     info->postscript_name = (char *)FT_Get_Postscript_Name(face);
#  317|       info->is_postscript = ass_face_is_postscript(face);
#  318|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
libass-0.17.4/libass/ass_fontselect.c:316:37: warning[-Wanalyzer-malloc-leak]: leak of 'families[num_fullname]'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  314|       info->style_flags = ass_face_get_style_flags(face);
#  315|   
#  316|->     info->postscript_name = (char *)FT_Get_Postscript_Name(face);
#  317|       info->is_postscript = ass_face_is_postscript(face);
#  318|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
libass-0.17.4/libass/ass_fontselect.c:317:27: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  315|   
#  316|       info->postscript_name = (char *)FT_Get_Postscript_Name(face);
#  317|->     info->is_postscript = ass_face_is_postscript(face);
#  318|   
#  319|       if (num_family) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libass-0.17.4/libass/ass_fontselect.c:317:27: warning[-Wanalyzer-malloc-leak]: leak of 'families[num_fullname]'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  315|   
#  316|       info->postscript_name = (char *)FT_Get_Postscript_Name(face);
#  317|->     info->is_postscript = ass_face_is_postscript(face);
#  318|   
#  319|       if (num_family) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def48]
libass-0.17.4/libass/ass_fontselect.c:323:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&families'
libass-0.17.4/libass/ass_fontselect.c:951:13: enter_function: entry to 'process_fontdata'
libass-0.17.4/libass/ass_fontselect.c:964:26: branch_true: following 'true' branch (when 'face_index < num_faces')...
libass-0.17.4/libass/ass_fontselect.c:968:14: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:981:14: call_function: calling 'get_font_info' from 'process_fontdata'
#  321|           if (info->families == NULL)
#  322|               goto error;
#  323|->         memcpy(info->families, &families, sizeof(char *) * num_family);
#  324|           info->n_family = num_family;
#  325|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
libass-0.17.4/libass/ass_fontselect.c:968:14: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:37: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  966|           FontDataFT *ft;
#  967|   
#  968|->         rc = FT_New_Memory_Face(selector->ftlibrary, (unsigned char *) data,
#  969|                                   data_size, face_index, &face);
#  970|           if (rc) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
libass-0.17.4/libass/ass_fontselect.c:968:14: warning[-Wanalyzer-malloc-leak]: leak of 'priv'
libass-0.17.4/libass/ass_fontselect.c:1071:1: enter_function: entry to 'ass_fontselect_init'
libass-0.17.4/libass/ass_fontselect.c:1075:30: acquire_memory: allocated here
libass-0.17.4/libass/ass_fontselect.c:1076:8: branch_false: following 'false' branch (when 'priv' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1079:5: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1082:28: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1082:37: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1083:26: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1083:33: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:8: branch_true: following 'true' branch (when 'family' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1086:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:8: branch_true: following 'true' branch (when 'path' is non-NULL)...
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_true: ...to here
libass-0.17.4/libass/ass_fontselect.c:1088:9: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_fontselect.c:1091:31: branch_false: ...to here
libass-0.17.4/libass/ass_fontselect.c:1091:31: call_function: calling 'ass_embedded_fonts_add_provider' from 'ass_fontselect_init'
#  966|           FontDataFT *ft;
#  967|   
#  968|->         rc = FT_New_Memory_Face(selector->ftlibrary, (unsigned char *) data,
#  969|                                   data_size, face_index, &face);
#  970|           if (rc) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
libass-0.17.4/libass/ass_render.c:231:5: warning[-Wanalyzer-malloc-leak]: leak of 'img'
libass-0.17.4/libass/ass_render.c:2784:13: enter_function: entry to 'add_background'
libass-0.17.4/libass/ass_render.c:2801:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_render.c:2803:42: branch_false: ...to here
libass-0.17.4/libass/ass_render.c:2804:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_render.c:2806:5: branch_false: ...to here
libass-0.17.4/libass/ass_render.c:2807:22: call_function: calling 'my_draw_bitmap' from 'add_background'
#  229|   
#  230|       img->source = source;
#  231|->     ass_cache_inc_ref(source);
#  232|       img->buffer = source ? NULL : bitmap;
#  233|       img->ref_count = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
libass-0.17.4/libass/ass_render.c:235:12: warning[-Wanalyzer-malloc-leak]: leak of 'img'
libass-0.17.4/libass/ass_render.c:2784:13: enter_function: entry to 'add_background'
libass-0.17.4/libass/ass_render.c:2801:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_render.c:2803:42: branch_false: ...to here
libass-0.17.4/libass/ass_render.c:2804:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_render.c:2806:5: branch_false: ...to here
libass-0.17.4/libass/ass_render.c:2807:22: call_function: calling 'my_draw_bitmap' from 'add_background'
#  233|       img->ref_count = 0;
#  234|   
#  235|->     return &img->result;
#  236|   }
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
libass-0.17.4/libass/ass_shaper.c:142:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1031:9: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1058:5: call_function: calling 'ass_shaper_free' from 'ass_shaper_new'
#  140|       free(shaper->cmap);
#  141|       free(shaper->pbase_dir);
#  142|->     hb_font_funcs_destroy(shaper->font_funcs);
#  143|       hb_buffer_destroy(shaper->buf);
#  144|       free(shaper);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
libass-0.17.4/libass/ass_shaper.c:143:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1031:9: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1058:5: call_function: calling 'ass_shaper_free' from 'ass_shaper_new'
#  141|       free(shaper->pbase_dir);
#  142|       hb_font_funcs_destroy(shaper->font_funcs);
#  143|->     hb_buffer_destroy(shaper->buf);
#  144|       free(shaper);
#  145|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
libass-0.17.4/libass/ass_shaper.c:289:7: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
libass-0.17.4/libass/ass_shaper.c:282:6: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:285:15: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:285:15: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:286:6: branch_false: following 'false' branch (when 'buf' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:289:7: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:289:7: throw: if 'FT_Load_Sfnt_Table' throws an exception...
libass-0.17.4/libass/ass_shaper.c:289:7: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  287|       return NULL;
#  288|   
#  289|->   if (FT_Load_Sfnt_Table(face, tag, 0, (FT_Byte*)buf, &len) != FT_Err_Ok) {
#  290|       free(buf);
#  291|       return NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
libass-0.17.4/libass/ass_shaper.c:491:5: warning[-Wanalyzer-malloc-leak]: leak of 'metrics'
libass-0.17.4/libass/ass_shaper.c:475:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:478:65: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:479:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:483:47: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:483:47: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:484:8: branch_false: following 'false' branch (when 'metrics' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:488:30: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:491:5: throw: if 'hb_font_set_funcs' throws an exception...
libass-0.17.4/libass/ass_shaper.c:491:5: danger: 'metrics' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
#  489|       metrics->hash_key = key;
#  490|   
#  491|->     hb_font_set_funcs(hb_font, shaper->font_funcs, metrics, free);
#  492|   
#  493|       update_hb_size(hb_font, font->faces[info->face_index], m);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
libass-0.17.4/libass/ass_shaper.c:788:5: warning[-Wanalyzer-malloc-leak]: leak of 'joins'
libass-0.17.4/libass/ass_shaper.c:785:33: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:788:5: throw: if 'fribidi_get_joining_types' throws an exception...
libass-0.17.4/libass/ass_shaper.c:788:5: danger: 'joins' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#  786|   
#  787|       // shape on codepoint level
#  788|->     fribidi_get_joining_types(shaper->event_text, len, joins);
#  789|       fribidi_join_arabic(shaper->ctypes, len, shaper->emblevels, joins);
#  790|       fribidi_shape(FRIBIDI_FLAGS_DEFAULT | FRIBIDI_FLAGS_ARABIC,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libass-0.17.4/libass/ass_shaper.c:1035:51: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1035:51: throw: if 'hb_font_funcs_create' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1035:51: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
# 1033|       shaper->metrics_cache = metrics_cache;
# 1034|   
# 1035|->     hb_font_funcs_t *funcs = shaper->font_funcs = hb_font_funcs_create();
# 1036|       if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
libass-0.17.4/libass/ass_shaper.c:1035:51: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1035:51: throw: if 'hb_font_funcs_create' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1035:51: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
# 1033|       shaper->metrics_cache = metrics_cache;
# 1034|   
# 1035|->     hb_font_funcs_t *funcs = shaper->font_funcs = hb_font_funcs_create();
# 1036|       if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
libass-0.17.4/libass/ass_shaper.c:1036:9: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:9: throw: if 'hb_font_funcs_is_immutable' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1036:9: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/7)
# 1034|   
# 1035|       hb_font_funcs_t *funcs = shaper->font_funcs = hb_font_funcs_create();
# 1036|->     if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
libass-0.17.4/libass/ass_shaper.c:1036:9: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:9: throw: if 'hb_font_funcs_is_immutable' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1036:9: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
# 1034|   
# 1035|       hb_font_funcs_t *funcs = shaper->font_funcs = hb_font_funcs_create();
# 1036|->     if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libass-0.17.4/libass/ass_shaper.c:1038:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1038:5: throw: if 'hb_font_funcs_set_nominal_glyph_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1038:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
# 1036|       if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;
# 1038|->     hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
libass-0.17.4/libass/ass_shaper.c:1038:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1038:5: throw: if 'hb_font_funcs_set_nominal_glyph_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1038:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
# 1036|       if (hb_font_funcs_is_immutable(funcs))
# 1037|           goto error;
# 1038|->     hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libass-0.17.4/libass/ass_shaper.c:1039:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1039:5: throw: if 'hb_font_funcs_set_variation_glyph_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1039:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/7)
# 1037|           goto error;
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|->     hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
libass-0.17.4/libass/ass_shaper.c:1039:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1039:5: throw: if 'hb_font_funcs_set_variation_glyph_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1039:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
# 1037|           goto error;
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|->     hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
libass-0.17.4/libass/ass_shaper.c:1040:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1040:5: throw: if 'hb_font_funcs_set_glyph_h_advance_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1040:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/7)
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|->     hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
libass-0.17.4/libass/ass_shaper.c:1040:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1040:5: throw: if 'hb_font_funcs_set_glyph_h_advance_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1040:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
# 1038|       hb_font_funcs_set_nominal_glyph_func(funcs, get_glyph_nominal, NULL, NULL);
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|->     hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
libass-0.17.4/libass/ass_shaper.c:1041:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1041:5: throw: if 'hb_font_funcs_set_glyph_v_advance_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1041:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/7)
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|->     hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
libass-0.17.4/libass/ass_shaper.c:1041:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1041:5: throw: if 'hb_font_funcs_set_glyph_v_advance_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1041:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
# 1039|       hb_font_funcs_set_variation_glyph_func(funcs, get_glyph_variation, NULL, NULL);
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|->     hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
libass-0.17.4/libass/ass_shaper.c:1042:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1042:5: throw: if 'hb_font_funcs_set_glyph_h_origin_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1042:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/7)
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|->     hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
libass-0.17.4/libass/ass_shaper.c:1042:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1042:5: throw: if 'hb_font_funcs_set_glyph_h_origin_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1042:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
# 1040|       hb_font_funcs_set_glyph_h_advance_func(funcs, cached_h_advance, NULL, NULL);
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|->     hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
libass-0.17.4/libass/ass_shaper.c:1043:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1043:5: throw: if 'hb_font_funcs_set_glyph_v_origin_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1043:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/7)
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|->     hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
libass-0.17.4/libass/ass_shaper.c:1043:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1043:5: throw: if 'hb_font_funcs_set_glyph_v_origin_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1043:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
# 1041|       hb_font_funcs_set_glyph_v_advance_func(funcs, cached_v_advance, NULL, NULL);
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|->     hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
libass-0.17.4/libass/ass_shaper.c:1044:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1044:5: throw: if 'hb_font_funcs_set_glyph_h_kerning_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1044:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|->     hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
libass-0.17.4/libass/ass_shaper.c:1044:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1044:5: throw: if 'hb_font_funcs_set_glyph_h_kerning_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1044:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
# 1042|       hb_font_funcs_set_glyph_h_origin_func(funcs, cached_h_origin, NULL, NULL);
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|->     hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
libass-0.17.4/libass/ass_shaper.c:1045:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1045:5: throw: if 'hb_font_funcs_set_glyph_v_kerning_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1045:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/7)
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|->     hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libass-0.17.4/libass/ass_shaper.c:1045:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1045:5: throw: if 'hb_font_funcs_set_glyph_v_kerning_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1045:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/3)
# 1043|       hb_font_funcs_set_glyph_v_origin_func(funcs, cached_v_origin, NULL, NULL);
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|->     hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libass-0.17.4/libass/ass_shaper.c:1046:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1046:5: throw: if 'hb_font_funcs_set_glyph_extents_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1046:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/7)
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|->     hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libass-0.17.4/libass/ass_shaper.c:1046:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1046:5: throw: if 'hb_font_funcs_set_glyph_extents_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1046:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
# 1044|       hb_font_funcs_set_glyph_h_kerning_func(funcs, get_h_kerning, NULL, NULL);
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|->     hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
libass-0.17.4/libass/ass_shaper.c:1047:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1047:5: throw: if 'hb_font_funcs_set_glyph_contour_point_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1047:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/7)
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|->     hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   
# 1049|       hb_font_funcs_make_immutable(funcs);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
libass-0.17.4/libass/ass_shaper.c:1047:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1047:5: throw: if 'hb_font_funcs_set_glyph_contour_point_func' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1047:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
# 1045|       hb_font_funcs_set_glyph_v_kerning_func(funcs, get_v_kerning, NULL, NULL);
# 1046|       hb_font_funcs_set_glyph_extents_func(funcs, cached_extents, NULL, NULL);
# 1047|->     hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   
# 1049|       hb_font_funcs_make_immutable(funcs);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libass-0.17.4/libass/ass_shaper.c:1049:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1049:5: throw: if 'hb_font_funcs_make_immutable' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1049:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/7)
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   
# 1049|->     hb_font_funcs_make_immutable(funcs);
# 1050|   
# 1051|       shaper->buf = hb_buffer_create();

Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libass-0.17.4/libass/ass_shaper.c:1049:5: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1049:5: throw: if 'hb_font_funcs_make_immutable' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1049:5: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/3)
# 1047|       hb_font_funcs_set_glyph_contour_point_func(funcs, get_contour_point, NULL, NULL);
# 1048|   
# 1049|->     hb_font_funcs_make_immutable(funcs);
# 1050|   
# 1051|       shaper->buf = hb_buffer_create();

Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libass-0.17.4/libass/ass_shaper.c:1051:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1051:19: throw: if 'hb_buffer_create' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1051:19: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/7)
# 1049|       hb_font_funcs_make_immutable(funcs);
# 1050|   
# 1051|->     shaper->buf = hb_buffer_create();
# 1052|       if (!hb_buffer_allocation_successful(shaper->buf))
# 1053|           goto error;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libass-0.17.4/libass/ass_shaper.c:1051:19: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1051:19: throw: if 'hb_buffer_create' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1051:19: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/3)
# 1049|       hb_font_funcs_make_immutable(funcs);
# 1050|   
# 1051|->     shaper->buf = hb_buffer_create();
# 1052|       if (!hb_buffer_allocation_successful(shaper->buf))
# 1053|           goto error;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
libass-0.17.4/libass/ass_shaper.c:1052:10: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1052:10: throw: if 'hb_buffer_allocation_successful' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1052:10: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/7)
# 1050|   
# 1051|       shaper->buf = hb_buffer_create();
# 1052|->     if (!hb_buffer_allocation_successful(shaper->buf))
# 1053|           goto error;
# 1054|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
libass-0.17.4/libass/ass_shaper.c:1052:10: warning[-Wanalyzer-malloc-leak]: leak of 'shaper'
libass-0.17.4/libass/ass_shaper.c:1020:13: enter_function: entry to 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1022:5: branch_true: following 'true' branch (when 'metrics_cache' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1024:26: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1024:26: acquire_memory: allocated here
libass-0.17.4/libass/ass_shaper.c:1025:8: branch_false: following 'false' branch (when 'shaper' is non-NULL)...
libass-0.17.4/libass/ass_shaper.c:1028:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1030:10: call_function: calling 'init_features' from 'ass_shaper_new'
libass-0.17.4/libass/ass_shaper.c:1030:10: return_function: returning to 'ass_shaper_new' from 'init_features'
libass-0.17.4/libass/ass_shaper.c:1030:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_shaper.c:1032:5: branch_true: ...to here
libass-0.17.4/libass/ass_shaper.c:1036:8: branch_false: following 'false' branch...
libass-0.17.4/libass/ass_shaper.c:1038:5: branch_false: ...to here
libass-0.17.4/libass/ass_shaper.c:1052:10: throw: if 'hb_buffer_allocation_successful' throws an exception...
libass-0.17.4/libass/ass_shaper.c:1052:10: danger: 'shaper' leaks here; was allocated at [(4)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/3)
# 1050|   
# 1051|       shaper->buf = hb_buffer_create();
# 1052|->     if (!hb_buffer_allocation_successful(shaper->buf))
# 1053|           goto error;
# 1054|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def88]
libass-0.17.4/libass/ass_utils.c:121:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libass-0.17.4/libass/ass_utils.c:120:5: acquire_resource: 'va_start' called here
libass-0.17.4/libass/ass_utils.c:121:5: throw: if the called function throws an exception...
libass-0.17.4/libass/ass_utils.c:121:5: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  119|       va_list va;
#  120|       va_start(va, fmt);
#  121|->     priv->msg_callback(lvl, fmt, va, priv->msg_callback_data);
#  122|       va_end(va);
#  123|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libass-0.17.4/libass/ass_utils.h:247:12: warning[-Wanalyzer-malloc-leak]: leak of 'root'
libass-0.17.4/libass/ass_drawing.c:314:6: enter_function: entry to 'ass_drawing_parse'
libass-0.17.4/libass/ass_drawing.c:317:8: branch_true: following 'true' branch...
libass-0.17.4/libass/ass_drawing.c:319:5: call_function: inlined call to 'rectangle_reset' from 'ass_drawing_parse'
libass-0.17.4/libass/ass_drawing.c:321:32: call_function: calling 'drawing_tokenize' from 'ass_drawing_parse'
#  245|   {
#  246|       char *start = *p;
#  247|->     *res = ass_strtod(*p, p);
#  248|       return *p != start;
#  249|   }

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-4.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibass-0.17.4-1.fc44
store-results-to/tmp/tmp6krnopsr/libass-0.17.4-1.fc44.tar.xz
time-created2026-01-08 18:30:26
time-finished2026-01-08 18:31:59
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp6krnopsr/libass-0.17.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6krnopsr/libass-0.17.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9