ghostscript-10.05.0-1.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/usr/bin/dvipdf:26:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   24|   done
#   25|   
#   26|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   27|   	echo "Usage: `basename \"$0\"` [options...] input.dvi [output.pdf]" 1>&2
#   28|   	exit 1

Error: SHELLCHECK_WARNING (CWE-477): [#def2]
/usr/bin/ps2epsi:23:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   21|   export outfile
#   22|   
#   23|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   24|   	echo "Usage: `basename \"$0\"` file.ps [file.epsi]" 1>&2
#   25|   	exit 1

Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/usr/bin/ps2pdfwr:23:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   21|   done
#   22|   
#   23|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   24|   	echo "Usage: `basename \"$0\"` [options...] (input.[e]ps|-) [output.pdf|-]" 1>&2
#   25|   	exit 1

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
ghostscript-10.05.0/./base/gdevmem.c:959:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gdevmem.c:948:6: enter_function: entry to ‘mem_dev_initialize_device_procs’
ghostscript-10.05.0/./base/gdevmem.c:955:11: call_function: inlined call to ‘gdev_mem_functions_for_bits’ from ‘mem_dev_initialize_device_procs’
ghostscript-10.05.0/./base/gdevmem.c:957:5: branch_false: ...to here
ghostscript-10.05.0/./base/gdevmem.c:959:5: danger: dereference of NULL ‘<unknown>’
#  957|       mem_initialize_device_procs(dev);
#  958|   
#  959|->     set_dev_proc(dev, map_rgb_color, fns->map_rgb_color);
#  960|       set_dev_proc(dev, map_color_rgb, fns->map_color_rgb);
#  961|       set_dev_proc(dev, fill_rectangle, fns->fill_rectangle);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
ghostscript-10.05.0/./base/gdevmem.c:976:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gdevmem.c:969:6: enter_function: entry to ‘mem_word_dev_initialize_device_procs’
ghostscript-10.05.0/./base/gdevmem.c:972:17: call_function: inlined call to ‘gdev_mem_word_functions_for_bits’ from ‘mem_word_dev_initialize_device_procs’
ghostscript-10.05.0/./base/gdevmem.c:974:5: branch_false: ...to here
ghostscript-10.05.0/./base/gdevmem.c:976:5: danger: dereference of NULL ‘<unknown>’
#  974|       mem_initialize_device_procs(dev);
#  975|   
#  976|->     set_dev_proc(dev, map_rgb_color, fns->map_rgb_color);
#  977|       set_dev_proc(dev, map_color_rgb, fns->map_color_rgb);
#  978|       set_dev_proc(dev, fill_rectangle, fns->fill_rectangle);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
ghostscript-10.05.0/./base/gdevp14.c:9653:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&buf’
ghostscript-10.05.0/./base/gdevp14.c:9450:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevp14.c:9452:5: branch_false: ...to here
ghostscript-10.05.0/./base/gdevp14.c:9455:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevp14.c:9458:5: branch_false: ...to here
ghostscript-10.05.0/./base/gdevp14.c:9638:8: branch_false: following ‘false’ branch (when ‘avail >= need’)...
ghostscript-10.05.0/./base/gdevp14.c:9648:10: branch_false: ...to here
ghostscript-10.05.0/./base/gdevp14.c:9648:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevp14.c:9649:10: branch_false: ...to here
ghostscript-10.05.0/./base/gdevp14.c:9648:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevp14.c:9653:23: branch_false: ...to here
ghostscript-10.05.0/./base/gdevp14.c:9653:5: danger: use of uninitialized value ‘&buf’ here
# 9651|   
# 9652|       /* Copy our serialized data into the output buffer */
# 9653|->     memcpy(data, buf, need - mask_size);
# 9654|       if (mask_size)	/* Include the transfer mask data if present */
# 9655|           memcpy(data + need - mask_size, pparams->transfer_fn, mask_size);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def7]
ghostscript-10.05.0/./base/gdevsclass.c:397:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.05.0/./base/gdevsclass.c:378:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:379:16: branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:380:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:383:13: branch_false: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:383:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:384:20: branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:387:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:388:29: branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:397:32: danger: pointer ‘dev’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  395|                           psubclass_data->pre_composite_device = NULL;
#  396|                           psubclass_data->saved_finalize_method = NULL;
#  397|->                         while (dev) {
#  398|                               memcpy(&(dev->color_info), &(dev->child->color_info), sizeof(gx_device_color_info));
#  399|                               dev->num_planar_planes = dev->child->num_planar_planes;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def8]
ghostscript-10.05.0/./base/gdevsclass.c:438:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.05.0/./base/gdevsclass.c:378:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:379:16: branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:380:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:383:13: branch_false: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:383:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevsclass.c:384:20: branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:437:24: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gdevsclass.c:438:32: danger: pointer ‘dev’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  436|                        */
#  437|                       if (psubclass_data->pre_composite_device != NULL) {
#  438|->                         while (dev) {
#  439|                               memcpy(&(dev->color_info), &(dev->child->color_info), sizeof(gx_device_color_info));
#  440|                               dev->num_planar_planes = dev->child->num_planar_planes;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def9]
ghostscript-10.05.0/./base/gdevvec.c:121:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘line_start.x’
ghostscript-10.05.0/./base/gdevvec.c:99:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gdevvec.c:101:5: branch_false: ...to here
ghostscript-10.05.0/./base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.05.0/./base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:111:20: branch_true: following ‘true’ branch (when ‘incomplete_line == 0’)...
ghostscript-10.05.0/./base/gdevvec.c:112:21: branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.05.0/./base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:120:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gdevvec.c:121:36: branch_true: ...to here
ghostscript-10.05.0/./base/gdevvec.c:121:36: danger: use of uninitialized value ‘line_start.x’ here
#  119|                    */
#  120|                   if (vs[0].x == line_end.x) {
#  121|->                     if (vs[0].x == line_start.x &&
#  122|                           coord_between(line_start.y, line_end.y, vs[0].y)
#  123|                           ) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def10]
ghostscript-10.05.0/./base/genconf.c:856:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4097)’ where non-null expected
ghostscript-10.05.0/./base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.05.0/./base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.05.0/./base/genconf.c:854:16: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:856:5: danger: argument 1 (‘malloc(4097)’) from [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9) could be NULL where non-null expected
#argument 1 of ‘__builtin_strcpy’ must be non-null
#  854|       category = mmalloc(MAX_TOKEN + 1, "read_dev(category)");
#  855|       file_index = item - pconf->file_contents.items;
#  856|->     strcpy(category, "obj");
#  857|       while ((len = read_token(token, MAX_TOKEN, &in)) > 0) {
#  858|           int ind = add_entry(pconf, category, token, file_index);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
ghostscript-10.05.0/./base/genconf.c:897:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.05.0/./base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.05.0/./base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.05.0/./base/genconf.c:853:13: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:857:19: call_function: calling ‘read_token’ from ‘read_dev’
#  895|               continue;
#  896|           }
#  897|->         token[len++] = ch;
#  898|       }
#  899|       token[len] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
ghostscript-10.05.0/./base/genconf.c:899:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.05.0/./base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.05.0/./base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.05.0/./base/genconf.c:853:13: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.05.0/./base/genconf.c:857:19: call_function: calling ‘read_token’ from ‘read_dev’
#  897|           token[len++] = ch;
#  898|       }
#  899|->     token[len] = 0;
#  900|       *pin = in;
#  901|       return (len >= max_len ? -1 /* token too long */ : len);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def13]
ghostscript-10.05.0/./base/genconf.c:1159:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(len + 1))’ where non-null expected
ghostscript-10.05.0/./base/genconf.c:1143:1: enter_function: entry to ‘write_list_pattern’
ghostscript-10.05.0/./base/genconf.c:1151:17: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/genconf.c:1152:28: branch_true: ...to here
ghostscript-10.05.0/./base/genconf.c:1154:21: call_function: inlined call to ‘mmalloc’ from ‘write_list_pattern’
ghostscript-10.05.0/./base/genconf.c:1159:9: danger: argument 1 (‘malloc((long unsigned int)(len + 1))’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
#argument 1 of ‘__builtin_strcpy’ must be non-null
# 1157|           char *alist;
# 1158|   
# 1159|->         strcpy(str, lstr);
# 1160|           if (pat->drop_extn) {
# 1161|               char *dot = str + len;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def14]
ghostscript-10.05.0/./base/genconf.c:1177:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(xlen + 1))’ where non-null expected
ghostscript-10.05.0/./base/genconf.c:1143:1: enter_function: entry to ‘write_list_pattern’
ghostscript-10.05.0/./base/genconf.c:1151:17: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/genconf.c:1152:28: branch_true: ...to here
ghostscript-10.05.0/./base/genconf.c:1156:22: call_function: inlined call to ‘mmalloc’ from ‘write_list_pattern’
ghostscript-10.05.0/./base/genconf.c:1177:9: danger: argument 1 (‘malloc((long unsigned int)(xlen + 1))’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
#argument 1 of ‘__builtin_sprintf’ must be non-null
# 1175|           /* We repeat str for the benefit of patterns that */
# 1176|           /* need the argument substituted in more than one place. */
# 1177|->         sprintf(xstr, pat->pattern, str, str, str);
# 1178|           /* Check to make sure the item is within the scope of */
# 1179|           /* an appropriate #ifdef, if necessary. */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def15]
ghostscript-10.05.0/./base/gsdevice.c:1245:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
ghostscript-10.05.0/./base/gsdevice.c:1213:5: enter_function: entry to ‘gx_device_delete_output_file’
ghostscript-10.05.0/./base/gsdevice.c:1221:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1226:11: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1227:12: call_function: calling ‘gx_parse_output_file_name’ from ‘gx_device_delete_output_file’
ghostscript-10.05.0/./base/gsdevice.c:1227:12: return_function: returning to ‘gx_device_delete_output_file’ from ‘gx_parse_output_file_name’
ghostscript-10.05.0/./base/gsdevice.c:1229:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1233:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1233:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.05.0/./base/gsdevice.c:1236:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1236:9: release_memory: ‘fmt’ is NULL
ghostscript-10.05.0/./base/gsdevice.c:1236:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1245:16: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1245:15: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1245:30: branch_true: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1245:30: release_memory: ‘fmt’ is NULL
ghostscript-10.05.0/./base/gsdevice.c:1245:30: danger: argument 1 (‘parsed.fname’) NULL where non-null expected
#argument 1 of ‘__builtin_strchr’ must be non-null
# 1243|           else
# 1244|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1245|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1246|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1247|       else

Error: GCC_ANALYZER_WARNING (CWE-688): [#def16]
ghostscript-10.05.0/./base/gsdevice.c:1322:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
ghostscript-10.05.0/./base/gsdevice.c:1273:1: enter_function: entry to ‘gx_device_open_output_file’
ghostscript-10.05.0/./base/gsdevice.c:1281:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1286:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1286:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1291:75: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1291:12: call_function: calling ‘gx_parse_output_file_name’ from ‘gx_device_open_output_file’
ghostscript-10.05.0/./base/gsdevice.c:1291:12: return_function: returning to ‘gx_device_open_output_file’ from ‘gx_parse_output_file_name’
ghostscript-10.05.0/./base/gsdevice.c:1292:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1296:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1296:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.05.0/./base/gsdevice.c:1310:15: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1310:16: branch_true: following ‘true’ branch (when the strings are equal)...
ghostscript-10.05.0/./base/gsdevice.c:1313:9: branch_true: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1313:9: release_memory: ‘fmt’ is NULL
ghostscript-10.05.0/./base/gsdevice.c:1313:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1322:16: branch_false: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1322:15: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsdevice.c:1322:30: branch_true: ...to here
ghostscript-10.05.0/./base/gsdevice.c:1322:30: release_memory: ‘fmt’ is NULL
ghostscript-10.05.0/./base/gsdevice.c:1322:30: danger: argument 1 (‘parsed.fname’) NULL where non-null expected
#argument 1 of ‘__builtin_strchr’ must be non-null
# 1320|           else
# 1321|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1322|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1323|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1324|       else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def17]
ghostscript-10.05.0/./base/gshtx.c:422:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘comp2order[i]’
ghostscript-10.05.0/./base/gshtx.c:399:1: enter_function: entry to ‘gs_ht_install’
ghostscript-10.05.0/./base/gshtx.c:413:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gshtx.c:417:17: branch_false: ...to here
ghostscript-10.05.0/./base/gshtx.c:417:17: call_function: calling ‘alloc_ht_order’ from ‘gs_ht_install’
ghostscript-10.05.0/./base/gshtx.c:417:17: return_function: returning to ‘gs_ht_install’ from ‘alloc_ht_order’
ghostscript-10.05.0/./base/gshtx.c:417:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gshtx.c:421:17: branch_true: following ‘true’ branch (when ‘i < num_comps’)...
ghostscript-10.05.0/./base/gshtx.c:422:17: branch_true: ...to here
ghostscript-10.05.0/./base/gshtx.c:422:17: danger: use of uninitialized value ‘comp2order[i]’ here
#  420|       /* build all of the order for each component */
#  421|       for (i = 0; i < num_comps; i++) {
#  422|->         int j = comp2order[i];
#  423|   
#  424|           code = build_component(&(pht->params.ht_multiple.components[i]),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
ghostscript-10.05.0/./base/gsicc_cache.c:1772:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gsicc_cache.c:1647:1: enter_function: entry to ‘gsicc_transform_named_color’
ghostscript-10.05.0/./base/gsicc_cache.c:1679:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1680:13: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1680:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1682:17: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1682:16: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1683:17: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1682:17: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1684:24: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1684:24: call_function: calling ‘create_named_profile’ from ‘gsicc_transform_named_color’
ghostscript-10.05.0/./base/gsicc_cache.c:1684:24: return_function: returning to ‘gsicc_transform_named_color’ from ‘create_named_profile’
ghostscript-10.05.0/./base/gsicc_cache.c:1685:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1688:13: branch_false: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1695:25: branch_true: following ‘true’ branch (when ‘n < num_names’)...
ghostscript-10.05.0/./base/gsicc_cache.c:1704:40: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1703:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_cache.c:1705:21: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1726:16: branch_false: following ‘false’ branch (when ‘num_nonnone_names > 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1736:25: branch_true: following ‘true’ branch (when ‘j != 3’)...
ghostscript-10.05.0/./base/gsicc_cache.c:1737:27: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1736:25: branch_false: following ‘false’ branch (when ‘j == 3’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gsicc_cache.c:1768:24: call_function: calling ‘gsicc_get_link_profile’ from ‘gsicc_transform_named_color’
ghostscript-10.05.0/./base/gsicc_cache.c:1768:24: return_function: returning to ‘gsicc_transform_named_color’ from ‘gsicc_get_link_profile’
ghostscript-10.05.0/./base/gsicc_cache.c:1772:17: danger: dereference of NULL ‘gsicc_get_link_profile(pgs,  dev, *pgs_91(D)->icc_manager.lab_profile,  curr_output_profile,  rendering_params, *pgs.memory, 0)’
# 1770|                                               curr_output_profile, rendering_params,
# 1771|                                               pgs->memory, false);
# 1772|->             if (icc_link->is_identity) {
# 1773|                   psrc_temp = &(psrc[0]);
# 1774|               } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
ghostscript-10.05.0/./base/gsicc_manage.c:577:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘profile_data’
ghostscript-10.05.0/./base/gsicc_manage.c:576:13: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsicc_manage.c:576:13: branch_true: ...to here
ghostscript-10.05.0/./base/gsicc_manage.c:577:13: danger: dereference of NULL ‘profile_data’
#  575|           } else {
#  576|               rc_adjust(profile_data, delta, name_str);
#  577|->             gx_monitor_leave(profile_data->lock);
#  578|           }
#  579|       }

Error: GCC_ANALYZER_WARNING: [#def20]
ghostscript-10.05.0/./base/gsiorom.c:235:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.05.0/./base/gsiorom.c:140:1: enter_function: entry to ‘s_block_read_seek’
ghostscript-10.05.0/./base/gsiorom.c:147:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsiorom.c:159:30: call_function: calling ‘s_block_read_process’ from ‘s_block_read_seek’
#  233|               return ERRC;
#  234|           if (need_copy) {
#  235|->             memcpy(pw->ptr+1, dest, max_count);
#  236|               count = max_count;
#  237|           }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def21]
ghostscript-10.05.0/./base/gsparaml.c:760:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
ghostscript-10.05.0/./base/gsparaml.c:1056:5: enter_function: entry to ‘gs_param_list_dump’
ghostscript-10.05.0/./base/gsparaml.c:1065:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsparaml.c:1068:13: branch_true: ...to here
ghostscript-10.05.0/./base/gsparaml.c:1068:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsparaml.c:1072:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsparaml.c:1075:16: call_function: inlined call to ‘gs_param_list_to_string’ from ‘gs_param_list_dump’
#  758|       out->last = str[slen-1];
#  759|       if (out->value != NULL) {
#  760|->         memcpy(out->value, str, slen);
#  761|           out->value += slen;
#  762|           *out->value = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
ghostscript-10.05.0/./base/gsptype1.c:1012:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gsptype1.c:1000:1: enter_function: entry to ‘image_PaintProc’
ghostscript-10.05.0/./base/gsptype1.c:1002:32: call_function: inlined call to ‘gs_get_pattern_client_data’ from ‘image_PaintProc’
ghostscript-10.05.0/./base/gsptype1.c:1003:28: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1012:23: danger: dereference of NULL ‘<unknown>’
# 1010|        * Otherwise we want to use image type 1 processing.
# 1011|        */
# 1012|->     int transparent = ppmap->white_index < (1 << (pbitmap->num_comps * pbitmap->pix_depth));
# 1013|   
# 1014|       /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
ghostscript-10.05.0/./base/gsptype1.c:1159:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gsptype1.c:1106:5: enter_function: entry to ‘pixmap_high_level_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1113:37: call_function: inlined call to ‘gs_getpattern’ from ‘pixmap_high_level_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1116:35: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1117:53: call_function: inlined call to ‘gs_get_pattern_client_data’ from ‘pixmap_high_level_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1119:57: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1120:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1123:12: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1124:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1127:5: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1130:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1134:20: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1139:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1146:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1154:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1159:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1159:9: danger: dereference of NULL ‘<unknown>’
# 1157|       }
# 1158|   
# 1159|->     if (ppmap->pcspace != 0)
# 1160|           code = image_PaintProc(&pdc->ccolor, pgs);
# 1161|       else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
ghostscript-10.05.0/./base/gsptype1.c:1202:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pinst’
ghostscript-10.05.0/./base/gsptype1.c:1192:12: enter_function: entry to ‘pixmap_remap_mask_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1194:37: call_function: inlined call to ‘gs_getpattern’ from ‘pixmap_remap_mask_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1201:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1201:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1202:16: branch_true: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1202:16: danger: dereference of NULL ‘pinst’
# 1200|        */
# 1201|       if (pgs->have_pattern_streams)
# 1202|->         code = dev_proc(pcc->pattern->saved->device, dev_spec_op)(pcc->pattern->saved->device,
# 1203|                                   gxdso_pattern_can_accum, (void *)ppat, ppat->uid.id);
# 1204|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
ghostscript-10.05.0/./base/gsptype1.c:1230:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pinst’
ghostscript-10.05.0/./base/gsptype1.c:1220:12: enter_function: entry to ‘pixmap_remap_image_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1222:37: call_function: inlined call to ‘gs_getpattern’ from ‘pixmap_remap_image_pattern’
ghostscript-10.05.0/./base/gsptype1.c:1229:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1229:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gsptype1.c:1230:16: branch_true: ...to here
ghostscript-10.05.0/./base/gsptype1.c:1230:16: danger: dereference of NULL ‘pinst’
# 1228|        */
# 1229|       if (pgs->have_pattern_streams)
# 1230|->         code = dev_proc(pcc->pattern->saved->device, dev_spec_op)(pcc->pattern->saved->device,
# 1231|                                   gxdso_pattern_can_accum, (void *)ppat, ppat->uid.id);
# 1232|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
ghostscript-10.05.0/./base/gssprintf.c:583:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p’
ghostscript-10.05.0/./base/gssprintf.c:1498:5: enter_function: entry to ‘gs_vsprintf’
ghostscript-10.05.0/./base/gssprintf.c:1507:10: call_function: calling ‘apr_vformatter’ from ‘gs_vsprintf’
#  581|       if (apr_isalpha(*p)) {
#  582|           *len = strlen(p);
#  583|->         memcpy(buf, p, *len + 1);
#  584|           *is_negative = FALSE;
#  585|           return (buf);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
ghostscript-10.05.0/./base/gsstate.c:1327:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pfrom’
ghostscript-10.05.0/./base/gsstate.c:1316:1: enter_function: entry to ‘gstate_clone_core’
ghostscript-10.05.0/./base/gsstate.c:1322:22: call_function: calling ‘gstate_alloc’ from ‘gstate_clone_core’
ghostscript-10.05.0/./base/gsstate.c:1322:22: return_function: returning to ‘gstate_clone_core’ from ‘gstate_alloc’
ghostscript-10.05.0/./base/gsstate.c:1325:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gsstate.c:1327:9: branch_false: ...to here
ghostscript-10.05.0/./base/gsstate.c:1327:9: danger: dereference of NULL ‘pfrom’
# 1325|       if (pgs == NULL)
# 1326|           return NULL;
# 1327|->     if (pfrom->client_data != NULL) {
# 1328|           pdata = (*pfrom->client_procs.alloc) (mem);
# 1329|   

Error: GCC_ANALYZER_WARNING (CWE-127): [#def28]
ghostscript-10.05.0/./base/gstype1.c:198:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:197:17: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:198:21: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:198:21: danger: out-of-bounds read from byte -4 till byte -1 but ‘cstack’ starts at byte 0
#  196|               case c_callsubr:
#  197|                   CS_CHECK_POP(csp, cstack);
#  198|->                 c = fixed2int_var(*csp) + pdata->subroutineNumberBias;
#  199|                   code = pdata->procs.subr_data
#  200|                       (pfont, c, false, &ipsp[1].cs_data);

Error: GCC_ANALYZER_WARNING (CWE-124): [#def29]
ghostscript-10.05.0/./base/gstype1.c:428:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:427:25: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:428:35: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:428:25: danger: out-of-bounds write from byte -8 till byte -5 but ‘cstack’ starts at byte 0
#  426|                       case ce1_div:
#  427|                           CS_CHECK_POP(&csp[-1], cstack);
#  428|->                         csp[-1] = float2fixed((double)csp[-1] / (double)*csp);
#  429|                           --csp;
#  430|                           goto pushed;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def30]
ghostscript-10.05.0/./base/gstype1.c:428:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:427:25: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:428:35: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:428:35: danger: out-of-bounds read from byte -8 till byte -5 but ‘cstack’ starts at byte 0
#  426|                       case ce1_div:
#  427|                           CS_CHECK_POP(&csp[-1], cstack);
#  428|->                         csp[-1] = float2fixed((double)csp[-1] / (double)*csp);
#  429|                           --csp;
#  430|                           goto pushed;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def31]
ghostscript-10.05.0/./base/gstype1.c:443:47: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:443:47: danger: out-of-bounds read from byte -4 till byte -1 but ‘cstack’ starts at byte 0
#  441|                               if (!CS_CHECK_CSTACK_BOUNDS(csp, cstack))
#  442|                                   return_error(gs_error_invalidfont);
#  443|->                             switch (*pindex = fixed2int_var(*csp)) {
#  444|                                   case 0:
#  445|                                       if (!CS_CHECK_CSTACK_BOUNDS(&csp[-4], cstack))

Error: GCC_ANALYZER_WARNING (CWE-127): [#def32]
ghostscript-10.05.0/./base/gstype1.c:448:47: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:445:40: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:448:47: danger: out-of-bounds read from byte -20 till byte -17 but ‘cstack’ starts at byte 0
#  446|                                           return_error(gs_error_invalidfont);
#  447|                                       {
#  448|->                                         fixed fheight = csp[-4];
#  449|                                           /* Assume the next two opcodes */
#  450|                                           /* are `pop' `pop'.  Unfortunately, some */

Error: GCC_ANALYZER_WARNING (CWE-124): [#def33]
ghostscript-10.05.0/./base/gstype1.c:455:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:445:40: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:455:41: danger: out-of-bounds write from byte -20 till byte -17 but ‘cstack’ starts at byte 0
#  453|                                           /* opcode stream. */
#  454|                                           pcis->ignore_pops = 2;
#  455|->                                         csp[-4] = csp[-3] - pcis->asb_diff;
#  456|                                           csp[-3] = csp[-2];
#  457|                                           csp -= 3;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def34]
ghostscript-10.05.0/./base/gstype1.c:455:51: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:445:40: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:455:51: danger: out-of-bounds read from byte -16 till byte -13 but ‘cstack’ starts at byte 0
#  453|                                           /* opcode stream. */
#  454|                                           pcis->ignore_pops = 2;
#  455|->                                         csp[-4] = csp[-3] - pcis->asb_diff;
#  456|                                           csp[-3] = csp[-2];
#  457|                                           csp -= 3;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def35]
ghostscript-10.05.0/./base/gstype1.c:456:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:445:40: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:456:41: danger: out-of-bounds read from byte -12 till byte -9 but ‘cstack’ starts at byte 0
#  454|                                           pcis->ignore_pops = 2;
#  455|                                           csp[-4] = csp[-3] - pcis->asb_diff;
#  456|->                                         csp[-3] = csp[-2];
#  457|                                           csp -= 3;
#  458|                                           code = t1_hinter__flex_end(h, fheight);

Error: GCC_ANALYZER_WARNING (CWE-124): [#def36]
ghostscript-10.05.0/./base/gstype1.c:456:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.05.0/./base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.05.0/./base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.05.0/./base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.05.0/./base/gstype1.c:352:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:367:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype1.c:441:32: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:445:40: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype1.c:456:41: danger: out-of-bounds write from byte -16 till byte -13 but ‘cstack’ starts at byte 0
#  454|                                           pcis->ignore_pops = 2;
#  455|                                           csp[-4] = csp[-3] - pcis->asb_diff;
#  456|->                                         csp[-3] = csp[-2];
#  457|                                           csp -= 3;
#  458|                                           code = t1_hinter__flex_end(h, fheight);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
ghostscript-10.05.0/./base/gstype42.c:2116:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.05.0/./base/gstype42.c:2148:1: enter_function: entry to ‘gs_woff2sfnt’
ghostscript-10.05.0/./base/gstype42.c:2157:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2161:13: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2162:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2167:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2167:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2170:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2170:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2171:9: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2170:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2176:15: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2177:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2207:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gstype42.c:2211:17: branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2211:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gstype42.c:2225:17: branch_true: following ‘true’ branch (when ‘i < ntables’)...
ghostscript-10.05.0/./base/gstype42.c:2226:35: branch_true: ...to here
ghostscript-10.05.0/./base/gstype42.c:2241:12: branch_true: following ‘true’ branch (when ‘len != clen’)...
ghostscript-10.05.0/./base/gstype42.c:2242:17: branch_true: ...to here
ghostscript-10.05.0/./base/gstype42.c:2244:12: branch_true: following ‘true’ branch (when ‘len != clen’)...
ghostscript-10.05.0/./base/gstype42.c:2245:17: branch_true: ...to here
ghostscript-10.05.0/./base/gstype42.c:2245:17: call_function: calling ‘gs_woff_pop_flate_filter’ from ‘gs_woff2sfnt’
# 2114|   gs_woff_pop_flate_filter(stream *s)
# 2115|   {
# 2116|->     gs_memory_t *mem = s->memory;
# 2117|       stream *strm = s->strm;
# 2118|       byte *buf = s->cbuf;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
ghostscript-10.05.0/./base/gxacpath.c:484:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gxacpath.c:423:1: enter_function: entry to ‘accum_fill_rectangle’
ghostscript-10.05.0/./base/gxacpath.c:446:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:448:13: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:452:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:456:13: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:466:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:471:8: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:485:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:496:21: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:507:5: call_function: calling ‘accum_alloc_rect’ from ‘accum_fill_rectangle’
ghostscript-10.05.0/./base/gxacpath.c:507:5: return_function: returning to ‘accum_fill_rectangle’ from ‘accum_alloc_rect’
ghostscript-10.05.0/./base/gxacpath.c:507:5: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxacpath.c:507:5: branch_true: ...to here
ghostscript-10.05.0/./base/gxacpath.c:627:9: release_memory: ‘0’ is NULL
ghostscript-10.05.0/./base/gxacpath.c:628:9: release_memory: ‘0’ is NULL
ghostscript-10.05.0/./base/gxacpath.c:629:9: release_memory: ‘0’ is NULL
ghostscript-10.05.0/./base/gxacpath.c:632:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxacpath.c:636:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxacpath.c:466:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:471:8: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:471:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxacpath.c:484:16: branch_false: ...to here
ghostscript-10.05.0/./base/gxacpath.c:484:16: release_memory: ‘0’ is NULL
ghostscript-10.05.0/./base/gxacpath.c:484:9: danger: dereference of NULL ‘*(gx_device_cpath_accum *)dev.list.tail’
#  482|       }
#  483|       else
#  484|->         rptr = adev->list.tail->prev;
#  485|       if (y >= rptr->ymax) {
#  486|           if (y == rptr->ymax && x == rptr->xmin && xe == rptr->xmax &&

Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
ghostscript-10.05.0/./base/gxblend.c:5281:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./base/gxblend.c:5416:1: enter_function: entry to ‘mark_fill_rect16_add_nospots_common’
ghostscript-10.05.0/./base/gxblend.c:5421:5: call_function: calling ‘template_mark_fill_rect16’ from ‘mark_fill_rect16_add_nospots_common’
# 5279|                       /* Hybrid case, additive with subtractive spots */
# 5280|                       for (k = 0; k < (num_comp - num_spots); k++) {
# 5281|->                         dst_ptr[k * planestride] = pdst[k];
# 5282|                       }
# 5283|                       for (k = 0; k < num_spots; k++) {

Error: GCC_ANALYZER_WARNING (CWE-835): [#def40]
ghostscript-10.05.0/./base/gxchar.c:412:16: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.05.0/./base/gxchar.c:985:1: enter_function: entry to ‘show_proceed’
#  410|           /* Reduce the scale to fit into alpha bits. */
#  411|           excess = log2_scale.x + log2_scale.y - alpha_bits;
#  412|->         while (excess > 0) {
#  413|               if (log2_scale.y > 0) {
#  414|                   log2_scale.y --;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
ghostscript-10.05.0/./base/gxclist.c:276:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hsize’
ghostscript-10.05.0/./base/gxclist.c:1440:1: enter_function: entry to ‘clist_mutate_to_clist’
ghostscript-10.05.0/./base/gxclist.c:1493:8: branch_false: following ‘false’ branch (when ‘base’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxclist.c:1514:12: call_function: calling ‘clist_open’ from ‘clist_mutate_to_clist’
#  274|       cdev->tile_max_count = hc - (hc >> 2);
#  275|       cdev->tile_table = (tile_hash *) data;
#  276|->     data += hsize;
#  277|       bits_size -= hsize;
#  278|       gx_bits_cache_chunk_init(cdev->cache_chunk, data, bits_size);

Error: COMPILER_WARNING: [#def42]
ghostscript-10.05.0/./base/gxclmem.c:951:25: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
#  949|                       back_up = f->rd.limit - f->rd.ptr;
#  950|                       for (i = 0; i < back_up; i++)
#  951|->                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#  952|                   }
#  953|                   f->rd.ptr = (const byte *)bp->phys_blk->link->data - back_up - 1;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def43]
ghostscript-10.05.0/./base/gxclmem.c:1167:20: warning[-Wanalyzer-deref-before-check]: check of ‘pphys’ for NULL after already dereferencing it
ghostscript-10.05.0/./base/gxclmem.c:1155:8: branch_true: following ‘true’ branch (when ‘bp’ is non-NULL)...
ghostscript-10.05.0/./base/gxclmem.c:1157:27: branch_true: ...to here
ghostscript-10.05.0/./base/gxclmem.c:1160:30: branch_true: following ‘true’ branch (when ‘tmpbp’ is non-NULL)...
ghostscript-10.05.0/./base/gxclmem.c:1161:21: branch_true: ...to here
ghostscript-10.05.0/./base/gxclmem.c:1165:12: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxclmem.c:1167:20: danger: pointer ‘pphys’ is checked for NULL here but it was already dereferenced at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
# 1165|           if (pphys->data_limit != NULL) {
# 1166|               /* the data was compressed, free the chain of blocks             */
# 1167|->             while (pphys != NULL) {
# 1168|                   PHYS_MEMFILE_BLK *tmpphys = pphys->link;
# 1169|   

Error: COMPILER_WARNING: [#def44]
ghostscript-10.05.0/./base/gxclmem.h:56:10: note[note]: at offset [-2147483647, -1] into destination object ‘data’ of size 16224
#   54|                           /* data_limit is NULL if not compressed */
#   55|       char data_spare[4];		/* used during de-compress      */
#   56|->     char data[MEMFILE_DATA_SIZE];
#   57|   } PHYS_MEMFILE_BLK;
#   58|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
ghostscript-10.05.0/./base/gxclpath.c:1574:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*psw.cmd’
ghostscript-10.05.0/./base/gxclpath.c:1634:1: enter_function: entry to ‘cmd_put_path’
ghostscript-10.05.0/./base/gxclpath.c:1744:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclpath.c:1749:27: branch_false: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1937:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxclpath.c:1943:21: branch_true: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1952:24: branch_true: following ‘true’ branch (when ‘side != 0’)...
ghostscript-10.05.0/./base/gxclpath.c:1952:24: branch_true: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1744:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclpath.c:1749:27: branch_false: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1751:42: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxclpath.c:1751:42: branch_true: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1751:20: branch_false: following ‘false’ branch (when ‘side == 0’)...
ghostscript-10.05.0/./base/gxclpath.c:1758:21: branch_false: ...to here
ghostscript-10.05.0/./base/gxclpath.c:1760:24: call_function: calling ‘cmd_put_segment’ from ‘cmd_put_path’
# 1572|           if (code < 0)
# 1573|               return code;
# 1574|->         memcpy(dp + 1, psw->cmd, len - 1);
# 1575|           psw->len = len;
# 1576|           psw->dp = dp;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def46]
ghostscript-10.05.0/./base/gxclrast.c:1492:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.05.0/./base/gxclrast.c:589:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:593:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:651:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:653:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:657:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:661:12: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:662:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:666:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:678:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:678:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:686:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:719:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:723:12: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./base/gxclrast.c:726:13: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1490:28: branch_true: following ‘true’ branch (when ‘data_height == 0’)...
ghostscript-10.05.0/./base/gxclrast.c:1492:36: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1492:36: danger: use of uninitialized value ‘image_info’ here
# 1490|                           if (data_height == 0) {
# 1491|                               if_debug0m('L', mem, " done image\n");
# 1492|->                             code = gx_image_end(image_info, true);
# 1493|                               if (code < 0)
# 1494|                                   goto out;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def47]
ghostscript-10.05.0/./base/gxclrast.c:1504:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.05.0/./base/gxclrast.c:589:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:593:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:651:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:653:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:657:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:661:12: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:662:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:666:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:678:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:678:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:686:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:719:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:723:12: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./base/gxclrast.c:726:13: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1490:28: branch_false: following ‘false’ branch (when ‘data_height != 0’)...
ghostscript-10.05.0/./base/gxclrast.c:1502:29: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1504:52: danger: use of uninitialized value ‘image_info’ here
# 1502|                               cmd_getw(flags, cbp);
# 1503|                               for (plane = 0;
# 1504|->                                  plane < image_info->num_planes;
# 1505|                                    ++plane, flags >>= 1) {
# 1506|                                   if (flags & 1) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def48]
ghostscript-10.05.0/./base/gxclrast.c:1527:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.05.0/./base/gxclrast.c:589:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:593:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:651:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:653:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:657:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:661:12: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:662:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:666:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:678:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:678:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:686:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:719:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:723:12: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./base/gxclrast.c:726:13: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1525:28: branch_true: following ‘true’ branch (when ‘data_height == 0’)...
ghostscript-10.05.0/./base/gxclrast.c:1527:36: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1527:36: danger: use of uninitialized value ‘image_info’ here
# 1525|                           if (data_height == 0) {
# 1526|                               if_debug0m('L', mem, " done image\n");
# 1527|->                             code = gx_image_end(image_info, true);
# 1528|                               if (code < 0)
# 1529|                                   goto out;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def49]
ghostscript-10.05.0/./base/gxclrast.c:1540:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.05.0/./base/gxclrast.c:589:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:593:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:651:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:653:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:657:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:661:12: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:662:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:666:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:678:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:678:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxclrast.c:686:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:719:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:723:12: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./base/gxclrast.c:726:13: branch_true: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1525:28: branch_false: following ‘false’ branch (when ‘data_height != 0’)...
ghostscript-10.05.0/./base/gxclrast.c:1536:29: branch_false: ...to here
ghostscript-10.05.0/./base/gxclrast.c:1540:52: danger: use of uninitialized value ‘image_info’ here
# 1538|                                          data_height, bytes_per_plane);
# 1539|                               for (plane = 0;
# 1540|->                                  plane < image_info->num_planes;
# 1541|                                    ++plane
# 1542|                                    ) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def50]
ghostscript-10.05.0/./base/gxclthrd.c:906:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
#  904|           (endtime[1] - starttime[1]) / 1000000;
#  905|   #endif
#  906|->     if (code < 0)
#  907|           thread->status = THREAD_ERROR;          /* shouldn't happen */
#  908|       else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def51]
ghostscript-10.05.0/./base/gxcmap.c:1516:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cv[j]’
ghostscript-10.05.0/./base/gxcmap.c:1495:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxcmap.c:1497:9: branch_false: ...to here
ghostscript-10.05.0/./base/gxcmap.c:1508:17: branch_false: following ‘false’ branch (when ‘i >= nc’)...
ghostscript-10.05.0/./base/gxcmap.c:1513:8: branch_false: ...to here
ghostscript-10.05.0/./base/gxcmap.c:1513:8: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxcmap.c:1515:21: branch_true: following ‘true’ branch (when ‘num_additives > j’)...
ghostscript-10.05.0/./base/gxcmap.c:1516:29: branch_true: ...to here
ghostscript-10.05.0/./base/gxcmap.c:1516:29: danger: use of uninitialized value ‘cv[j]’ here
# 1514|           int j;
# 1515|           for (j = 0; j < num_additives; j++)
# 1516|->             cv[j] = 65535 - cv[j];
# 1517|       }
# 1518|       /* Copy tags untransformed. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
ghostscript-10.05.0/./base/gxcpath.c:963:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.05.0/./base/gxcpath.c:481:1: enter_function: entry to ‘gx_cpath_to_path’
ghostscript-10.05.0/./base/gxcpath.c:483:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxcpath.c:487:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxcpath.c:488:16: call_function: calling ‘gx_cpath_to_path_synthesize’ from ‘gx_cpath_to_path’
#  961|                 left:		/* Trace upward along a left edge. */
#  962|                   /* We're at the lower left corner of rp. */
#  963|->                 rp->to_visit &= ~visit_left;
#  964|                   /* Look for an adjacent rectangle above rp. */
#  965|                   for (look = rp;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
ghostscript-10.05.0/./base/gxcpath.c:1009:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.05.0/./base/gxcpath.c:481:1: enter_function: entry to ‘gx_cpath_to_path’
ghostscript-10.05.0/./base/gxcpath.c:483:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxcpath.c:487:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxcpath.c:488:16: call_function: calling ‘gx_cpath_to_path_synthesize’ from ‘gx_cpath_to_path’
# 1007|                 right:		/* Trace downward along a right edge. */
# 1008|                   /* We're at the upper right corner of rp. */
# 1009|->                 rp->to_visit &= ~visit_right;
# 1010|                   /* Look for an adjacent rectangle below rp. */
# 1011|                   for (look = rp;

Error: GCC_ANALYZER_WARNING: [#def54]
ghostscript-10.05.0/./base/gxht_thresh.c:1089:29: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.05.0/./base/gxht_thresh.c:866:1: enter_function: entry to ‘gxht_thresh_planes’
ghostscript-10.05.0/./base/gxht_thresh.c:1010:21: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.05.0/./base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1149:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: call_function: calling ‘reset_landscape_buffer’ from ‘gxht_thresh_planes’
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: return_function: returning to ‘gxht_thresh_planes’ from ‘reset_landscape_buffer’
ghostscript-10.05.0/./base/gxht_thresh.c:1010:21: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.05.0/./base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1029:24: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1067:34: branch_false: following ‘false’ branch (when ‘jj >= init_tile’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1083:24: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1088:38: branch_true: following ‘true’ branch (when ‘jj < num_tiles’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1089:59: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1089:29: danger: overlapping buffers passed as arguments to ‘memcpy’
# 1087|                           tile_remainder = dest_height - (num_tiles + 1) * thresh_height;
# 1088|                           for (jj = 0; jj < num_tiles; jj ++) {
# 1089|->                             memcpy(ptr_out, thresh_align, LAND_BITS * thresh_height);
# 1090|                               ptr_out += LAND_BITS * thresh_height;
# 1091|                           }

Error: GCC_ANALYZER_WARNING: [#def55]
ghostscript-10.05.0/./base/gxht_thresh.c:1093:25: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.05.0/./base/gxht_thresh.c:866:1: enter_function: entry to ‘gxht_thresh_planes’
ghostscript-10.05.0/./base/gxht_thresh.c:1010:21: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.05.0/./base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1149:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: call_function: calling ‘reset_landscape_buffer’ from ‘gxht_thresh_planes’
ghostscript-10.05.0/./base/gxht_thresh.c:1150:21: return_function: returning to ‘gxht_thresh_planes’ from ‘reset_landscape_buffer’
ghostscript-10.05.0/./base/gxht_thresh.c:1010:21: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.05.0/./base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1029:24: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1067:34: branch_false: following ‘false’ branch (when ‘jj >= init_tile’)...
ghostscript-10.05.0/./base/gxht_thresh.c:1083:24: branch_false: ...to here
ghostscript-10.05.0/./base/gxht_thresh.c:1093:25: danger: overlapping buffers passed as arguments to ‘memcpy’
# 1091|                           }
# 1092|                           /* Now fill in the remainder */
# 1093|->                         memcpy(ptr_out, thresh_align, LAND_BITS * tile_remainder);
# 1094|                       }
# 1095|                       /* Apply the threshold operation */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def56]
ghostscript-10.05.0/./base/gxicolor.c:790:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:689:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.05.0/./base/gxicolor.c:690:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:790:13: danger: use of uninitialized value ‘devc_contone[0]’ here
#  788|           /* Monochrome output case */
#  789|           case 1:
#  790|->             devc_contone_gray = devc_contone[0];
#  791|               switch (posture) {
#  792|                   /* Monochrome portrait */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def57]
ghostscript-10.05.0/./base/gxicolor.c:903:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:689:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.05.0/./base/gxicolor.c:690:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:901:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_true: following ‘true’ branch (when ‘dest_width == src_size’)...
ghostscript-10.05.0/./base/gxicolor.c:903:29: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:903:53: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  901|                       if (penum->dst_width > 0) {
#  902|                           if (src_size == dest_width) {
#  903|->                             memcpy(devc_contone[0], psrc_plane[0], data_length);
#  904|                               memcpy(devc_contone[1], psrc_plane[1], data_length);
#  905|                               memcpy(devc_contone[2], psrc_plane[2], data_length);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def58]
ghostscript-10.05.0/./base/gxicolor.c:910:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:689:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.05.0/./base/gxicolor.c:690:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:901:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.05.0/./base/gxicolor.c:907:36: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:907:35: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:908:41: branch_true: following ‘true’ branch (when ‘data_length > k’)...
ghostscript-10.05.0/./base/gxicolor.c:910:38: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:910:38: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  908|                               for (k = 0; k < data_length; k+=2) {
#  909|                                   *(devc_contone[0]) = *(devc_contone[0]+1) =
#  910|->                                     *psrc_plane[0]++;
#  911|                                   *(devc_contone[1]) = *(devc_contone[1]+1) =
#  912|                                       *psrc_plane[1]++;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
ghostscript-10.05.0/./base/gxicolor.c:928:60: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:689:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.05.0/./base/gxicolor.c:690:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:901:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:902:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.05.0/./base/gxicolor.c:907:36: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:907:35: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:924:44: branch_true: following ‘true’ branch (when ‘j < src_size’)...
ghostscript-10.05.0/./base/gxicolor.c:925:33: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:927:40: branch_true: following ‘true’ branch (when ‘xr < xn’)...
ghostscript-10.05.0/./base/gxicolor.c:928:60: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:928:60: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  926|                                   xn = fixed2int_var_rounded(dda_current(dda_ht));
#  927|                                   while (xr < xn) {
#  928|->                                     *(devc_contone[0])++ = (psrc_plane[0])[j];
#  929|                                       *(devc_contone[1])++ = (psrc_plane[1])[j];
#  930|                                       *(devc_contone[2])++ = (psrc_plane[2])[j];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def60]
ghostscript-10.05.0/./base/gxicolor.c:940:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:689:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.05.0/./base/gxicolor.c:690:9: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:901:24: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:940:25: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:940:25: danger: use of uninitialized value ‘devc_contone[0]’ here
#  938|                           /* CMYK case, backwards */
#  939|                           /* Move to the other end and we will decrement */
#  940|->                         devc_contone[0] += (data_length - 1);
#  941|                           devc_contone[1] += (data_length - 1);
#  942|                           devc_contone[2] += (data_length - 1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def61]
ghostscript-10.05.0/./base/gxicolor.c:973:69: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[j]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:662:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:741:16: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:964:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:965:36: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:968:40: branch_true: following ‘true’ branch (when ‘i < src_size’)...
ghostscript-10.05.0/./base/gxicolor.c:969:29: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:969:29: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:969:29: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:971:36: branch_true: following ‘true’ branch (when ‘xr > xn’)...
 branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:972:45: branch_true: following ‘true’ branch (when ‘j <= 3’)...
ghostscript-10.05.0/./base/gxicolor.c:973:69: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:973:69: danger: use of uninitialized value ‘psrc_plane[j]’ here
#  971|                               while (xr > xn) {
#  972|                                   for (j = 0; j < spp_out; j++)
#  973|->                                     *(devc_contone[j] + position) = (psrc_plane[j])[i];
#  974|                                   position -= LAND_BITS;
#  975|                                   xr--;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def62]
ghostscript-10.05.0/./base/gxicolor.c:986:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[k]’
ghostscript-10.05.0/./base/gxicolor.c:631:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:662:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gxicolor.c:664:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.05.0/./base/gxicolor.c:664:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.05.0/./base/gxicolor.c:666:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:682:5: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:741:16: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:767:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:771:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.05.0/./base/gxicolor.c:781:10: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:964:24: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxicolor.c:980:25: branch_false: ...to here
ghostscript-10.05.0/./base/gxicolor.c:985:37: branch_true: following ‘true’ branch (when ‘k <= 3’)...
ghostscript-10.05.0/./base/gxicolor.c:986:47: branch_true: ...to here
ghostscript-10.05.0/./base/gxicolor.c:986:47: danger: use of uninitialized value ‘devc_contone[k]’ here
#  984|                           /* Apply initial offset */
#  985|                           for (k = 0; k < spp_out; k++)
#  986|->                             devc_contone[k] = devc_contone[k] + position;
#  987|                           if (src_size == dest_height) {
#  988|                               for (k = 0; k < data_length; k++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
ghostscript-10.05.0/./base/gximono.c:972:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
ghostscript-10.05.0/./base/gximono.c:425:8: branch_false: following ‘false’ branch (when ‘h != 0’)...
ghostscript-10.05.0/./base/gximono.c:433:5: branch_false: ...to here
ghostscript-10.05.0/./base/gximono.c:435:8: branch_false: following ‘false’ branch (when ‘masked != 0’)...
ghostscript-10.05.0/./base/gximono.c:439:5: branch_false: ...to here
ghostscript-10.05.0/./base/gximono.c:451:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gximono.c:947:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gximono.c:948:17: branch_true: ...to here
ghostscript-10.05.0/./base/gximono.c:972:13: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/gximono.c:972:13: branch_true: ...to here
ghostscript-10.05.0/./base/gximono.c:972:13: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gximono.c:972:13: branch_false: ...to here
ghostscript-10.05.0/./base/gximono.c:972:13: danger: jump through null pointer here
#  970|                   goto err;
#  971|   #else
#  972|->             IMAGE_SET_GRAY(*stop);
#  973|   #endif
#  974|               code = gx_fill_rectangle_device_rop(xi, yt, wi, iht,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def64]
ghostscript-10.05.0/./base/gxiscale.c:2450:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc.type’
ghostscript-10.05.0/./base/gxiscale.c:2312:1: enter_function: entry to ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2330:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxiscale.c:2333:9: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2337:5: call_function: calling ‘initial_decode’ from ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2337:5: return_function: returning to ‘image_render_interpolate_landscape’ from ‘initial_decode’
ghostscript-10.05.0/./base/gxiscale.c:2377:16: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxiscale.c:2379:17: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2384:20: branch_false: following ‘false’ branch (when ‘abs_interp_limit <= 1’)...
ghostscript-10.05.0/./base/gxiscale.c:2391:22: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2391:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxiscale.c:2395:26: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2396:20: branch_true: following ‘true’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.05.0/./base/gxiscale.c:2397:37: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2397:37: call_function: calling ‘get_color_handler’ from ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2397:37: return_function: returning to ‘image_render_interpolate_landscape’ from ‘get_color_handler’
ghostscript-10.05.0/./base/gxiscale.c:2398:30: branch_true: following ‘true’ branch (when ‘x < xe’)...
ghostscript-10.05.0/./base/gxiscale.c:2399:24: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2399:24: branch_false: following ‘false’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.05.0/./base/gxiscale.c:2420:25: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2449:28: branch_true: following ‘true’ branch (when ‘abs_interp_limit <= 1’)...
ghostscript-10.05.0/./base/gxiscale.c:2450:37: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2450:37: danger: use of uninitialized value ‘devc.type’ here
# 2448|                           }
# 2449|                           if (abs_interp_limit <= 1) {
# 2450|->                             rcode = gx_fill_rectangle_device_rop(ry, x, 1, rep, &devc, dev, lop);
# 2451|                               if (rcode < 0)
# 2452|                                   return rcode;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def65]
ghostscript-10.05.0/./base/gxiscale.c:2457:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc.type’
ghostscript-10.05.0/./base/gxiscale.c:2312:1: enter_function: entry to ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2330:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxiscale.c:2333:9: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2337:5: call_function: calling ‘initial_decode’ from ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2337:5: return_function: returning to ‘image_render_interpolate_landscape’ from ‘initial_decode’
ghostscript-10.05.0/./base/gxiscale.c:2377:16: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/gxiscale.c:2379:17: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2384:20: branch_true: following ‘true’ branch (when ‘abs_interp_limit > 1’)...
ghostscript-10.05.0/./base/gxiscale.c:2385:32: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2385:32: call_function: calling ‘interpolate_scaled_expanded_height’ from ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2385:32: return_function: returning to ‘image_render_interpolate_landscape’ from ‘interpolate_scaled_expanded_height’
ghostscript-10.05.0/./base/gxiscale.c:2396:20: branch_true: following ‘true’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.05.0/./base/gxiscale.c:2397:37: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2397:37: call_function: calling ‘get_color_handler’ from ‘image_render_interpolate_landscape’
ghostscript-10.05.0/./base/gxiscale.c:2397:37: return_function: returning to ‘image_render_interpolate_landscape’ from ‘get_color_handler’
ghostscript-10.05.0/./base/gxiscale.c:2398:30: branch_true: following ‘true’ branch (when ‘x < xe’)...
ghostscript-10.05.0/./base/gxiscale.c:2399:24: branch_true: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2399:24: branch_false: following ‘false’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.05.0/./base/gxiscale.c:2420:25: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2449:28: branch_false: following ‘false’ branch (when ‘abs_interp_limit > 1’)...
ghostscript-10.05.0/./base/gxiscale.c:2454:49: branch_false: ...to here
ghostscript-10.05.0/./base/gxiscale.c:2457:37: danger: use of uninitialized value ‘devc.type’ here
# 2455|   
# 2456|                               scaled_w = interpolate_scaled_expanded_width(rep, pss);
# 2457|->                             rcode = gx_fill_rectangle_device_rop(scaled_y, scaled_x, scaled_h, scaled_w,
# 2458|                                                                    &devc, dev, lop);
# 2459|                               if (rcode < 0)

Error: GCC_ANALYZER_WARNING (CWE-835): [#def66]
ghostscript-10.05.0/./base/pack_ps.c:279:12: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.05.0/./base/pack_ps.c:279:12: danger: infinite loop here
ghostscript-10.05.0/./base/pack_ps.c:279:12: branch_true: when ‘atarg < argc’: always following ‘true’ branch...
ghostscript-10.05.0/./base/pack_ps.c:280:17: branch_true: ...to here
ghostscript-10.05.0/./base/pack_ps.c:280:12: branch_false: if it ever follows ‘false’ branch, it will always do so...
ghostscript-10.05.0/./base/pack_ps.c:284:17: branch_false: ...to here
#  277|   
#  278|       /* Process arguments denoted with dashes. */
#  279|->     while (atarg < argc) {
#  280|           if (argv[atarg][0] != '-') {
#  281|               /* End of optional arguments */

Error: GCC_ANALYZER_WARNING (CWE-835): [#def67]
ghostscript-10.05.0/./base/ramfs.c:162:15: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.05.0/./base/ramfs.c:459:12: enter_function: entry to ‘ramfile_truncate’
#  160|           /* don't bother shrinking the block array */
#  161|           file->fs->blocksfree += (file->blocks-newblocks);
#  162|->         while(file->blocks > newblocks) {
#  163|               gs_free_object(file->fs->memory, file->data[--file->blocks], "ramfs resize");
#  164|           }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
ghostscript-10.05.0/./base/sfilter2.c:206:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[1]’
ghostscript-10.05.0/./base/sfilter2.c:182:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/sfilter2.c:196:26: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/sfilter2.c:197:27: branch_true: ...to here
ghostscript-10.05.0/./base/sfilter2.c:196:26: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/sfilter2.c:205:17: branch_false: ...to here
ghostscript-10.05.0/./base/sfilter2.c:205:17: branch_true: following ‘true’ branch (when ‘count != 0’)...
ghostscript-10.05.0/./base/sfilter2.c:205:26: branch_true: ...to here
ghostscript-10.05.0/./base/sfilter2.c:206:32: danger: use of uninitialized value ‘buf[1]’ here
#  204|           }
#  205|           space = count && buf[0] == '%' &&
#  206|->           ( (prev == '\n' && ( buf[1] == '%' || buf[1] =='!')) ||
#  207|               (prev == '%'  && qn - q == LINE_LIMIT - 1)
#  208|             );

Error: GCC_ANALYZER_WARNING (CWE-457): [#def69]
ghostscript-10.05.0/./base/sfilter2.c:219:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&buf’
ghostscript-10.05.0/./base/sfilter2.c:182:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/sfilter2.c:196:26: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./base/sfilter2.c:197:27: branch_true: ...to here
ghostscript-10.05.0/./base/sfilter2.c:196:26: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/sfilter2.c:205:17: branch_false: ...to here
ghostscript-10.05.0/./base/sfilter2.c:205:17: branch_true: following ‘true’ branch (when ‘count != 0’)...
ghostscript-10.05.0/./base/sfilter2.c:205:26: branch_true: ...to here
ghostscript-10.05.0/./base/sfilter2.c:209:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/sfilter2.c:211:28: branch_false: ...to here
ghostscript-10.05.0/./base/sfilter2.c:216:16: branch_true: following ‘true’ branch (when ‘count != 0’)...
ghostscript-10.05.0/./base/sfilter2.c:217:20: branch_true: ...to here
ghostscript-10.05.0/./base/sfilter2.c:217:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/sfilter2.c:219:34: branch_false: ...to here
ghostscript-10.05.0/./base/sfilter2.c:219:17: danger: use of uninitialized value ‘&buf’ here
#  217|                   if (space)
#  218|                     *++q = ' ';
#  219|->                 memcpy(q+1, buf, count+1);
#  220|                   q += count+1;
#  221|                   p += count;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def70]
ghostscript-10.05.0/./base/slzwd.c:371:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b’
ghostscript-10.05.0/./base/slzwd.c:132:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/slzwd.c:136:8: branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:136:8: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./base/slzwd.c:137:13: branch_true: ...to here
ghostscript-10.05.0/./base/slzwd.c:145:16: branch_true: following ‘true’ branch (when ‘rlen != 0’)...
ghostscript-10.05.0/./base/slzwd.c:146:22: branch_true: ...to here
ghostscript-10.05.0/./base/slzwd.c:150:16: branch_false: following ‘false’ branch (when ‘n < 0’)...
ghostscript-10.05.0/./base/slzwd.c:154:13: branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:154:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/slzwd.c:158:9: branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:161:12: branch_false: following ‘false’ branch (when ‘c != eod’)...
 branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:165:20: branch_false: following ‘false’ branch (when ‘c == eod’)...
ghostscript-10.05.0/./base/slzwd.c:168:9: branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:324:16: branch_true: following ‘true’ branch (when ‘prev_code >= 0’)...
ghostscript-10.05.0/./base/slzwd.c:330:21: branch_true: ...to here
ghostscript-10.05.0/./base/slzwd.c:330:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./base/slzwd.c:370:20: branch_false: ...to here
ghostscript-10.05.0/./base/slzwd.c:370:20: branch_true: following ‘true’ branch (when ‘next_code <= 4095’)...
ghostscript-10.05.0/./base/slzwd.c:371:21: branch_true: ...to here
ghostscript-10.05.0/./base/slzwd.c:371:21: danger: use of uninitialized value ‘b’ here
#  369|                   }
#  370|                   if (next_code < lzw_decode_max) {
#  371|->                     dc_next->datum = b;	/* added char of string */
#  372|                       dc_next->len = min(prev_len, 254) + 1;
#  373|                       dc_next->prefix = prev_code;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:796:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:795:13: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:796:7: danger: dereference of NULL ‘pdest’
#  794|   
#  795|       while ( ( len < (dest_len -1) ) && *cp && ( '_' != *cp) ) {
#  796|->       *pdest = toupper( *cp );
#  797|         pdest++;
#  798|         cp++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:800:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:807:1: enter_function: entry to ‘escv_beginpage’
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:956:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:963:5: branch_false: ...to here
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:965:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:966:17: branch_false: ...to here
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:965:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:983:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:989:20: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:990:40: branch_true: ...to here
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:995:10: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:997:9: branch_true: ...to here
ghostscript-10.05.0/./contrib/eplaser/gdevescv.c:1001:19: call_function: calling ‘trans_modelname’ from ‘escv_beginpage’
#  798|         cp++;
#  799|       }
#  800|->     *pdest = '\0';
#  801|     }
#  802|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def73]
ghostscript-10.05.0/./contrib/gdevadmp.c:212:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.0/./contrib/gdevadmp.c:165:1: enter_function: entry to ‘dmp_print_page’
ghostscript-10.05.0/./contrib/gdevadmp.c:175:28: call_function: inlined call to ‘gp_get_file’ from ‘dmp_print_page’
ghostscript-10.05.0/./contrib/gdevadmp.c:178:30: branch_true: ...to here
ghostscript-10.05.0/./contrib/gdevadmp.c:187:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/gdevadmp.c:212:9: danger: argument 2 (‘<unknown>’) NULL where non-null expected
#  210|           /* Initialize the printer and reset the margins. */
#  211|   
#  212|->         fputs("\r\n\033>\033T16", prn_stream);
#  213|   
#  214|           switch(dev_type)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
ghostscript-10.05.0/./contrib/gdevln03.c:367:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
ghostscript-10.05.0/./contrib/gdevln03.c:291:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/gdevln03.c:293:5: branch_false: ...to here
ghostscript-10.05.0/./contrib/gdevln03.c:297:29: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/gdevln03.c:298:9: branch_true: ...to here
ghostscript-10.05.0/./contrib/gdevln03.c:304:42: branch_false: following ‘false’ branch (when ‘l < 0’)...
ghostscript-10.05.0/./contrib/gdevln03.c:367:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/gdevln03.c:367:12: danger: use of uninitialized value ‘c’ here
#  365|               }
#  366|           }
#  367|->         if (c != 077) {
#  368|              if (count > 3) {
#  369|                   /* use run length encoding */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
ghostscript-10.05.0/./contrib/gdevmd2k.c:386:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘contflag’
ghostscript-10.05.0/./contrib/gdevmd2k.c:601:1: enter_function: entry to ‘md2k_print_page’
ghostscript-10.05.0/./contrib/gdevmd2k.c:603:12: call_function: calling ‘alps_print_page’ from ‘md2k_print_page’
#  384|           }
#  385|   
#  386|->         if (contflag) {
#  387|               climit = min(129, p_end - p_in);
#  388|               p_in += 3;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def76]
ghostscript-10.05.0/./contrib/japanese/gdev10v.c:335:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out’
ghostscript-10.05.0/./contrib/japanese/gdev10v.c:335:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/japanese/gdev10v.c:335:9: branch_true: ...to here
ghostscript-10.05.0/./contrib/japanese/gdev10v.c:335:9: danger: use of uninitialized value ‘out’ here
#  333|           prn_flush(pdev);
#  334|   error:
#  335|->         gs_free(pdev->memory->non_gc_memory, (char *)out, bits_per_column, line_size, "bj10v_print_page(out)");
#  336|           gs_free(pdev->memory->non_gc_memory, (char *)in, 8, line_size, "bj10v_print_page(in)");
#  337|           return code;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def77]
ghostscript-10.05.0/./contrib/lips4/gdevl4v.c:332:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[0]’
#  330|   
#  331|       lips_param(param, c);
#  332|->     for (i = 0; i < strlen(c); i++)
#  333|           sputc(s, c[i]);
#  334|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def78]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:1569:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
#argument 1 of ‘__builtin_strcat’ must be non-null
# 1567|       if (string) {
# 1568|           *destin = realloc(*destin, strlen(*destin) +strlen(string)+1);
# 1569|->         strcat(*destin, string);
# 1570|       }
# 1571|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:1657:24: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-8", locale)’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
# 1655|               if (locale) {
# 1656|                   if (strcmp(locale, "C") && buff) {
# 1657|->                     if ((cd = iconv_open("UTF-8", locale)) != (iconv_t)-1) {
# 1658|                           ibuff = string;
# 1659|                           obuff = buff;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3264:8: warning[-Wanalyzer-malloc-leak]: leak of ‘mybuf’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3182:1: enter_function: entry to ‘opvp_copy_color’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3212:8: branch_true: following ‘true’ branch (when ‘data_x != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3213:17: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3218:24: acquire_memory: allocated here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3219:12: branch_false: following ‘false’ branch (when ‘mybuf’ is non-NULL)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3223:20: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3225:20: branch_false: following ‘false’ branch (when ‘i >= h’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3239:5: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3246:12: call_function: calling ‘opvp_draw_image’ from ‘opvp_copy_color’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3246:12: return_function: returning to ‘opvp_copy_color’ from ‘opvp_draw_image’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3253:8: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3264:8: branch_false: following ‘false’ branch (when ‘buff == data’)...
 branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3264:8: danger: ‘mybuf’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
# 3262|   #endif
# 3263|   
# 3264|->     if (buff != data) {
# 3265|           /* buff was allocated from this function */
# 3266|           if (mybuf) free(mybuf);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def81]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3483:16: release_memory: state of ‘(void *)0B’: ‘null’ -> ‘freed’ (NULL origin)
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3486:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3486:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3540:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3540:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3541:13: release_memory: ‘0’ is NULL
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3541:13: danger: argument 1 (‘fastImage’) NULL where non-null expected
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);
# 3541|->         if (strcasecmp(fastImage,"NoCTM")==0) {
# 3542|               FastImageMode = FastImageNoCTM;
# 3543|           } else if (strncasecmp(fastImage,"NoRotate",8)==0) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def82]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL ‘fastImage’ where non-null expected
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3486:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3486:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3540:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3540:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3541:13: danger: argument 1 (‘fastImage’) NULL where non-null expected
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);
# 3541|->         if (strcasecmp(fastImage,"NoCTM")==0) {
# 3542|               FastImageMode = FastImageNoCTM;
# 3543|           } else if (strncasecmp(fastImage,"NoRotate",8)==0) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def83]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:3633:13: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
# 3631|           memcpy(buff, zmps.data, zmps.size);
# 3632|           buff[zmps.size] = 0;
# 3633|->         if (strncasecmp(buff, "Auto", 4)) {
# 3634|               opdev->globals.zoom[0] = atof(buff);
# 3635|               if (opdev->globals.zoom[0] > 0) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5067:16: warning[-Wanalyzer-malloc-leak]: leak of ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5277:8: branch_false: following ‘false’ branch (when ‘points’ is NULL)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5278:8: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5278:8: branch_false: following ‘false’ branch (when ‘opvp_p’ is NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5067:16: danger: ‘points’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
# 5065|       /* check page-in */
# 5066|       if (opvp_check_in_page(opdev))
# 5067|->         return -1;
# 5068|   
# 5069|       if (gx_path_is_rectangle(ppath, &rect))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5095:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5095:13: danger: dereference of NULL ‘points’
# 5093|   #endif
# 5094|   
# 5095|->             points[0] = start;
# 5096|   
# 5097|   #ifdef  OPVP_OPT_MULTI_PATH

Error: GCC_ANALYZER_WARNING (CWE-415): [#def86]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5100:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘opvp_p’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5100:22: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5100:22: danger: second ‘free’ here
# 5098|           } else if (op != pop) {
# 5099|               /* convert float to Fix */
# 5100|->             opvp_p = realloc(opvp_p, sizeof(opvp_point_t) * npoints);
# 5101|               for (i = 0; i < npoints; i++) {
# 5102|                   OPVP_F2FIX(points[i].x, opvp_p[i].x);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5102:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5100:22: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5101:25: branch_true: following ‘true’ branch (when ‘i < npoints’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5102:17: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5102:17: release_memory: ‘points’ is NULL
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5102:17: release_memory: ‘points’ is NULL
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5102:17: danger: dereference of NULL ‘points + (long unsigned int)i * 16’
# 5100|               opvp_p = realloc(opvp_p, sizeof(opvp_point_t) * npoints);
# 5101|               for (i = 0; i < npoints; i++) {
# 5102|->                 OPVP_F2FIX(points[i].x, opvp_p[i].x);
# 5103|                   OPVP_F2FIX(points[i].y, opvp_p[i].y);
# 5104|               }

Error: GCC_ANALYZER_WARNING (CWE-415): [#def88]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5164:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5164:22: danger: second ‘free’ here
# 5162|               i = npoints;
# 5163|               npoints += 1;
# 5164|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5165|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5166|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def89]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5191:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5191:22: danger: second ‘free’ here
# 5189|               i = npoints;
# 5190|               npoints += 1;
# 5191|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5192|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5193|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def90]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5215:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5215:22: danger: second ‘free’ here
# 5213|               i = npoints;
# 5214|               npoints += 3;
# 5215|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5216|               points[i  ].x = fixed2float(vs[0]) / scale.x;
# 5217|               points[i  ].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-416): [#def91]
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5247:20: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘points’
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/opvp/gdevopvp.c:5247:20: danger: use after ‘free’ of ‘points’
# 5245|           case gs_pe_closepath:
# 5246|               /* close path */
# 5247|->             code = (*vdev_proc(vdev, closepath))(
# 5248|                          vdev,
# 5249|                          points[0].x,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:447:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:626:5: enter_function: entry to ‘eprn_set_media_data’
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:654:6: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:655:32: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:657:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:665:7: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:667:17: call_function: calling ‘eprn_read_media_data’ from ‘eprn_set_media_data’
#  445|       */
#  446|       if (s == NULL) s = strchr(buffer, '\0');
#  447|->     while (buffer < s && isspace(*(s-1))) s--;
#  448|       *s = '\0';
#  449|   

Error: GCC_ANALYZER_WARNING (CWE-416): [#def93]
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:447:26: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘s’
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:907:5: enter_function: entry to ‘eprn_put_params’
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:935:18: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:935:54: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1107:6: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1111:12: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1111:11: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1112:18: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1112:11: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1113:9: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1113:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1114:12: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/eprnparm.c:1119:12: call_function: calling ‘eprn_set_media_data’ from ‘eprn_put_params’
#  445|       */
#  446|       if (s == NULL) s = strchr(buffer, '\0');
#  447|->     while (buffer < s && isspace(*(s-1))) s--;
#  448|       *s = '\0';
#  449|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:308:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:272:6: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:283:6: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:283:6: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:286:9: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:287:6: branch_false: following ‘false’ branch (when ‘end’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:294:10: branch_true: following ‘true’ branch (when ‘t’ is NULL)...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:294:45: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:299:7: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:305:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:306:7: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:308:14: danger: dereference of NULL ‘t’
#  306|         flags |= flag;
#  307|         s = t;
#  308|->     } while (*t != '\0');
#  309|     }
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def95]
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:376:7: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:368:10: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:369:29: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:369:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:370:18: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:371:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:375:16: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/mediasize.c:376:7: danger: argument 1 (‘buffer’) NULL where non-null expected
#argument 1 of ‘__builtin_strcpy’ must be non-null
#  374|         }
#  375|         *code &= ~flag_list[j].code;
#  376|->       strcpy(buffer, flag_list[j].name);
#  377|         buffer += l;
#  378|         *length -= l;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def96]
ghostscript-10.05.0/./contrib/pcl3/eprn/pagecount.c:67:8: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.0/./contrib/pcl3/eprn/pagecount.c:58:12: enter_function: entry to ‘lock_file’
ghostscript-10.05.0/./contrib/pcl3/eprn/pagecount.c:67:8: call_function: inlined call to ‘gp_get_file’ from ‘lock_file’
ghostscript-10.05.0/./contrib/pcl3/eprn/pagecount.c:67:8: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/eprn/pagecount.c:67:8: danger: argument 1 (‘<unknown>’) NULL where non-null expected
#   65|   
#   66|     /* Obtain file descriptor */
#   67|->   fd = fileno(gp_get_file(f));
#   68|     if (fd == -1) {
#   69|       fprintf(stderr, ERRPREFIX "Cannot obtain file descriptor (%s).\n",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:360:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:346:6: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:352:44: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:360:12: branch_true: following ‘true’ branch (when ‘t > s’)...
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:360:21: branch_true: ...to here
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:360:21: danger: dereference of NULL ‘t’
#  358|       char *t = strchr(s, '\0');
#  359|   
#  360|->     while (s < t && isspace(*(t-1))) t--;
#  361|       *t = '\0';
#  362|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:361:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:346:6: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:352:44: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:360:12: branch_false: following ‘false’ branch (when ‘t <= s’)...
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:361:5: branch_false: ...to here
ghostscript-10.05.0/./contrib/pcl3/src/gdevpcl3.c:361:5: danger: dereference of NULL ‘t’
#  359|   
#  360|       while (s < t && isspace(*(t-1))) t--;
#  361|->     *t = '\0';
#  362|     }
#  363|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
ghostscript-10.05.0/./cups/gdevcups.c:2994:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.0/./cups/gdevcups.c:2889:1: enter_function: entry to ‘cups_print_pages’
ghostscript-10.05.0/./cups/gdevcups.c:2952:6: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./cups/gdevcups.c:2955:3: branch_false: ...to here
ghostscript-10.05.0/./cups/gdevcups.c:2964:6: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./cups/gdevcups.c:2967:22: branch_false: ...to here
ghostscript-10.05.0/./cups/gdevcups.c:2973:6: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./cups/gdevcups.c:2975:21: branch_true: ...to here
ghostscript-10.05.0/./cups/gdevcups.c:2994:25: call_function: inlined call to ‘gp_get_file’ from ‘cups_print_pages’
ghostscript-10.05.0/./cups/gdevcups.c:2994:25: branch_true: ...to here
ghostscript-10.05.0/./cups/gdevcups.c:2994:25: danger: argument 1 (‘<unknown>’) NULL where non-null expected
# 2992|          is a temporary workaround for the time being until up-to-date CUPS
# 2993|          libraries get included. */
# 2994|->     if ((cups->stream = cupsRasterOpen(fileno(gp_get_file(cups->file)),
# 2995|   #if defined(CUPS_RASTER_HAVE_PWGRASTER)
# 2996|                                          (strcasecmp(cups->header.MediaClass,

Error: GCC_ANALYZER_WARNING (CWE-835): [#def100]
ghostscript-10.05.0/./devices/gdev4693.c:124:35: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.05.0/./devices/gdev4693.c:124:35: danger: infinite loop here
ghostscript-10.05.0/./devices/gdev4693.c:124:35: branch_true: if it ever follows ‘true’ branch, it will always do so...
ghostscript-10.05.0/./devices/gdev4693.c:125:29: branch_true: ...to here
#  122|           *p++ = (char)0x81;
#  123|   
#  124|->         for (checksum = 0, i = 0; &header[i] != p; i++)
#  125|                   checksum += header[i];
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
ghostscript-10.05.0/./devices/gdevdjtc.c:267:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
ghostscript-10.05.0/./devices/gdevdjtc.c:77:1: enter_function: entry to ‘djet500c_print_page’
ghostscript-10.05.0/./devices/gdevdjtc.c:121:12: branch_false: following ‘false’ branch (when ‘lineSize > 0’)...
ghostscript-10.05.0/./devices/gdevdjtc.c:125:31: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:126:12: branch_false: following ‘false’ branch (when ‘bitData’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:129:22: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevdjtc.c:133:20: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:134:16: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevdjtc.c:138:23: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:141:16: branch_false: following ‘false’ branch (when ‘endData != bitData’)...
ghostscript-10.05.0/./devices/gdevdjtc.c:150:17: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:153:20: branch_false: following ‘false’ branch (when ‘planeSize >= lineLen’)...
ghostscript-10.05.0/./devices/gdevdjtc.c:168:17: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:168:29: branch_false: following ‘false’ branch (when ‘k >= lineLen’)...
ghostscript-10.05.0/./devices/gdevdjtc.c:186:20: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:186:20: branch_false: following ‘false’ branch (when ‘num_blank_lines == 0’)...
ghostscript-10.05.0/./devices/gdevdjtc.c:200:17: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdjtc.c:202:25: call_function: calling ‘mode2compress’ from ‘djet500c_print_page’
#  265|       while (1)
#  266|       {
#  267|->         test = *exam++;
#  268|           /* Advance exam until test==*exam  or exam==end_row */
#  269|           while ((test != *exam) && (exam < end_row))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def102]
ghostscript-10.05.0/./devices/gdevdsp.c:1693:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf_space.bits’
ghostscript-10.05.0/./devices/gdevdsp.c:1677:1: enter_function: entry to ‘display_alloc_bitmap’
ghostscript-10.05.0/./devices/gdevdsp.c:1682:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevdsp.c:1686:5: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevdsp.c:1686:5: call_function: calling ‘display_free_bitmap’ from ‘display_alloc_bitmap’
ghostscript-10.05.0/./devices/gdevdsp.c:1686:5: return_function: returning to ‘display_alloc_bitmap’ from ‘display_free_bitmap’
ghostscript-10.05.0/./devices/gdevdsp.c:1691:5: call_function: calling ‘display_size_buf_device’ from ‘display_alloc_bitmap’
ghostscript-10.05.0/./devices/gdevdsp.c:1691:5: return_function: returning to ‘display_alloc_bitmap’ from ‘display_size_buf_device’
ghostscript-10.05.0/./devices/gdevdsp.c:1693:25: danger: use of uninitialized value ‘buf_space.bits’ here
# 1691|       display_size_buf_device(&buf_space, (gx_device *)ddev,
# 1692|                               NULL, ddev->height, false);
# 1693|->     ddev->zBitmapSize = buf_space.bits + buf_space.line_ptrs;
# 1694|   
# 1695|       if (ddev->callback->version_major > DISPLAY_VERSION_MAJOR_V2 ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
ghostscript-10.05.0/./devices/gdevupd.c:4216:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.05.0/./devices/gdevupd.c:4196:6: branch_true: following ‘true’ branch (when ‘success != 0’)...
ghostscript-10.05.0/./devices/gdevupd.c:4199:15: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4208:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4210:10: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4211:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4215:22: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4216:25: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4216:58: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4216:57: danger: dereference of NULL ‘ip’
# 4214|   
# 4215|            for(iy = 1; iy < upd->ints[I_NYPASS]; ++iy) {
# 4216|->             for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4217|               *ip++ = 1;
# 4218|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
ghostscript-10.05.0/./devices/gdevupd.c:4217:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.05.0/./devices/gdevupd.c:4196:6: branch_true: following ‘true’ branch (when ‘success != 0’)...
ghostscript-10.05.0/./devices/gdevupd.c:4199:15: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4208:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4210:10: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4211:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4215:22: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4216:25: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4217:14: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4217:13: danger: dereference of NULL ‘ip’
# 4215|            for(iy = 1; iy < upd->ints[I_NYPASS]; ++iy) {
# 4216|               for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4217|->             *ip++ = 1;
# 4218|            }
# 4219|            for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
ghostscript-10.05.0/./devices/gdevupd.c:4219:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.05.0/./devices/gdevupd.c:4196:6: branch_true: following ‘true’ branch (when ‘success != 0’)...
ghostscript-10.05.0/./devices/gdevupd.c:4199:15: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4208:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4210:10: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4211:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4215:22: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4219:22: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4219:55: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4219:54: danger: dereference of NULL ‘ip’
# 4217|               *ip++ = 1;
# 4218|            }
# 4219|->          for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4220|            *ip = upd->ints[I_NYPASS] * upd->ints[I_PINS2WRITE]
# 4221|                - upd->ints[I_NYPASS] + 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
ghostscript-10.05.0/./devices/gdevupd.c:4220:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.05.0/./devices/gdevupd.c:4196:6: branch_true: following ‘true’ branch (when ‘success != 0’)...
ghostscript-10.05.0/./devices/gdevupd.c:4199:15: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4208:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4210:10: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4211:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4212:10: release_memory: ‘ip’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:4215:22: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4219:22: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4220:16: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4220:10: danger: dereference of NULL ‘ip’
# 4218|            }
# 4219|            for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4220|->          *ip = upd->ints[I_NYPASS] * upd->ints[I_PINS2WRITE]
# 4221|                - upd->ints[I_NYPASS] + 1;
# 4222|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
ghostscript-10.05.0/./devices/gdevupd.c:4262:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.05.0/./devices/gdevupd.c:4196:6: branch_true: following ‘true’ branch (when ‘success != 0’)...
ghostscript-10.05.0/./devices/gdevupd.c:4199:15: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4254:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4257:10: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4257:10: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4258:10: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4261:29: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:4262:21: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:4262:13: danger: dereference of NULL ‘ip’
# 4260|   
# 4261|            for(i = 0, ix = 0; i < upd->int_a[IA_STD_IX].size; ++i) {
# 4262|->             *ip++ = ix++;
# 4263|               if(ix == upd->ints[I_NXPASS]) ix = 0;
# 4264|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
ghostscript-10.05.0/./devices/gdevupd.c:5442:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
ghostscript-10.05.0/./devices/gdevupd.c:5424:4: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5425:7: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5435:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5437:13: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5438:13: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5439:43: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5440:13: release_memory: ‘bp’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:5441:26: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5442:17: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5442:16: danger: dereference of NULL ‘bp’
# 5440|               upd->int_a[IA_ROWMASK].data = bp;
# 5441|               for (i = 0 ; i < upd->ints[I_PATRPT] ; i++){
# 5442|->                *bp++  = 1; /* black */
# 5443|               }
# 5444|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
ghostscript-10.05.0/./devices/gdevupd.c:5453:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
ghostscript-10.05.0/./devices/gdevupd.c:5424:4: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5425:7: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5446:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5448:13: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5449:13: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5450:42: branch_false: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5451:13: release_memory: ‘bp’ is NULL
ghostscript-10.05.0/./devices/gdevupd.c:5452:26: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/gdevupd.c:5453:17: branch_true: ...to here
ghostscript-10.05.0/./devices/gdevupd.c:5453:16: danger: dereference of NULL ‘bp’
# 5451|               upd->int_a[IA_SCNOFS].data = bp;
# 5452|               for (i = 0 ; i < upd->ints[I_PATRPT] ; i++){
# 5453|->                *bp++  = i;
# 5454|               }
# 5455|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1406:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
# 1404|             if (count > 0xffff - whole || val != last_val)
# 1405|               {
# 1406|->               dst[rll_idx].length = count;
# 1407|                 dst[rll_idx].value = last_val;
# 1408|                 rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1424:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
# 1422|             if (count >= 0xffff - whole || val != last_val)
# 1423|               {
# 1424|->               dst[rll_idx].length = count;
# 1425|                 dst[rll_idx].value = last_val;
# 1426|                 rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1439:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
# 1437|           }
# 1438|       }
# 1439|->   dst[rll_idx].length = count;
# 1440|     dst[rll_idx].value = last_val;
# 1441|     rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1551:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1549:26: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1551:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
# 1549|     result = (EBPlaneCtx *)malloc (sizeof(EBPlaneCtx));
# 1550|   
# 1551|->   result->source_width = source_width;
# 1552|     result->dest_width = dest_width;
# 1553|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1569:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_lut’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1554:20: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1569:7: danger: ‘new_lut + (long unsigned int)i * 4’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
# 1567|         else
# 1568|           nli = lut[i] >> (24 - EVEN_SHIFT);
# 1569|->       new_lut[i] = (1 << EVEN_SHIFT) - nli;
# 1570|       }
# 1571|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1594:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs_lut’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1573:20: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1594:7: danger: ‘rs_lut + (long unsigned int)i’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
# 1592|   
# 1593|         rs = eb_compute_randshift(nl, rs_base, do_shadows, params->levels);
# 1594|->       rs_lut[i] = rs;
# 1595|   
# 1596|         if (params->do_shadows)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1611:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rb_lut’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1572:19: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1611:7: danger: ‘rb_lut + (long unsigned int)i * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
# 1609|               }
# 1610|           }
# 1611|->       rb_lut[i] = rb;
# 1612|   
# 1613|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1639:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1622:27: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1625:6: branch_false: following ‘false’ branch (when ‘do_shadows == 0’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1633:7: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1639:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
# 1637|     for (i = 0; i < dest_width; i++)
# 1638|       {
# 1639|->       result->a_line[i] = 1;
# 1640|         result->b_line[i] = 1;
# 1641|         result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1640:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1623:27: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1625:6: branch_false: following ‘false’ branch (when ‘do_shadows == 0’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1633:7: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1640:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
# 1638|       {
# 1639|         result->a_line[i] = 1;
# 1640|->       result->b_line[i] = 1;
# 1641|         result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);
# 1642|         if (do_shadows)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1641:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1620:29: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1625:6: branch_false: following ‘false’ branch (when ‘do_shadows == 0’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1633:7: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1641:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
# 1639|         result->a_line[i] = 1;
# 1640|         result->b_line[i] = 1;
# 1641|->       result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);
# 1642|         if (do_shadows)
# 1643|           {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1686:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1655:44: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1686:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
# 1684|       }
# 1685|   
# 1686|->   result->source_width = params->source_width;
# 1687|     result->dest_width = params->dest_width;
# 1688|     result->n_planes = n_planes;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1754:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)n_planes * 8)’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1653:1: enter_function: entry to ‘even_better_new’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1752:42: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1753:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1754:26: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1754:32: call_function: calling ‘even_better_plane_new’ from ‘even_better_new’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1754:32: return_function: returning to ‘even_better_new’ from ‘even_better_plane_new’
ghostscript-10.05.0/./devices/rinkj/evenbetter-rll.c:1754:9: danger: ‘malloc((long unsigned int)n_planes * 8) + (long unsigned int)i * 8’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/1)
# 1752|         result->plane_ctx = (EBPlaneCtx **)malloc(sizeof(EBPlaneCtx *) * n_planes);
# 1753|         for (i = 0; i < n_planes; i++)
# 1754|->         result->plane_ctx[i] = even_better_plane_new (params, result, i);
# 1755|       }
# 1756|     return result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:105:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:102:35: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:105:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  103|   
#  104|     result->super.write = rinkj_byte_stream_file_write;
#  105|->   result->f = f;
#  106|   
#  107|     return &result->super;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:107:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:102:35: acquire_memory: allocated here
ghostscript-10.05.0/./devices/rinkj/rinkj-byte-stream.c:107:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  105|     result->f = f;
#  106|   
#  107|->   return &result->super;
#  108|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:42:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:109:1: enter_function: entry to ‘rinkj_config_keyval’
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:115:6: branch_false: following ‘false’ branch (when ‘config’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:118:16: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:123:14: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:124:10: branch_true: following ‘true’ branch (when ‘p_nl’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:127:20: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:136:24: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:138:22: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:138:14: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:140:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-config.c:140:21: call_function: calling ‘rinkj_strdup_size’ from ‘rinkj_config_keyval’
#   40|     result = malloc (size + 1);
#   41|     memcpy (result, src, size);
#   42|->   result[size] = 0;
#   43|     return result;
#   44|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:586:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  584|         s0 = src[i * 2] << pass;
#  585|         s1 = src[i * 2 + 1] << pass;
#  586|->       dst[i] = (s0 & 0x80) | ((s0 & 0x20) << 1) | ((s0 & 8) << 2) | ((s0 & 2) << 3) |
#  587|           ((s1 & 0x80) >> 4) | ((s1 & 0x20) >> 3) | ((s1 & 8) >> 2) | ((s1 & 2) >> 1);
#  588|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:622:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  620|         s2 = src[i * 4 + 2] << shift;
#  621|         s3 = src[i * 4 + 3] << shift;
#  622|->       dst[i] = (s0 & 0x80) | ((s0 & 8) << 3) |
#  623|           ((s1 & 0x80) >> 2) | ((s1 & 8) << 1) |
#  624|           ((s2 & 0x80) >> 4) | ((s2 & 8) >> 1) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:664:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  662|         s0 = src[i * 2] << shift;
#  663|         s1 = src[i * 2 + 1] << shift;
#  664|->       dst[i] = (s0 & 0xc0) | ((s0 & 0x0c) << 2) |
#  665|           ((s1 & 0xc0) >> 4) | ((s1 & 0x0c) >> 2);
#  666|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:670:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  668|       {
#  669|         s0 = src[n_bytes - 1] << shift;
#  670|->       dst[i] = (s0 & 0xc0) | ((s0 & 0x0c) << 2);
#  671|       }
#  672|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:700:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  698|         s2 = src[i * 4 + 2] << shift;
#  699|         s3 = src[i * 4 + 3] << shift;
#  700|->       dst[i] = (s0 & 0xc0) | ((s1 & 0xc0) >> 2) |
#  701|           ((s2 & 0xc0) >> 4) | ((s3 & 0xc0) >> 6);
#  702|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:724:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  722|       {
#  723|         unsigned char s = src[i];
#  724|->       dst[i * 2] = (((s & 0x80) >> 1) | ((s & 0x40) >> 2) |
#  725|                       ((s & 0x20) >> 3) | ((s & 0x10) >> 4)) * DOT;
#  726|         dst[i * 2 + 1] = (((s & 8) << 3) | ((s & 4) << 2) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:737:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  735|   
#  736|     for (i = 0; i < n_bytes; i++)
#  737|->     dst[i] = (src[i] >> (1 - x_pass) & 0x55) * DOT;
#  738|   }
#  739|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:752:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  750|         s0 = src[i * 2] << pass;
#  751|         s1 = src[i * 2 + 1] << pass;
#  752|->       dst[i] = (((s0 & 0x80) >> 1) | ((s0 & 8) << 1) |
#  753|           ((s1 & 0x80) >> 5) | ((s1 & 0x8) >> 3)) * DOT;
#  754|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:816:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘src’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  814|     for (i = 0; i < n; i += run)
#  815|       {
#  816|->       b = src[i];
#  817|         for (run = 1; run < 129 && i + run < n; run++)
#  818|           if (b != src[i + run])

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:834:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
#  832|                   break;
#  833|               }
#  834|->           dst[j++] = run - 1;
#  835|             memcpy (dst + j, src + i, run);
#  836|             j += run;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1070:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1064:25: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1070:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
# 1068|     result->super.init = rinkj_escp_init;
# 1069|     result->super.init_happened = 0;
# 1070|->   result->width = 0;
# 1071|     result->out = out;
# 1072|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1084:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1064:25: acquire_memory: allocated here
ghostscript-10.05.0/./devices/rinkj/rinkj-epson870.c:1084:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
# 1082|     result->printer_weave = -1;
# 1083|   
# 1084|->   return &result->super;
# 1085|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:178:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_data’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:172:24: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:178:7: danger: ‘out_data + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  176|     for (i = 0; i < n_planes; i++)
#  177|       {
#  178|->       out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:179:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_buf’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:173:23: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:179:7: danger: ‘out_buf + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  177|       {
#  178|         out_data[i] = malloc (xsb);
#  179|->       out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:180:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data_permuted’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:174:35: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:180:7: danger: ‘data_permuted + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  178|         out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|->       data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }
#  182|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:271:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:265:29: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:271:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  269|     result->super.init = rinkj_screen_eb_init;
#  270|     result->super.init_happened = 0;
#  271|->   result->dev_out = dev_out;
#  272|     result->lut = NULL;
#  273|     result->xscale = 1.0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:278:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:265:29: acquire_memory: allocated here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:278:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#  276|     result->bps = 1;
#  277|   
#  278|->   return &result->super;
#  279|   }
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:329:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + (long unsigned int)i * 4’
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:318:6: branch_false: following ‘false’ branch (when ‘plane <= 15’)...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:321:7: branch_false: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:321:6: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:322:22: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:324:26: acquire_memory: this call could return NULL
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:325:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:328:20: branch_true: ...to here
ghostscript-10.05.0/./devices/rinkj/rinkj-screen-eb.c:329:7: danger: ‘*<unknown> + (long unsigned int)i * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
#  327|         double v;
#  328|         v = 1.0 - lut[i];
#  329|->       z->lut[plane][i] = floor (0.5 + 0x1000000 * v);
#  330|       }
#  331|   }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def143]
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:232:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:977:1: enter_function: entry to ‘pdf_document_metadata’
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:979:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:981:29: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:981:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:984:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:996:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:998:60: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:999:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:1003:60: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:1004:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:1008:16: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfe.c:1008:16: call_function: calling ‘pdf_write_document_metadata’ from ‘pdf_document_metadata’
#  230|               "%04d-%02d-%02d",
#  231|               tms.tm_year + 1900, tms.tm_mon + 1, tms.tm_mday);
#  232|->     strncpy(buf, buf1, buf_length);
#  233|       return strlen(buf);
#  234|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def144]
ghostscript-10.05.0/./devices/vector/gdevpdfg.c:345:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pcc.paint.values[i]’
ghostscript-10.05.0/./devices/vector/gdevpdfg.c:2071:1: enter_function: entry to ‘pdf_set_drawing_color’
ghostscript-10.05.0/./devices/vector/gdevpdfg.c:2102:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfg.c:2105:12: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfg.c:2105:12: call_function: calling ‘pdf_reset_color’ from ‘pdf_set_drawing_color’
#  343|       pprintg1(pdev->strm, "%g", psdf_round(pcc->paint.values[0], 255, 8));
#  344|       for (i = 1; i < n; i++) {
#  345|->         pprintg1(pdev->strm, " %g", psdf_round(pcc->paint.values[i], 255, 8));
#  346|       }
#  347|       return 0;

Error: COMPILER_WARNING (CWE-704): [#def145]
ghostscript-10.05.0/./devices/vector/gdevpdfi.c:755:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  753|                           if (pdev->PDFX > 0) {
#  754|                               if (pdev->PDFX < 4) {
#  755|->                                 *pcs_orig = pcs;
#  756|                                   return 1;
#  757|                               }

Error: COMPILER_WARNING (CWE-704): [#def146]
ghostscript-10.05.0/./devices/vector/gdevpdfi.c:759:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  757|                               }
#  758|                               if (!check_colorants_for_pdfx4(pcs2)){
#  759|->                                 *pcs_orig = pcs;
#  760|                                   return 1;
#  761|                               }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3015:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value.contents.object’
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3008:1: enter_function: entry to ‘pdf_write_function’
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3011:16: call_function: calling ‘pdf_function’ from ‘pdf_write_function’
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3011:16: return_function: returning to ‘pdf_write_function’ from ‘pdf_function’
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3013:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3015:12: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdfu.c:3015:12: danger: use of uninitialized value ‘value.contents.object’ here
# 3013|       if (code < 0)
# 3014|           return code;
# 3015|->     *pid = value.contents.object->id;
# 3016|       return 0;
# 3017|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1029:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gdata’
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1757:1: enter_function: entry to ‘process_plain_text’
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1768:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1769:17: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1770:12: branch_false: following ‘false’ branch (when ‘bsize >= count’)...
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1772:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1876:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdte.c:1879:16: call_function: calling ‘pdf_process_string_aux’ from ‘process_plain_text’
# 1027|           gs_glyph gdata_i, *gdata_p = (gs_glyph *)gdata;
# 1028|           if (penum->text.operation & TEXT_FROM_SINGLE_GLYPH) {
# 1029|->             gdata_i = *gdata;
# 1030|               gdata_p = &gdata_i;
# 1031|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:240:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psf’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:813:1: enter_function: entry to ‘pdf_font_embed_status’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:819:17: call_function: calling ‘pdf_find_standard_font_name’ from ‘pdf_font_embed_status’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:819:17: return_function: returning to ‘pdf_font_embed_status’ from ‘pdf_find_standard_font_name’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:859:8: branch_false: following ‘false’ branch (when ‘pindex’ is NULL)...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:861:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:861:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:863:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:864:12: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:864:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:866:40: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:866:40: call_function: calling ‘embed_as_standard’ from ‘pdf_font_embed_status’
#  238|           int code;
#  239|   
#  240|->         if (!psf->pdfont)
#  241|               continue;
#  242|           cfont = pdf_font_resource_font(psf->pdfont, false);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def150]
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:593:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pfres’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:813:1: enter_function: entry to ‘pdf_font_embed_status’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:819:17: call_function: calling ‘pdf_find_standard_font_name’ from ‘pdf_font_embed_status’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:819:17: return_function: returning to ‘pdf_font_embed_status’ from ‘pdf_find_standard_font_name’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:859:8: branch_false: following ‘false’ branch (when ‘pindex’ is NULL)...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:861:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:861:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:863:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:864:12: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:864:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:866:40: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:866:40: call_function: calling ‘embed_as_standard’ from ‘pdf_font_embed_status’
#  591|       if (code < 0)
#  592|           return code;
#  593|->     pfres->u.simple.FirstChar = 256;
#  594|       pfres->u.simple.LastChar = -1;
#  595|       pfres->u.simple.BaseEncoding = -1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:1003:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:917:1: enter_function: entry to ‘pdf_compute_BaseFont’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:933:13: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:937:18: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:941:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:943:18: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:984:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:984:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:987:39: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:984:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:990:32: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:990:32: call_function: calling ‘pdf_font_resource_font’ from ‘pdf_compute_BaseFont’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:990:32: return_function: returning to ‘pdf_compute_BaseFont’ from ‘pdf_font_resource_font’
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:992:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:993:20: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:997:12: branch_false: following ‘false’ branch (when ‘code >= 0’)...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:999:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:1002:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:1003:13: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtf.c:1003:13: danger: dereference of NULL ‘pdf_font_resource_font(pdfont, 0)’
# 1001|           /* Don't write a UID for subset fonts. */
# 1002|           if (uid_is_XUID(&pbfont->UID)) {
# 1003|->             uid_free(&pbfont->UID, pbfont->memory, "gs_font_finalize");
# 1004|           }
# 1005|           uid_set_invalid(&pbfont->UID);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
ghostscript-10.05.0/./devices/vector/gdevpdtf.h:129:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gnstr’
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1040:1: enter_function: entry to ‘complete_adding_char’
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1053:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1055:12: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1055:12: call_function: calling ‘pdf_attach_charproc’ from ‘complete_adding_char’
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1055:12: return_function: returning to ‘complete_adding_char’ from ‘pdf_attach_charproc’
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1056:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1058:9: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1058:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdti.c:1076:12: call_function: calling ‘pdf_copy_string_to_encoding’ from ‘complete_adding_char’
#  127|       byte *p = NULL;
#  128|   
#  129|->     p = gs_alloc_bytes(pdev->pdf_memory->non_gc_memory, gnstr->size, "pdf_copy_string_to_encoding");
#  130|       if (p == NULL)
#  131|           return_error(gs_error_VMerror);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2418:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdfont’
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2919:1: enter_function: entry to ‘pdf_choose_output_char_code’
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2924:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2939:16: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2939:15: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2941:18: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2943:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2945:24: branch_true: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2945:24: call_function: calling ‘pdf_attached_font_resource’ from ‘pdf_choose_output_char_code’
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2945:24: return_function: returning to ‘pdf_choose_output_char_code’ from ‘pdf_attached_font_resource’
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2947:16: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2949:18: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2949:18: release_memory: ‘pdfont’ is NULL
ghostscript-10.05.0/./devices/vector/gdevpdtt.c:2949:18: call_function: calling ‘pdf_find_glyph’ from ‘pdf_choose_output_char_code’
# 2416|   pdf_find_glyph(pdf_font_resource_t *pdfont, gs_glyph glyph)
# 2417|   {
# 2418|->     if (pdfont->FontType != ft_user_defined &&
# 2419|           pdfont->FontType != ft_PDF_user_defined &&
# 2420|           pdfont->FontType != ft_PCL_user_defined &&

Error: GCC_ANALYZER_WARNING (CWE-457): [#def154]
ghostscript-10.05.0/./devices/vector/gdevpsft.c:749:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tab + 16’
ghostscript-10.05.0/./devices/vector/gdevpsft.c:1392:1: enter_function: entry to ‘psf_write_cid2_font’
ghostscript-10.05.0/./devices/vector/gdevpsft.c:1402:12: call_function: calling ‘psf_write_truetype_data’ from ‘psf_write_cid2_font’
#  747|   
#  748|           if (!memcmp(tab, tag, 4)) {
#  749|->             memmove(tab, tab + 16, 16 * (*numTables - i - 1));
#  750|               --*numTables;
#  751|           } else

Error: GCC_ANALYZER_WARNING (CWE-1335): [#def155]
ghostscript-10.05.0/./devices/vector/gdevpsft.c:1108:19: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘32’)
ghostscript-10.05.0/./devices/vector/gdevpsft.c:1409:1: enter_function: entry to ‘psf_write_cid2_stripped’
ghostscript-10.05.0/./devices/vector/gdevpsft.c:1417:12: call_function: calling ‘psf_write_truetype_data’ from ‘psf_write_cid2_stripped’
# 1106|           DO_NOTHING;
# 1107|       --i;
# 1108|->     put_ushort(s, 16 << i);	/* searchRange */
# 1109|       put_ushort(s, i);		/* entrySelectors */
# 1110|       put_ushort(s, numTables * 16 - (16 << i)); /* rangeShift */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def156]
ghostscript-10.05.0/./devices/vector/gdevpx.c:270:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘palette’
ghostscript-10.05.0/./devices/vector/gdevpx.c:1715:1: enter_function: entry to ‘pclxl_copy_mono’
ghostscript-10.05.0/./devices/vector/gdevpx.c:1731:5: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpx.c:1732:12: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpx.c:1733:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpx.c:1740:10: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpx.c:1740:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpx.c:1833:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./devices/vector/gdevpx.c:1835:5: branch_false: ...to here
ghostscript-10.05.0/./devices/vector/gdevpx.c:1835:5: call_function: calling ‘pclxl_set_color_palette’ from ‘pclxl_copy_mono’
#  268|           xdev->color_space = color_space;
#  269|           xdev->palette.size = palette_size;
#  270|->         memcpy(xdev->palette.data, palette, palette_size);
#  271|       }
#  272|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def157]
ghostscript-10.05.0/./pdf/pdf_cmap.c:931:13: warning[-Wanalyzer-null-argument]: use of NULL ‘ndlookups’ where non-null expected
ghostscript-10.05.0/./pdf/pdf_cmap.c:883:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./pdf/pdf_cmap.c:888:9: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_cmap.c:894:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_cmap.c:899:13: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_cmap.c:899:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_cmap.c:911:16: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_cmap.c:913:9: release_memory: ‘ndlookups’ is NULL
ghostscript-10.05.0/./pdf/pdf_cmap.c:930:21: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./pdf/pdf_cmap.c:931:20: release_memory: ‘ndlookups’ is NULL
ghostscript-10.05.0/./pdf/pdf_cmap.c:931:13: danger: argument 1 (‘ndlookups + (long unsigned int)i * 80’) NULL where non-null expected
#argument 1 of ‘__builtin_memcpy’ must be non-null
#  929|           l = pdficmap->notdef_cmap_range.ranges;
#  930|           for (i = 0; i < pdficmap->notdef_cmap_range.numrangemaps && l != NULL; i++) {
#  931|->             memcpy(&ndlookups[i], &l->range, sizeof(gx_cmap_lookup_range_t));
#  932|               l = l->next;
#  933|           }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def158]
ghostscript-10.05.0/./pdf/pdf_doc.c:1660:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
ghostscript-10.05.0/./pdf/pdf_doc.c:1623:12: enter_function: entry to ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.05.0/./pdf/pdf_doc.c:1632:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_doc.c:1640:21: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_doc.c:1657:2: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_doc.c:1658:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.05.0/./pdf/pdf_doc.c:1659:5: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_doc.c:1659:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.05.0/./pdf/pdf_doc.c:1660:12: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_doc.c:1660:12: danger: use of uninitialized value ‘code’ here
# 1658|       pdfi_countdown(name);
# 1659|       pdfi_countdown(filespec);
# 1660|->     return code;
# 1661|   }
# 1662|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
ghostscript-10.05.0/./pdf/pdf_font1.c:360:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.05.0/./pdf/pdf_font1.c:372:1: enter_function: entry to ‘pdfi_t1_decode_pfb’
ghostscript-10.05.0/./pdf/pdf_font1.c:382:12: call_function: calling ‘push_pfb_filter’ from ‘pdfi_t1_decode_pfb’
ghostscript-10.05.0/./pdf/pdf_font1.c:382:12: return_function: returning to ‘pdfi_t1_decode_pfb’ from ‘push_pfb_filter’
ghostscript-10.05.0/./pdf/pdf_font1.c:383:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_font1.c:395:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_font1.c:400:20: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_font1.c:408:13: call_function: calling ‘pop_pfb_filter’ from ‘pdfi_t1_decode_pfb’
#  358|   pop_pfb_filter(gs_memory_t *mem, stream *s)
#  359|   {
#  360|->     stream *src = s->strm;
#  361|       byte *b = s->cbuf;
#  362|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
ghostscript-10.05.0/./pdf/pdf_page.c:61:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘page_dict’
ghostscript-10.05.0/./pdf/pdf_page.c:879:5: enter_function: entry to ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:882:15: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:884:15: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:889:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:892:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:895:12: call_function: calling ‘pdfi_page_get_dict’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:895:12: return_function: returning to ‘pdfi_page_render’ from ‘pdfi_page_get_dict’
ghostscript-10.05.0/./pdf/pdf_page.c:907:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:908:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:921:12: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:921:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:932:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:934:5: call_function: inlined call to ‘pdfi_countup_impl’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:939:5: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:949:8: branch_true: following ‘true’ branch (when ‘init_graphics != 0’)...
ghostscript-10.05.0/./pdf/pdf_page.c:950:16: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:950:16: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:951:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:954:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:966:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: call_function: inlined call to ‘setup_page_DefaultSpaces’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: call_function: inlined call to ‘setup_page_DefaultSpaces’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:969:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: call_function: calling ‘pdfi_setup_transfers’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: return_function: returning to ‘pdfi_page_render’ from ‘pdfi_setup_transfers’
ghostscript-10.05.0/./pdf/pdf_page.c:981:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:988:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:1029:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:1029:12: call_function: calling ‘pdfi_process_one_page’ from ‘pdfi_page_render’
#   59|   
#   60|       if (pdfi_type_of(o) == PDF_INDIRECT) {
#   61|->         if (((pdf_indirect_ref *)o)->ref_object_num == page_dict->object_num)
#   62|               return_error(gs_error_circular_reference);
#   63|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
ghostscript-10.05.0/./pdf/pdf_page.c:104:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘page_dict’
ghostscript-10.05.0/./pdf/pdf_page.c:879:5: enter_function: entry to ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:882:15: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:884:15: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:889:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:892:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:895:12: call_function: calling ‘pdfi_page_get_dict’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:895:12: return_function: returning to ‘pdfi_page_render’ from ‘pdfi_page_get_dict’
ghostscript-10.05.0/./pdf/pdf_page.c:907:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:908:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:921:12: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:921:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:932:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:933:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:934:5: call_function: inlined call to ‘pdfi_countup_impl’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:939:5: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:949:8: branch_true: following ‘true’ branch (when ‘init_graphics != 0’)...
ghostscript-10.05.0/./pdf/pdf_page.c:950:16: branch_true: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:950:16: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:951:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:954:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:966:5: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: call_function: inlined call to ‘setup_page_DefaultSpaces’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:968:12: call_function: inlined call to ‘setup_page_DefaultSpaces’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:969:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: call_function: calling ‘pdfi_setup_transfers’ from ‘pdfi_page_render’
ghostscript-10.05.0/./pdf/pdf_page.c:972:5: return_function: returning to ‘pdfi_page_render’ from ‘pdfi_setup_transfers’
ghostscript-10.05.0/./pdf/pdf_page.c:981:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./pdf/pdf_page.c:988:9: branch_false: ...to here
ghostscript-10.05.0/./pdf/pdf_page.c:1029:12: release_memory: ‘page_dict’ is NULL
ghostscript-10.05.0/./pdf/pdf_page.c:1029:12: call_function: calling ‘pdfi_process_one_page’ from ‘pdfi_page_render’
#  102|                           goto page_error;
#  103|                   } else {
#  104|->                     if (r->ref_object_num == page_dict->object_num) {
#  105|                           pdfi_countdown(r);
#  106|                           code = gs_note_error(gs_error_circular_reference);

Error: COMPILER_WARNING: [#def162]
ghostscript-10.05.0/./pdf/pdf_sec.c:402:9: warning[-Wstringop-overflow=]: ‘pdf_compute_hardened_hash_r6’ accessing 16 bytes in a region of size 8
#  400|   		(ownerkey ? O : U) + 32,
#  401|   		ownerkey ? U : NULL, validationkey);
#  402|-> 	pdf_compute_hardened_hash_r6(password, pwlen,
#  403|           (ownerkey ? O : U) + 40,
#  404|           (ownerkey ? U : NULL), hash);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
ghostscript-10.05.0/./psi/dxmain.c:1208:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nargv’
ghostscript-10.05.0/./psi/dxmain.c:1207:22: acquire_memory: this call could return NULL
ghostscript-10.05.0/./psi/dxmain.c:1208:5: danger: ‘nargv’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
# 1206|       nargc = argc + 1;
# 1207|       nargv = (char **)malloc(nargc * sizeof(char *));
# 1208|->     nargv[0] = argv[0];
# 1209|       nargv[1] = dformat;
# 1210|       memcpy(&nargv[2], &argv[1], (argc-1) * sizeof(char *));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
ghostscript-10.05.0/./psi/isave.c:727:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.05.0/./psi/isave.c:868:1: enter_function: entry to ‘alloc_restore_all’
ghostscript-10.05.0/./psi/isave.c:882:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./psi/isave.c:883:71: branch_true: ...to here
ghostscript-10.05.0/./psi/isave.c:883:52: call_function: calling ‘alloc_save_current’ from ‘alloc_restore_all’
ghostscript-10.05.0/./psi/isave.c:883:52: return_function: returning to ‘alloc_restore_all’ from ‘alloc_save_current’
ghostscript-10.05.0/./psi/isave.c:883:29: call_function: inlined call to ‘alloc_save_client_data’ from ‘alloc_restore_all’
#  725|   alloc_save_client_data(const alloc_save_t * save)
#  726|   {
#  727|->     return save->client_data;
#  728|   }
#  729|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def165]
ghostscript-10.05.0/./psi/iscan.c:381:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘base’
ghostscript-10.05.0/./psi/iscan.c:437:1: enter_function: entry to ‘gs_scan_token’
ghostscript-10.05.0/./psi/iscan.c:495:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscan.c:533:28: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:544:5: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_true: following ‘true’ branch (when ‘sptr >= endptr’)...
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
ghostscript-10.05.0/./psi/iscan.c:551:5: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:786:24: branch_false: following ‘false’ branch (when ‘endptr <= sptr’)...
ghostscript-10.05.0/./psi/iscan.c:810:17: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:826:30: branch_true: following ‘true’ branch (when ‘sptr >= endptr’)...
ghostscript-10.05.0/./psi/iscan.c:826:30: branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:826:30: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
ghostscript-10.05.0/./psi/iscan.c:826:17: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:852:35: call_function: calling ‘scan_comment’ from ‘gs_scan_token’
#  379|           if (cstr == 0)
#  380|               return_error(gs_error_VMerror);
#  381|->         memcpy(cstr, base, len);
#  382|           make_string(pref, a_all | icurrent_space, len, cstr);
#  383|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def166]
ghostscript-10.05.0/./psi/iscan.c:540:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pstate.s_pdepth’
ghostscript-10.05.0/./psi/iscan.c:391:1: enter_function: entry to ‘gs_scan_string_token_options’
ghostscript-10.05.0/./psi/iscan.c:399:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscan.c:401:5: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:404:20: call_function: calling ‘gs_scan_token’ from ‘gs_scan_string_token_options’
#  538|       /* sstate.s_scan_type == scanning_none. */
#  539|       sstate.s_pstack = pstate->s_pstack;
#  540|->     sstate.s_pdepth = pstate->s_pdepth;
#  541|       ref_assign(&sstate.s_file, &pstate->s_file);
#  542|       sstate.s_options = pstate->s_options;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
ghostscript-10.05.0/./psi/iscan.c:944:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sptr’
ghostscript-10.05.0/./psi/iscan.c:495:8: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./psi/iscan.c:496:9: branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:512:17: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
ghostscript-10.05.0/./psi/iscan.c:513:20: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:513:20: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscan.c:515:17: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:1214:11: branch_false: following ‘false’ branch (when ‘retcode >= 0’)...
ghostscript-10.05.0/./psi/iscan.c:1227:9: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:1227:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscan.c:1231:3: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:1231:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./psi/iscan.c:1231:9: branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_true: following ‘true’ branch (when ‘sptr >= endptr’)...
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:549:11: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
ghostscript-10.05.0/./psi/iscan.c:551:5: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:925:15: branch_true: following ‘true’ branch...
 branch_true: ...to here
ghostscript-10.05.0/./psi/iscan.c:938:24: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscan.c:944:25: branch_false: ...to here
ghostscript-10.05.0/./psi/iscan.c:944:25: danger: dereference of NULL ‘sptr’
#  942|                           goto do_name;
#  943|                       }
#  944|->                     if (*(sptr + 1) == '-') {
#  945|                           sptr++;
#  946|                       } else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
ghostscript-10.05.0/./psi/iscanbin.c:183:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.05.0/./psi/iscanbin.c:180:5: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
ghostscript-10.05.0/./psi/iscanbin.c:182:21: branch_false: ...to here
ghostscript-10.05.0/./psi/iscanbin.c:183:25: danger: dereference of NULL ‘p’
#  181|       {
#  182|           uint rcnt = rlimit - p;
#  183|->         uint top_size = p[1];
#  184|           uint hsize, size;
#  185|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
ghostscript-10.05.0/./psi/iscanbin.c:282:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.05.0/./psi/iscanbin.c:281:5: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
ghostscript-10.05.0/./psi/iscanbin.c:282:30: branch_false: ...to here
ghostscript-10.05.0/./psi/iscanbin.c:282:30: danger: dereference of NULL ‘p’
#  280|   
#  281|       s_begin_inline(s, p, rlimit);
#  282|->     wanted = bin_token_bytes[*p - MIN_BIN_TOKEN_TYPE] - 1;
#  283|       switch (*p) {
#  284|           case BT_INT8:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
ghostscript-10.05.0/./psi/iscanbin.c:531:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.05.0/./psi/iscanbin.c:517:5: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
 branch_false: ...to here
ghostscript-10.05.0/./psi/iscanbin.c:518:12: branch_true: following ‘true’ branch (when ‘max_array_index > index’)...
ghostscript-10.05.0/./psi/iscanbin.c:519:25: branch_true: ...to here
ghostscript-10.05.0/./psi/iscanbin.c:524:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/iscanbin.c:531:13: branch_false: ...to here
ghostscript-10.05.0/./psi/iscanbin.c:531:13: danger: dereference of NULL ‘p’
#  529|               return scan_Refill;
#  530|           }
#  531|->         if (p[2] != 0) { /* reserved, must be 0 */
#  532|               scan_bos_error(pstate, "non-zero unused field");
#  533|               return_error(gs_error_syntaxerror);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def171]
ghostscript-10.05.0/./psi/zfcid0.c:57:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pgd.bits.size’
ghostscript-10.05.0/./psi/zfcid0.c:176:1: enter_function: entry to ‘z9_glyph_data’
ghostscript-10.05.0/./psi/zfcid0.c:187:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zfcid0.c:207:8: branch_false: ...to here
ghostscript-10.05.0/./psi/zfcid0.c:207:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zfcid0.c:218:21: call_function: calling ‘cid0_read_bytes’ from ‘z9_glyph_data’
ghostscript-10.05.0/./psi/zfcid0.c:218:21: return_function: returning to ‘z9_glyph_data’ from ‘cid0_read_bytes’
ghostscript-10.05.0/./psi/zfcid0.c:222:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zfcid0.c:224:9: branch_false: ...to here
ghostscript-10.05.0/./psi/zfcid0.c:225:21: call_function: calling ‘get_index’ from ‘z9_glyph_data’
#   55|       int i;
#   56|   
#   57|->     if (pgd->bits.size < count)
#   58|           return_error(gs_error_rangecheck);
#   59|       *pval = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
ghostscript-10.05.0/./psi/zicc.c:229:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘picc_profile’
ghostscript-10.05.0/./psi/zicc.c:77:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:79:5: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:83:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:94:9: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:109:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:116:62: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:118:9: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:125:71: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:126:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:131:5: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:153:8: branch_false: following ‘false’ branch...
ghostscript-10.05.0/./psi/zicc.c:161:5: branch_false: ...to here
ghostscript-10.05.0/./psi/zicc.c:222:8: branch_true: following ‘true’ branch (when ‘picc_profile’ is non-NULL)...
ghostscript-10.05.0/./psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.05.0/./psi/zicc.c:226:9: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.05.0/./psi/zicc.c:227:12: branch_true: following ‘true’ branch...
ghostscript-10.05.0/./psi/zicc.c:229:36: branch_true: ...to here
ghostscript-10.05.0/./psi/zicc.c:229:36: danger: dereference of NULL ‘picc_profile’
#  227|           if (code >= 0) {
#  228|               /* Save this colorspace in the iccprofile_cache */
#  229|->             gsicc_add_cs(igs, pcs, picc_profile->hashcode);
#  230|               /* should be an integer, but if for some reason it isn't, don't update */
#  231|               if (phashval && r_has_type(phashval, t_integer))

Error: COMPILER_WARNING (CWE-681): [#def173]
ghostscript-10.05.0/base/fapi_ft.c: scope_hint: In function ‘gs_fapi_ft_get_scaled_font’
ghostscript-10.05.0/base/fapi_ft.c:1284:86: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘a_font->retrieve_tt_font’ differ in signedness
# 1284 |                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
#      |                                                                                      ^~~
#      |                                                                                      |
#      |                                                                                      unsigned int *
ghostscript-10.05.0/base/fapi_ft.c:1284:86: note: expected ‘int *’ but argument is of type ‘unsigned int *’
# 1282|                   if (a_font->retrieve_tt_font != NULL) {
# 1283|                       unsigned int ms;
# 1284|->                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
# 1285|                       if (code == 0) {
# 1286|                           data_owned = false;

Error: COMPILER_WARNING (CWE-563): [#def174]
ghostscript-10.05.0/base/gdevdbit.c: scope_hint: In function ‘gx_default_strip_tile_rect_devn’
ghostscript-10.05.0/base/gdevdbit.c:603:11: warning[-Wunused-variable]: unused variable ‘tile_id’
#  603 |     gs_id tile_id = tiles->id;
#      |           ^~~~~~~
#  601|       int rheight = tiles->rep_height;
#  602|       int shift = tiles->shift;
#  603|->     gs_id tile_id = tiles->id;
#  604|       int code;
#  605|   

Error: CPPCHECK_WARNING (CWE-909): [#def175]
ghostscript-10.05.0/base/gdevdevn.c:938: error[uninitStructMember]: Uninitialized struct member: saved_equiv_colors.all_color_info_valid
#  936|           *pdevn_params = saved_devn_params;
#  937|           if (pequiv_colors != NULL)
#  938|->            *pequiv_colors = saved_equiv_colors;
#  939|           return code;
#  940|       }

Error: CPPCHECK_WARNING (CWE-457): [#def176]
ghostscript-10.05.0/base/gdevdrop.c:157: warning[uninitvar]: Uninitialized variables: planes.depth, planes.shift, planes.index
#  155|           /* RJW: This code, like most of ghostscripts planar support,
#  156|            * will only work if every plane has the same depth. */
#  157|->         draster = bitmap_raster(width * planes[0].depth);
#  158|           code = gdev_mem_set_planar(pmdev, num_comp, planes);
#  159|           if (code < 0)

Error: CPPCHECK_WARNING (CWE-457): [#def177]
ghostscript-10.05.0/base/gdevp14.c:7463: warning[uninitvar]: Uninitialized variable: comp_bits
# 7461|       memset(&(pdev->color_info.comp_bits), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7462|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7463|->     memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7464|       memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7465|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457): [#def178]
ghostscript-10.05.0/base/gdevp14.c:7464: warning[uninitvar]: Uninitialized variable: comp_shift
# 7462|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7463|       memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7464|->     memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7465|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;
# 7466|       group_color->max_gray = pdev->color_info.max_gray = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457): [#def179]
ghostscript-10.05.0/base/gdevp14.c:8752: warning[uninitvar]: Uninitialized variable: comp_value
# 8750|           for (i = pgs->color_component_map.num_components - 1; i >= 0; i--)
# 8751|               comp_value[i] = all;
# 8752|->         map_components_to_colorants(comp_value, &(pgs->color_component_map), cm_comps);
# 8753|       }
# 8754|   

Error: CPPCHECK_WARNING (CWE-190): [#def180]
ghostscript-10.05.0/base/gdevplnx.c:329: error[integerOverflow]: Signed integer overflow for expression '-(1<<3)'.
#  327|               pts->size.y = buffer_size / width_raster;
#  328|           } else {
#  329|->             pts->buffer.raster = buffer_size & -align_bitmap_mod;
#  330|               pts->size.x =
#  331|                   pts->buffer.raster * (8 / edev->plane_dev->color_info.depth);

Error: CPPCHECK_WARNING (CWE-190): [#def181]
ghostscript-10.05.0/base/gsalloc.c:763: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  761|       iimem->large_size = 1;
#  762|   #else
#  763|->     iimem->large_size = ((clump_size / 4) & -obj_align_mod) + 1;
#  764|   #endif
#  765|       iimem->is_controlled = false;

Error: CPPCHECK_WARNING (CWE-190): [#def182]
ghostscript-10.05.0/base/gsalloc.c:1834: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1832|                pfree = *(const obj_header_t * const *)pfree
# 1833|               )
# 1834|->             unused += obj_align_round(pfree[-1].o_size);
# 1835|       }
# 1836|       return unused;

Error: CPPCHECK_WARNING (CWE-190): [#def183]
ghostscript-10.05.0/base/gsalloc.c:1845: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1843|       /* Scan large object freelist. We'll grab an object up to 1/8 bigger */
# 1844|       /* right away, else use best fit of entire scan. */
# 1845|->     obj_size_t aligned_size = obj_align_round(size);
# 1846|       size_t aligned_min_size = aligned_size + sizeof(obj_header_t);
# 1847|       size_t aligned_max_size =

Error: CPPCHECK_WARNING (CWE-190): [#def184]
ghostscript-10.05.0/base/gsalloc.c:1860: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1858|   
# 1859|       while ((pfree = *ppfprev) != 0) {
# 1860|->         obj_size_t free_size = obj_align_round(pfree[-1].o_size);
# 1861|   
# 1862|           if (free_size == aligned_size ||

Error: CPPCHECK_WARNING (CWE-190): [#def185]
ghostscript-10.05.0/base/gsalloc.c:1908: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1906|            */
# 1907|           obj_size_t asize =
# 1908|->             ((lsize + obj_align_mask) & -obj_align_mod) +
# 1909|               sizeof(obj_header_t);
# 1910|           clump_t *cp =

Error: CPPCHECK_WARNING (CWE-190): [#def186]
ghostscript-10.05.0/base/gsalloc.c:2245: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2243|                   /* We're removing an object. */
# 2244|                   *ppfprev = *(obj_header_t **) pfree;
# 2245|->                 removed += obj_align_round(pfree[-1].o_size);
# 2246|                   if (!--count)
# 2247|                       break;

Error: CPPCHECK_WARNING (CWE-190): [#def187]
ghostscript-10.05.0/base/gsalloc.c:2261: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2259|   /* trailing dummy obj_header */
# 2260|   {
# 2261|->     obj_size_t rounded_size = obj_align_round(size);
# 2262|       obj_header_t *pre_obj = obj - 1;
# 2263|       obj_header_t *excess_pre = (obj_header_t*)((char*)obj + rounded_size);

Error: CPPCHECK_WARNING (CWE-190): [#def188]
ghostscript-10.05.0/base/gsalloc.c:2264: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2262|       obj_header_t *pre_obj = obj - 1;
# 2263|       obj_header_t *excess_pre = (obj_header_t*)((char*)obj + rounded_size);
# 2264|->     obj_size_t old_rounded_size = obj_align_round(pre_obj->o_size);
# 2265|       obj_size_t excess_size = old_rounded_size - rounded_size - sizeof(obj_header_t);
# 2266|   

Error: CPPCHECK_WARNING (CWE-190): [#def189]
ghostscript-10.05.0/base/gsalloc.c:2317: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2315|                                    log2_obj_align_mod];
# 2316|           else {
# 2317|->             uint rounded_size = obj_align_round(excess_size);
# 2318|   
# 2319|               pfl = &mem->freelists[LARGE_FREELIST_INDEX];

Error: CPPCHECK_WARNING (CWE-562): [#def190]
ghostscript-10.05.0/base/gscrdp.c:567: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  565|               break;
#  566|       }
#  567|->     pcrd->client_data = &data;
#  568|       if (code_lmn > 0)
#  569|           pcrd->EncodeLMN = Encode_default;

Error: CPPCHECK_WARNING (CWE-457): [#def191]
ghostscript-10.05.0/base/gsdevmem.c:188: error[uninitvar]: Uninitialized variable: palette
#  186|           new_dev->palette.size = pcount;
#  187|           new_dev->palette.data = dev_palette;
#  188|->         memcpy(dev_palette, palette, pcount);
#  189|           if (!has_color) {
#  190|               new_dev->color_info.num_components = 1;

Error: CPPCHECK_WARNING (CWE-457): [#def192]
ghostscript-10.05.0/base/gsfunc0.c:1069: warning[uninitvar]: Uninitialized variable: TT0
# 1067|               TT1[i] = 0;
# 1068|       }
# 1069|->     *mask = tensor_dimension_monotonity(TT0, TT1, ii, i0, pole, 0,
# 1070|                           count_of(pole) / 4, 1, pfn->params.Order);
# 1071|       return 0;

Error: CPPCHECK_WARNING (CWE-457): [#def193]
ghostscript-10.05.0/base/gsfunc0.c:1069: warning[uninitvar]: Uninitialized variable: TT1
# 1067|               TT1[i] = 0;
# 1068|       }
# 1069|->     *mask = tensor_dimension_monotonity(TT0, TT1, ii, i0, pole, 0,
# 1070|                           count_of(pole) / 4, 1, pfn->params.Order);
# 1071|       return 0;

Error: CPPCHECK_WARNING (CWE-562): [#def194]
ghostscript-10.05.0/base/gsicc_create.c:1546: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1544|       if (lutatobparts->matrix == NULL) {
# 1545|           gsicc_create_copy_matrix3(cam, (float*) &temp_matrix);
# 1546|->         lutatobparts->matrix = &temp_matrix;
# 1547|       } else {
# 1548|           if (yonly) {

Error: CPPCHECK_WARNING (CWE-562): [#def195]
ghostscript-10.05.0/base/gsicc_create.c:1577: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1575|               matrixmult(cam, 3, 3, &(lutatobparts->matrix->cu.u), 3, 3,
# 1576|                       &(temp_matrix.cu.u));
# 1577|->             lutatobparts->matrix = &temp_matrix;
# 1578|           }
# 1579|       }

Error: CPPCHECK_WARNING (CWE-562): [#def196]
ghostscript-10.05.0/base/gsicc_create.c:1655: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1653|       ones_vec.w = 1;
# 1654|       gsicc_make_diag_matrix(&ident_matrix,&ones_vec);
# 1655|->     icc_luta2bparts->matrix = &ident_matrix;
# 1656|       /* Now create the profile */
# 1657|       if (icc_luta2bparts->num_in == 1 ) {

Error: CPPCHECK_WARNING (CWE-562): [#def197]
ghostscript-10.05.0/base/gsicc_create.c:2152: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 2150|           /* Table can stay as is. Handle the ABC/LMN portions via the curves
# 2151|              matrix curves operation */
# 2152|->         icc_luta2bparts->matrix = &matrix_input_trans;
# 2153|           code = gsicc_create_abc_merge(icc_luta2bparts, &(pcie->common.MatrixLMN),
# 2154|                                   &(pcie->MatrixABC), has_abc_procs,

Error: CPPCHECK_WARNING (CWE-590): [#def198]
ghostscript-10.05.0/base/gsmalloc.c:366: error[autovarInvalidDeallocation]: Deallocation of an auto-variable ([) results in undefined behaviour.
#  364|       gs_alloc_fill(bp, gs_alloc_fill_free,
#  365|                     bp->size + sizeof(gs_malloc_block_t));
#  366|->     free(bp);
#  367|   #else
#  368|       bp = mmem->allocated; /* If 'finalize' releases a memory,

Error: COMPILER_WARNING (CWE-457): [#def199]
ghostscript-10.05.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.05.0/base/gdevprn.h:24: included_from: Included from here.
ghostscript-10.05.0/contrib/japanese/gdev10v.c:33: included_from: Included from here.
ghostscript-10.05.0/contrib/japanese/gdev10v.c: scope_hint: In function ‘bj10v_print_page’
ghostscript-10.05.0/base/gsmalloc.h:58:21: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
#   58 |   gs_free_object(mem->non_gc_memory, data, cname)
ghostscript-10.05.0/contrib/japanese/gdev10v.c:202:15: note: ‘in’ was declared here
#  202 |         byte *in, *out;
#      |               ^~
#   56|     (void *)gs_alloc_byte_array(mem->non_gc_memory, nelts, esize, cname)
#   57|   #define gs_free(mem, data, nelts, esize, cname)\
#   58|->   gs_free_object(mem->non_gc_memory, data, cname)
#   59|   
#   60|   /* ---------------- Locking ---------------- */

Error: COMPILER_WARNING (CWE-457): [#def200]
ghostscript-10.05.0/base/gsmalloc.h:58:21: warning[-Wmaybe-uninitialized]: ‘out’ may be used uninitialized
#   58 |   gs_free_object(mem->non_gc_memory, data, cname)
ghostscript-10.05.0/contrib/japanese/gdev10v.c:202:20: note: ‘out’ was declared here
#  202 |         byte *in, *out;
#      |                    ^~~
#   56|     (void *)gs_alloc_byte_array(mem->non_gc_memory, nelts, esize, cname)
#   57|   #define gs_free(mem, data, nelts, esize, cname)\
#   58|->   gs_free_object(mem->non_gc_memory, data, cname)
#   59|   
#   60|   /* ---------------- Locking ---------------- */

Error: COMPILER_WARNING (CWE-1164): [#def201]
ghostscript-10.05.0/base/gstiffio.c:180:1: warning[-Wunused-function]: ‘gs_tifsWarningHandlerEx’ defined but not used
#  180 | gs_tifsWarningHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#      | ^~~~~~~~~~~~~~~~~~~~~~~
#  178|   
#  179|   static void
#  180|-> gs_tifsWarningHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#  181|   {
#  182|       tifs_io_private *tiffio = (tifs_io_private *)client_data;

Error: COMPILER_WARNING (CWE-1164): [#def202]
ghostscript-10.05.0/base/gstiffio.c:196:1: warning[-Wunused-function]: ‘gs_tifsErrorHandlerEx’ defined but not used
#  196 | gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#      | ^~~~~~~~~~~~~~~~~~~~~
#  194|   
#  195|   static void
#  196|-> gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#  197|   {
#  198|       tifs_io_private *tiffio = (tifs_io_private *)client_data;

Error: CPPCHECK_WARNING (CWE-457): [#def203]
ghostscript-10.05.0/base/gstype42.c:826: error[legacyUninitvar]: Uninitialized variable: code
#  824|   
#  825|       if (code2 < 0) code = gs_note_error(code2);
#  826|->     return code;
#  827|   }
#  828|   

Error: CPPCHECK_WARNING (CWE-476): [#def204]
ghostscript-10.05.0/base/gxblend.c:3508: error[ctunullpointer]: Null pointer dereference: table
# 3506|   {
# 3507|       byte     top = idx>>8;
# 3508|->     uint16_t a   = table[top];
# 3509|       int      b   = table[top+1]-a;
# 3510|   

Error: CPPCHECK_WARNING (CWE-190): [#def205]
ghostscript-10.05.0/base/gxccman.c:82: error[integerOverflow]: Signed integer overflow for expression '-((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))&((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1)?(((int)sizeof(struct cached_char))+((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1))/(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))*(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):(((int)sizeof(struct cached_char))+((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1))&-(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)))'.
#   80|          cache character memory before filling the table.  The searching
#   81|          code uses an empty table entry as a sentinel. */
#   82|->     chsize = max(chsize, ROUND_UP(bmax, sizeof_cached_char) / sizeof_cached_char + 1);
#   83|   
#   84|       /* Round up chsize to a power of 2. */

Error: CPPCHECK_WARNING (CWE-190): [#def206]
ghostscript-10.05.0/base/gxccman.c:762: error[integerOverflow]: Signed integer overflow for expression '-(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))'.
#  760|       cc_set_raster(cc, nraster);
#  761|       {
#  762|->         uint diff = ROUND_DOWN(cc->head.size - sizeof_cached_char -
#  763|                                  nraster * cc->height,
#  764|                                  align_cached_char_mod);

Error: CPPCHECK_WARNING (CWE-190): [#def207]
ghostscript-10.05.0/base/gxccman.c:866: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  864|               char_cache_chunk *cck_prev = dir->ccache.chunks;
#  865|               char_cache_chunk *cck;
#  866|->             uint cksize = ROUND_UP(dir->ccache.bmax / 5 + 1, obj_align_mod);
#  867|               uint tsize = ROUND_UP(dir->ccache.bmax - dir->ccache.bspace, obj_align_mod);
#  868|               byte *cdata;

Error: CPPCHECK_WARNING (CWE-190): [#def208]
ghostscript-10.05.0/base/gxccman.c:867: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  865|               char_cache_chunk *cck;
#  866|               uint cksize = ROUND_UP(dir->ccache.bmax / 5 + 1, obj_align_mod);
#  867|->             uint tsize = ROUND_UP(dir->ccache.bmax - dir->ccache.bspace, obj_align_mod);
#  868|               byte *cdata;
#  869|   

Error: COMPILER_WARNING: [#def209]
ghostscript-10.05.0/base/gxclmem.c: scope_hint: In function ‘memfile_get_pdata.isra.0’
ghostscript-10.05.0/base/gxclmem.c:951:67: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
#  951 |                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
ghostscript-10.05.0/base/gxclmem.c:21: included_from: Included from here.
ghostscript-10.05.0/base/gxclmem.h:56:10: note: at offset [-2147483647, -1] into destination object ‘data’ of size 16224
#   56 |     char data[MEMFILE_DATA_SIZE];
#      |          ^~~~
#  949|                       back_up = f->rd.limit - f->rd.ptr;
#  950|                       for (i = 0; i < back_up; i++)
#  951|->                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#  952|                   }
#  953|                   f->rd.ptr = (const byte *)bp->phys_blk->link->data - back_up - 1;

Error: CPPCHECK_WARNING (CWE-457): [#def210]
ghostscript-10.05.0/base/gxclthrd.c:906: warning[uninitvar]: Uninitialized variable: code
#  904|           (endtime[1] - starttime[1]) / 1000000;
#  905|   #endif
#  906|->     if (code < 0)
#  907|           thread->status = THREAD_ERROR;          /* shouldn't happen */
#  908|       else

Error: CPPCHECK_WARNING (CWE-457): [#def211]
ghostscript-10.05.0/base/gxcmap.c:2496: error[legacyUninitvar]: Uninitialized variable: cv_frac[i]
# 2494|              which does not take a frac value...  */
# 2495|           for (i = 0; i < nc; i++) {
# 2496|->             color_val[i] = frac2cv(cv_frac[i]);
# 2497|           }
# 2498|           if (i < ncomps)

Error: CPPCHECK_WARNING (CWE-758): [#def212]
ghostscript-10.05.0/base/gxfill.c:519: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  517|           }
#  518|           code = (*fill_loop)
#  519|->             (&lst, (max_fill_band == 0 ? NO_BAND_MASK : int2fixed(-max_fill_band)));
#  520|           if (lst.windings != NULL && lst.windings != lst.local_windings)
#  521|               gs_free_object(pdev->memory, lst.windings, "gx_general_fill_path");

Error: COMPILER_WARNING (CWE-457): [#def213]
ghostscript-10.05.0/base/gximono.c: scope_hint: In function ‘image_render_mono_ht’
ghostscript-10.05.0/base/gximono.c:1169:23: warning[-Wmaybe-uninitialized]: ‘devc_contone’ may be used uninitialized
# 1169 |     devc_contone_gray = devc_contone[0];
#      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ghostscript-10.05.0/base/gximono.c:1040:11: note: ‘devc_contone’ declared here
# 1040 |     byte *devc_contone[GX_DEVICE_COLOR_MAX_COMPONENTS];
#      |           ^~~~~~~~~~~~
# 1167|       xr = fixed2int_var_rounded(dda_current(dda_ht));	/* indexes in the destination (contone) */
# 1168|   
# 1169|->     devc_contone_gray = devc_contone[0];
# 1170|       if (penum->color_cache == NULL) {
# 1171|           /* No look-up in the cache to fill the source buffer. Still need to

Error: COMPILER_WARNING (CWE-457): [#def214]
ghostscript-10.05.0/base/gxshade6.c:1438:35: warning[-Wmaybe-uninitialized]: ‘d0001’ may be used uninitialized
# 1438 |     m = any_abs(c->cc.paint.values[0]) / pfs->color_domain.paint.values[0];
ghostscript-10.05.0/base/gxshade6.c: scope_hint: In function ‘fill_quadrangle.isra.0’
ghostscript-10.05.0/base/gxshade6.c:3297:19: note: ‘d0001’ declared here
# 3297 |     patch_color_t d0001, d1011, d;
#      |                   ^~~~~
# 1436|       double m;
# 1437|   
# 1438|->     m = any_abs(c->cc.paint.values[0]) / pfs->color_domain.paint.values[0];
# 1439|       for (i = 1; i < n; i++)
# 1440|           m = max(m, any_abs(c->cc.paint.values[i]) / pfs->color_domain.paint.values[i]);

Error: CPPCHECK_WARNING (CWE-457): [#def215]
ghostscript-10.05.0/base/sdcparam.c:152: warning[uninitvar]: Uninitialized variable: comp_info
#  150|   
#  151|           for (i = 0; i < num_in_tables; ++i) {
#  152|->             JQUANT_TBL *tbl = table_ptrs[comp_info[i].quant_tbl_no];
#  153|               JQUANT_TBL *default_tbl =
#  154|               (default_comp_info == 0 || default_table_ptrs == 0 ? 0 :

Error: CPPCHECK_WARNING (CWE-457): [#def216]
ghostscript-10.05.0/base/spsdf.c:102: error[uninitvar]: Uninitialized variable: buf
#  100|   
#  101|               status = (*templat->process) (st, &r, &w, true);
#  102|->             stream_write(s, buf, (uint) (w.ptr + 1 - buf));
#  103|           }
#  104|           while (status == 1);

Error: COMPILER_WARNING (CWE-457): [#def217]
ghostscript-10.05.0/contrib/gdevlx32.c: scope_hint: In function ‘finalizeheader’
ghostscript-10.05.0/contrib/gdevlx32.c:1298:23: warning[-Wmaybe-uninitialized]: ‘offs2’ may be used uninitialized
# 1298 |             nstartabs = newstart + offs2;
#      |             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
ghostscript-10.05.0/contrib/gdevlx32.c:1260:13: note: ‘offs2’ was declared here
# 1260 |         int offs2, nstartabs, back, fwd;
#      |             ^~~~~
# 1296|           /* Calculate absolute starting position of new stripe */
# 1297|           if (newhead >= 0) {
# 1298|->             nstartabs = newstart + offs2;
# 1299|           }
# 1300|   

Error: CPPCHECK_WARNING (CWE-786): [#def218]
ghostscript-10.05.0/contrib/lips4/gdevl4v.c:470: error[negativeIndex]: Array 'pdev->id_cache[257]' accessed at index -1, which is out of bounds.
#  468|               }
#  469|               for (i = j; i < pdev->count - 1; i++) {
#  470|->                 pdev->id_cache[i] = pdev->id_cache[i + 1];
#  471|               }
#  472|               pdev->id_cache[pdev->count - 1] = tmpid;

Error: CPPCHECK_WARNING (CWE-190): [#def219]
ghostscript-10.05.0/contrib/lips4/gdevl4v.c:1928: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1926|           int i, j;
# 1927|           uint width_bytes = (w + 7) >> 3;
# 1928|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 1929|           byte *buf = gs_alloc_bytes(vdev->memory, num_bytes,
# 1930|                                      "lips4v_copy_mono(buf)");

Error: CPPCHECK_WARNING (CWE-190): [#def220]
ghostscript-10.05.0/contrib/lips4/gdevl4v.c:2092: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 2090|           int i;
# 2091|           uint width_bytes = (w + 7) >> 3;
# 2092|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 2093|           byte *buf = gs_alloc_bytes(vdev->memory, num_bytes,
# 2094|                                      "lips4v_fill_mask(buf)");

Error: CPPCHECK_WARNING (CWE-401): [#def221]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:2399: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
# 2397|                == OPVP_PARAMERROR && nn > n) {
# 2398|               /* realloc buffer and retry */
# 2399|->             p = realloc(p,nn*sizeof(opvp_cspace_t));
# 2400|               r = gsopvpQueryColorSpace(dev, pdev->globals.printerContext,&nn,p);
# 2401|           }

Error: CPPCHECK_WARNING (CWE-401): [#def222]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3465: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3463|               return_error(gs_error_invalidaccess);
# 3464|           }
# 3465|->         buff = realloc(buff, vdps.size + 1);
# 3466|           memcpy(buff, vdps.data, vdps.size);
# 3467|           buff[vdps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def223]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3483: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3481|       switch (code) {
# 3482|       case 0:
# 3483|->         buff = realloc(buff, pmps.size + 1);
# 3484|           memcpy(buff, pmps.data, pmps.size);
# 3485|           buff[pmps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def224]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3501: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3499|       switch (code) {
# 3500|       case 0:
# 3501|->         buff = realloc(buff, jips.size + 1);
# 3502|           memcpy(buff, jips.data, jips.size);
# 3503|           buff[jips.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def225]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3519: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3517|       switch (code) {
# 3518|       case 0:
# 3519|->         buff = realloc(buff, dips.size + 1);
# 3520|           memcpy(buff, dips.data, dips.size);
# 3521|           buff[dips.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def226]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3537: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3535|       switch (code) {
# 3536|       case 0:
# 3537|->         buff = realloc(buff, fips.size + 1);
# 3538|           memcpy(buff, fips.data, fips.size);
# 3539|           buff[fips.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def227]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3568: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3566|       switch (code) {
# 3567|       case 0:
# 3568|->         buff = realloc(buff, mlps.size + 1);
# 3569|           memcpy(buff, mlps.data, mlps.size);
# 3570|           buff[mlps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def228]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3583: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3581|       switch (code) {
# 3582|       case 0:
# 3583|->         buff = realloc(buff, mtps.size + 1);
# 3584|           memcpy(buff, mtps.data, mtps.size);
# 3585|           buff[mtps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def229]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3598: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3596|       switch (code) {
# 3597|       case 0:
# 3598|->         buff = realloc(buff, mrps.size + 1);
# 3599|           memcpy(buff, mrps.data, mrps.size);
# 3600|           buff[mrps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def230]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3613: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3611|       switch (code) {
# 3612|       case 0:
# 3613|->         buff = realloc(buff, mbps.size + 1);
# 3614|           memcpy(buff, mbps.data, mbps.size);
# 3615|           buff[mbps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def231]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:3630: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3628|       switch (code) {
# 3629|       case 0:
# 3630|->         buff = realloc(buff, zmps.size + 1);
# 3631|           memcpy(buff, zmps.data, zmps.size);
# 3632|           buff[zmps.size] = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def232]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5091: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5089|   #ifdef  OPVP_OPT_MULTI_PATH
# 5090|               npoints = 1;
# 5091|->             points = realloc(points, sizeof(_fPoint));
# 5092|               current = start;
# 5093|   #endif

Error: CPPCHECK_WARNING (CWE-401): [#def233]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5100: error[memleakOnRealloc]: Common realloc mistake: 'opvp_p' nulled but not freed upon failure
# 5098|           } else if (op != pop) {
# 5099|               /* convert float to Fix */
# 5100|->             opvp_p = realloc(opvp_p, sizeof(opvp_point_t) * npoints);
# 5101|               for (i = 0; i < npoints; i++) {
# 5102|                   OPVP_F2FIX(points[i].x, opvp_p[i].x);

Error: CPPCHECK_WARNING (CWE-401): [#def234]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5151: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5149|               /* reset */
# 5150|               npoints = 1;
# 5151|->             points = realloc(points, sizeof(_fPoint));
# 5152|               points[0] = current;
# 5153|   #endif

Error: CPPCHECK_WARNING (CWE-401): [#def235]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5164: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5162|               i = npoints;
# 5163|               npoints += 1;
# 5164|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5165|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5166|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: CPPCHECK_WARNING (CWE-401): [#def236]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5191: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5189|               i = npoints;
# 5190|               npoints += 1;
# 5191|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5192|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5193|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: CPPCHECK_WARNING (CWE-401): [#def237]
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:5215: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5213|               i = npoints;
# 5214|               npoints += 3;
# 5215|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5216|               points[i  ].x = fixed2float(vs[0]) / scale.x;
# 5217|               points[i  ].y = fixed2float(vs[1]) / scale.y;

Error: CPPCHECK_WARNING (CWE-457): [#def238]
ghostscript-10.05.0/contrib/pcl3/src/pclsize.c:123: warning[uninitvar]: Uninitialized variable: &key.ps
#  121|   
#  122|     key.mc = ms_without_flags(code) |( code & PCL_CARD_FLAG);
#  123|->   result = (const CodeEntry *)bsearch(&key, table->code_map, array_size(code_map),
#  124|       sizeof(CodeEntry), cmp_by_size);
#  125|   

Error: CPPCHECK_WARNING (CWE-457): [#def239]
ghostscript-10.05.0/contrib/pcl3/src/pclsize.c:164: warning[uninitvar]: Uninitialized variable: &key.mc
#  162|   
#  163|     key.ps = code;
#  164|->   result = (const CodeEntry *)bsearch(&key, table->inverse_map,
#  165|       array_size(code_map), sizeof(CodeEntry), cmp_by_code);
#  166|     if (result == NULL) {

Error: CPPCHECK_WARNING (CWE-476): [#def240]
ghostscript-10.05.0/devices/gdevdsp.c:980: warning[nullPointer]: Possible null pointer dereference: dh.data
#  978|               code = 0;
#  979|               for (i=0; i<dh.size; i++) {
#  980|->                 val = dh.data[i];
#  981|                   if ((val >= '0') && (val <= '9'))
#  982|                       val = val - '0';

Error: CPPCHECK_WARNING (CWE-758): [#def241]
ghostscript-10.05.0/devices/gdevl31s.c:130: error[ctuPointerArith]: Pointer arithmetic overflow; 'buffer' buffer size is 4096
#  128|   lj3100sw_output_data_byte(gp_file *prn_stream, char *buffer, char **pptr, int val)
#  129|   {
#  130|->         if (*pptr >= buffer + BUFFERSIZE)
#  131|                   lj3100sw_flush_buffer(prn_stream, buffer, pptr);
#  132|           *(*pptr)++ = val;

Error: CPPCHECK_WARNING (CWE-457): [#def242]
ghostscript-10.05.0/devices/gdevpbm.c:1258: warning[uninitvar]: Uninitialized variable: raw
# 1256|               if (x > end)
# 1257|                   outp -= 3;
# 1258|->             if (gp_fwrite(raw, 1, outp - raw, pstream) != outp - raw)
# 1259|                   return_error(gs_error_ioerror);
# 1260|           }

Error: CPPCHECK_WARNING (CWE-457): [#def243]
ghostscript-10.05.0/devices/gdevpdfimg.c:610: error[uninitvar]: Uninitialized variable: buf
#  608|               stream_cursor_write_init(&w, buf, sizeof(buf));
#  609|               status = (*templat->process) (st, &r, &w, true);
#  610|->             stream_write(s, buf, (uint) (w.ptr + 1 - buf));
#  611|           }
#  612|           while (status == 1);

Error: CPPCHECK_WARNING (CWE-190): [#def244]
ghostscript-10.05.0/devices/gdevupd.c:3517: error[integerOverflow]: Signed integer underflow for expression 'hv-lv'.
# 3515|               upd->valbuf[i] = v;
# 3516|            }
# 3517|->          scale = (float) comp->threshold / (float) (hv - lv);
# 3518|            lv   += (int32_t)(comp->threshold / (2*scale));
# 3519|            for(i = icomp; i < upd->nvalbuf; i += upd->ncomp)

Error: CPPCHECK_WARNING (CWE-401): [#def245]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:156: error[memleak]: Memory leak: alloced
#  154|     result = (void *)(pad + (char *)alloced);
#  155|     ((int *)result)[-1] = pad;
#  156|->   return result;
#  157|   }
#  158|   

Error: CPPCHECK_WARNING (CWE-476): [#def246]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1543: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ebc
# 1541|     char *rs_lut;
# 1542|     double rbscale = eb_compute_rbscale(params);
# 1543|->   int even_c1 = ebc->even_c1;
# 1544|     int even_rlimit = 1 << (30 - EVEN_SHIFT + even_c1);
# 1545|     int do_shadows = params->do_shadows;

Error: CPPCHECK_WARNING (CWE-476): [#def247]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1551: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1549|     result = (EBPlaneCtx *)malloc (sizeof(EBPlaneCtx));
# 1550|   
# 1551|->   result->source_width = source_width;
# 1552|     result->dest_width = dest_width;
# 1553|   

Error: CPPCHECK_WARNING (CWE-476): [#def248]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1552: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1550|   
# 1551|     result->source_width = source_width;
# 1552|->   result->dest_width = dest_width;
# 1553|   
# 1554|     new_lut = (int *)malloc ((ET_SRC_MAX + 1) * sizeof(int));

Error: CPPCHECK_WARNING (CWE-476): [#def249]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1569: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_lut
# 1567|         else
# 1568|           nli = lut[i] >> (24 - EVEN_SHIFT);
# 1569|->       new_lut[i] = (1 << EVEN_SHIFT) - nli;
# 1570|       }
# 1571|   

Error: CPPCHECK_WARNING (CWE-476): [#def250]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1581: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_lut
# 1579|       {
# 1580|         double rb;
# 1581|->       int nl = new_lut[i] * (params->levels - 1);
# 1582|         int rs;
# 1583|   

Error: CPPCHECK_WARNING (CWE-476): [#def251]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1594: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rs_lut
# 1592|   
# 1593|         rs = eb_compute_randshift(nl, rs_base, do_shadows, params->levels);
# 1594|->       rs_lut[i] = rs;
# 1595|   
# 1596|         if (params->do_shadows)

Error: CPPCHECK_WARNING (CWE-476): [#def252]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1611: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rb_lut
# 1609|               }
# 1610|           }
# 1611|->       rb_lut[i] = rb;
# 1612|   
# 1613|       }

Error: CPPCHECK_WARNING (CWE-476): [#def253]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1686: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1684|       }
# 1685|   
# 1686|->   result->source_width = params->source_width;
# 1687|     result->dest_width = params->dest_width;
# 1688|     result->n_planes = n_planes;

Error: CPPCHECK_WARNING (CWE-476): [#def254]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1687: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1685|   
# 1686|     result->source_width = params->source_width;
# 1687|->   result->dest_width = params->dest_width;
# 1688|     result->n_planes = n_planes;
# 1689|     result->levels = params->levels;

Error: CPPCHECK_WARNING (CWE-476): [#def255]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1688: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1686|     result->source_width = params->source_width;
# 1687|     result->dest_width = params->dest_width;
# 1688|->   result->n_planes = n_planes;
# 1689|     result->levels = params->levels;
# 1690|   

Error: CPPCHECK_WARNING (CWE-476): [#def256]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1689: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1687|     result->dest_width = params->dest_width;
# 1688|     result->n_planes = n_planes;
# 1689|->   result->levels = params->levels;
# 1690|   
# 1691|     result->aspect = params->aspect;

Error: CPPCHECK_WARNING (CWE-476): [#def257]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1691: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1689|     result->levels = params->levels;
# 1690|   
# 1691|->   result->aspect = params->aspect;
# 1692|   
# 1693|     result->even_ehi = 0.6 * (1 << EVEN_SHIFT) / (params->levels - 1);

Error: CPPCHECK_WARNING (CWE-476): [#def258]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1693: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1691|     result->aspect = params->aspect;
# 1692|   
# 1693|->   result->even_ehi = 0.6 * (1 << EVEN_SHIFT) / (params->levels - 1);
# 1694|     result->even_elo = -result->even_ehi;
# 1695|   

Error: CPPCHECK_WARNING (CWE-476): [#def259]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1694: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1692|   
# 1693|     result->even_ehi = 0.6 * (1 << EVEN_SHIFT) / (params->levels - 1);
# 1694|->   result->even_elo = -result->even_ehi;
# 1695|   
# 1696|     result->strengths = (int *)malloc (sizeof(int) * n_planes);

Error: CPPCHECK_WARNING (CWE-476): [#def260]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1696: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1694|     result->even_elo = -result->even_ehi;
# 1695|   
# 1696|->   result->strengths = (int *)malloc (sizeof(int) * n_planes);
# 1697|     memcpy (result->strengths, params->strengths,
# 1698|             sizeof(int) * n_planes);

Error: CPPCHECK_WARNING (CWE-476): [#def261]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1697: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1695|   
# 1696|     result->strengths = (int *)malloc (sizeof(int) * n_planes);
# 1697|->   memcpy (result->strengths, params->strengths,
# 1698|             sizeof(int) * n_planes);
# 1699|   

Error: CPPCHECK_WARNING (CWE-476): [#def262]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1702: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1700|     log2_levels = even_log2 (params->levels);
# 1701|     log2_aspect = even_log2 (params->aspect);
# 1702|->   result->even_c1 = 6 + log2_aspect + log2_levels - params->even_c1_scale;
# 1703|     result->do_shadows = params->do_shadows;
# 1704|   

Error: CPPCHECK_WARNING (CWE-476): [#def263]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1703: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1701|     log2_aspect = even_log2 (params->aspect);
# 1702|     result->even_c1 = 6 + log2_aspect + log2_levels - params->even_c1_scale;
# 1703|->   result->do_shadows = params->do_shadows;
# 1704|   
# 1705|     result->c_line = (int *)calloc (params->dest_width, sizeof(int));

Error: CPPCHECK_WARNING (CWE-476): [#def264]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1705: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1703|     result->do_shadows = params->do_shadows;
# 1704|   
# 1705|->   result->c_line = (int *)calloc (params->dest_width, sizeof(int));
# 1706|   
# 1707|     result->seed1 = 0x5324879f;

Error: CPPCHECK_WARNING (CWE-476): [#def265]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1707: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1705|     result->c_line = (int *)calloc (params->dest_width, sizeof(int));
# 1706|   
# 1707|->   result->seed1 = 0x5324879f;
# 1708|     result->seed2 = 0xb78d0945;
# 1709|   

Error: CPPCHECK_WARNING (CWE-476): [#def266]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1708: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1706|   
# 1707|     result->seed1 = 0x5324879f;
# 1708|->   result->seed2 = 0xb78d0945;
# 1709|   
# 1710|     result->dump_file = params->dump_file;

Error: CPPCHECK_WARNING (CWE-476): [#def267]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1710: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1708|     result->seed2 = 0xb78d0945;
# 1709|   
# 1710|->   result->dump_file = params->dump_file;
# 1711|     result->dump_level = params->dump_level;
# 1712|   

Error: CPPCHECK_WARNING (CWE-476): [#def268]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1711: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1709|   
# 1710|     result->dump_file = params->dump_file;
# 1711|->   result->dump_level = params->dump_level;
# 1712|   
# 1713|   #ifdef USE_SSE2

Error: CPPCHECK_WARNING (CWE-476): [#def269]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1752: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1750|     else
# 1751|       {
# 1752|->       result->plane_ctx = (EBPlaneCtx **)malloc(sizeof(EBPlaneCtx *) * n_planes);
# 1753|         for (i = 0; i < n_planes; i++)
# 1754|           result->plane_ctx[i] = even_better_plane_new (params, result, i);

Error: CPPCHECK_WARNING (CWE-476): [#def270]
ghostscript-10.05.0/devices/rinkj/evenbetter-rll.c:1754: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1752|         result->plane_ctx = (EBPlaneCtx **)malloc(sizeof(EBPlaneCtx *) * n_planes);
# 1753|         for (i = 0; i < n_planes; i++)
# 1754|->         result->plane_ctx[i] = even_better_plane_new (params, result, i);
# 1755|       }
# 1756|     return result;

Error: CPPCHECK_WARNING (CWE-476): [#def271]
ghostscript-10.05.0/devices/rinkj/rinkj-byte-stream.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  102|     result = (RinkjByteStreamFile *)malloc (sizeof (RinkjByteStreamFile));
#  103|   
#  104|->   result->super.write = rinkj_byte_stream_file_write;
#  105|     result->f = f;
#  106|   

Error: CPPCHECK_WARNING (CWE-476): [#def272]
ghostscript-10.05.0/devices/rinkj/rinkj-byte-stream.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  103|   
#  104|     result->super.write = rinkj_byte_stream_file_write;
#  105|->   result->f = f;
#  106|   
#  107|     return &result->super;

Error: CPPCHECK_WARNING (CWE-476): [#def273]
ghostscript-10.05.0/devices/rinkj/rinkj-config.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#   39|   
#   40|     result = malloc (size + 1);
#   41|->   memcpy (result, src, size);
#   42|     result[size] = 0;
#   43|     return result;

Error: CPPCHECK_WARNING (CWE-476): [#def274]
ghostscript-10.05.0/devices/rinkj/rinkj-config.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#   40|     result = malloc (size + 1);
#   41|     memcpy (result, src, size);
#   42|->   result[size] = 0;
#   43|     return result;
#   44|   }

Error: CPPCHECK_WARNING (CWE-476): [#def275]
ghostscript-10.05.0/devices/rinkj/rinkj-device.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
#   43|     /* This implementation is in terms of device_set, but we're going to
#   44|        change the prototype of the device so this is native. */
#   45|->   memcpy (buf, key, keylen);
#   46|     memcpy (buf + keylen, ": ", 2);
#   47|     memcpy (buf + keylen + 2, value, value_size);

Error: CPPCHECK_WARNING (CWE-682): [#def276]
ghostscript-10.05.0/devices/rinkj/rinkj-device.c:46: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
#   44|        change the prototype of the device so this is native. */
#   45|     memcpy (buf, key, keylen);
#   46|->   memcpy (buf + keylen, ": ", 2);
#   47|     memcpy (buf + keylen + 2, value, value_size);
#   48|     buf[keylen + 2 + value_size] = 0;

Error: CPPCHECK_WARNING (CWE-682): [#def277]
ghostscript-10.05.0/devices/rinkj/rinkj-device.c:47: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
#   45|     memcpy (buf, key, keylen);
#   46|     memcpy (buf + keylen, ": ", 2);
#   47|->   memcpy (buf + keylen + 2, value, value_size);
#   48|     buf[keylen + 2 + value_size] = 0;
#   49|     status = rinkj_device_set (self, buf);

Error: CPPCHECK_WARNING (CWE-476): [#def278]
ghostscript-10.05.0/devices/rinkj/rinkj-device.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
#   46|     memcpy (buf + keylen, ": ", 2);
#   47|     memcpy (buf + keylen + 2, value, value_size);
#   48|->   buf[keylen + 2 + value_size] = 0;
#   49|     status = rinkj_device_set (self, buf);
#   50|     free (buf);

Error: CPPCHECK_WARNING (CWE-476): [#def279]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1066: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1064|     result = (RinkjEscp *)malloc (sizeof (RinkjEscp));
# 1065|   
# 1066|->   result->super.set = rinkj_escp_set;
# 1067|     result->super.write = rinkj_escp_write;
# 1068|     result->super.init = rinkj_escp_init;

Error: CPPCHECK_WARNING (CWE-476): [#def280]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1067: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1065|   
# 1066|     result->super.set = rinkj_escp_set;
# 1067|->   result->super.write = rinkj_escp_write;
# 1068|     result->super.init = rinkj_escp_init;
# 1069|     result->super.init_happened = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def281]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1068: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1066|     result->super.set = rinkj_escp_set;
# 1067|     result->super.write = rinkj_escp_write;
# 1068|->   result->super.init = rinkj_escp_init;
# 1069|     result->super.init_happened = 0;
# 1070|     result->width = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def282]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1069: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1067|     result->super.write = rinkj_escp_write;
# 1068|     result->super.init = rinkj_escp_init;
# 1069|->   result->super.init_happened = 0;
# 1070|     result->width = 0;
# 1071|     result->out = out;

Error: CPPCHECK_WARNING (CWE-476): [#def283]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1070: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1068|     result->super.init = rinkj_escp_init;
# 1069|     result->super.init_happened = 0;
# 1070|->   result->width = 0;
# 1071|     result->out = out;
# 1072|   

Error: CPPCHECK_WARNING (CWE-476): [#def284]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1071: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1069|     result->super.init_happened = 0;
# 1070|     result->width = 0;
# 1071|->   result->out = out;
# 1072|   
# 1073|     result->num_chan = 4;

Error: CPPCHECK_WARNING (CWE-476): [#def285]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1073: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1071|     result->out = out;
# 1072|   
# 1073|->   result->num_chan = 4;
# 1074|     result->bps = 1;
# 1075|   

Error: CPPCHECK_WARNING (CWE-476): [#def286]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1074: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1072|   
# 1073|     result->num_chan = 4;
# 1074|->   result->bps = 1;
# 1075|   
# 1076|     result->manufacturer = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def287]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1076: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1074|     result->bps = 1;
# 1075|   
# 1076|->   result->manufacturer = NULL;
# 1077|     result->model = NULL;
# 1078|   

Error: CPPCHECK_WARNING (CWE-476): [#def288]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1077: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1075|   
# 1076|     result->manufacturer = NULL;
# 1077|->   result->model = NULL;
# 1078|   
# 1079|     result->autocut = -1;

Error: CPPCHECK_WARNING (CWE-476): [#def289]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1079: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1077|     result->model = NULL;
# 1078|   
# 1079|->   result->autocut = -1;
# 1080|     result->microdot = -1;
# 1081|     result->unidir = -1;

Error: CPPCHECK_WARNING (CWE-476): [#def290]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1080: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1078|   
# 1079|     result->autocut = -1;
# 1080|->   result->microdot = -1;
# 1081|     result->unidir = -1;
# 1082|     result->printer_weave = -1;

Error: CPPCHECK_WARNING (CWE-476): [#def291]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1081: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1079|     result->autocut = -1;
# 1080|     result->microdot = -1;
# 1081|->   result->unidir = -1;
# 1082|     result->printer_weave = -1;
# 1083|   

Error: CPPCHECK_WARNING (CWE-476): [#def292]
ghostscript-10.05.0/devices/rinkj/rinkj-epson870.c:1082: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
# 1080|     result->microdot = -1;
# 1081|     result->unidir = -1;
# 1082|->   result->printer_weave = -1;
# 1083|   
# 1084|     return &result->super;

Error: CPPCHECK_WARNING (CWE-476): [#def293]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:178: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_data
#  176|     for (i = 0; i < n_planes; i++)
#  177|       {
#  178|->       out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];

Error: CPPCHECK_WARNING (CWE-476): [#def294]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_buf
#  177|       {
#  178|         out_data[i] = malloc (xsb);
#  179|->       out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }

Error: CPPCHECK_WARNING (CWE-476): [#def295]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:180: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data_permuted
#  178|         out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|->       data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }
#  182|   

Error: CPPCHECK_WARNING (CWE-476): [#def296]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:192: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_data
#  190|         for (i = 0; i < n_planes; i++)
#  191|           {
#  192|->           uchar *pd = out_data[permutation[i]];
#  193|             uchar *pb = out_buf[i];
#  194|             int x;

Error: CPPCHECK_WARNING (CWE-476): [#def297]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:193: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_buf
#  191|           {
#  192|             uchar *pd = out_data[permutation[i]];
#  193|->           uchar *pb = out_buf[i];
#  194|             int x;
#  195|   

Error: CPPCHECK_WARNING (CWE-476): [#def298]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:267: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  265|     result = (RinkjScreenEb *)malloc (sizeof(RinkjScreenEb));
#  266|   
#  267|->   result->super.set = rinkj_screen_eb_set;
#  268|     result->super.write = rinkj_screen_eb_write;
#  269|     result->super.init = rinkj_screen_eb_init;

Error: CPPCHECK_WARNING (CWE-476): [#def299]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:268: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  266|   
#  267|     result->super.set = rinkj_screen_eb_set;
#  268|->   result->super.write = rinkj_screen_eb_write;
#  269|     result->super.init = rinkj_screen_eb_init;
#  270|     result->super.init_happened = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def300]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:269: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  267|     result->super.set = rinkj_screen_eb_set;
#  268|     result->super.write = rinkj_screen_eb_write;
#  269|->   result->super.init = rinkj_screen_eb_init;
#  270|     result->super.init_happened = 0;
#  271|     result->dev_out = dev_out;

Error: CPPCHECK_WARNING (CWE-476): [#def301]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:270: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  268|     result->super.write = rinkj_screen_eb_write;
#  269|     result->super.init = rinkj_screen_eb_init;
#  270|->   result->super.init_happened = 0;
#  271|     result->dev_out = dev_out;
#  272|     result->lut = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def302]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:271: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  269|     result->super.init = rinkj_screen_eb_init;
#  270|     result->super.init_happened = 0;
#  271|->   result->dev_out = dev_out;
#  272|     result->lut = NULL;
#  273|     result->xscale = 1.0;

Error: CPPCHECK_WARNING (CWE-476): [#def303]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:272: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  270|     result->super.init_happened = 0;
#  271|     result->dev_out = dev_out;
#  272|->   result->lut = NULL;
#  273|     result->xscale = 1.0;
#  274|     result->yscale = 1.0;

Error: CPPCHECK_WARNING (CWE-476): [#def304]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:273: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  271|     result->dev_out = dev_out;
#  272|     result->lut = NULL;
#  273|->   result->xscale = 1.0;
#  274|     result->yscale = 1.0;
#  275|     result->aspect = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def305]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:274: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  272|     result->lut = NULL;
#  273|     result->xscale = 1.0;
#  274|->   result->yscale = 1.0;
#  275|     result->aspect = 1;
#  276|     result->bps = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def306]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:275: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  273|     result->xscale = 1.0;
#  274|     result->yscale = 1.0;
#  275|->   result->aspect = 1;
#  276|     result->bps = 1;
#  277|   

Error: CPPCHECK_WARNING (CWE-476): [#def307]
ghostscript-10.05.0/devices/rinkj/rinkj-screen-eb.c:276: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  274|     result->yscale = 1.0;
#  275|     result->aspect = 1;
#  276|->   result->bps = 1;
#  277|   
#  278|     return &result->super;

Error: CPPCHECK_WARNING (CWE-457): [#def308]
ghostscript-10.05.0/devices/vector/gdevpdf.c:568: warning[uninitvar]: Uninitialized variable: key_buf
#  566|           for (j = 0; j < key_size; j++)
#  567|               key_buf[j] = key[j] ^ (byte)i;
#  568|->         s_arcfour_set_key(&sarc4, key_buf, key_size);
#  569|           s_arcfour_process_buffer(&sarc4, data, data_size);
#  570|       }

Error: CPPCHECK_WARNING (CWE-758): [#def309]
ghostscript-10.05.0/devices/vector/gdevpdf.c:1911: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1909|   
# 1910|       while(size_bits) {
# 1911|->         input_mask = 1 << (size_bits - 1);
# 1912|           output_mask = 0x80 >> linear_params->HintBits;
# 1913|           if (input_mask & val)

Error: COMPILER_WARNING (CWE-563): [#def310]
ghostscript-10.05.0/devices/vector/gdevpdfg.c: scope_hint: In function ‘check_colorants_for_pdfx4’
ghostscript-10.05.0/devices/vector/gdevpdfg.c:1425:17: warning[-Wunused-variable]: unused variable ‘Colorant’
# 1425 |     char *ink, *Colorant;
#      |                 ^~~~~~~~
# 1423|   {
# 1424|       int comp, all_present = 1;
# 1425|->     char *ink, *Colorant;
# 1426|       gs_device_n_colorant *colorant = NULL;
# 1427|   

Error: COMPILER_WARNING (CWE-563): [#def311]
ghostscript-10.05.0/devices/vector/gdevpdfi.c: scope_hint: In function ‘check_colorants_for_pdfx4’
ghostscript-10.05.0/devices/vector/gdevpdfi.c:516:17: warning[-Wunused-variable]: unused variable ‘Colorant’
#  516 |     char *ink, *Colorant;
#      |                 ^~~~~~~~
#  514|   {
#  515|       int comp, all_present = 1;
#  516|->     char *ink, *Colorant;
#  517|       gs_device_n_colorant *colorant = NULL;
#  518|   

Error: COMPILER_WARNING (CWE-704): [#def312]
ghostscript-10.05.0/devices/vector/gdevpdfi.c: scope_hint: In function ‘setup_image_colorspace’
ghostscript-10.05.0/devices/vector/gdevpdfi.c:755:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  755 |                                 *pcs_orig = pcs;
#      |                                           ^
#  753|                           if (pdev->PDFX > 0) {
#  754|                               if (pdev->PDFX < 4) {
#  755|->                                 *pcs_orig = pcs;
#  756|                                   return 1;
#  757|                               }

Error: COMPILER_WARNING (CWE-704): [#def313]
ghostscript-10.05.0/devices/vector/gdevpdfi.c:759:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  759 |                                 *pcs_orig = pcs;
#      |                                           ^
#  757|                               }
#  758|                               if (!check_colorants_for_pdfx4(pcs2)){
#  759|->                                 *pcs_orig = pcs;
#  760|                                   return 1;
#  761|                               }

Error: CPPCHECK_WARNING (CWE-457): [#def314]
ghostscript-10.05.0/devices/vector/gdevpdfk.c:184: warning[uninitvar]: Uninitialized variable: in
#  182|           for (j = 0; j < ncomp; ++j)
#  183|               in[j] = (i & (1 << j) ? ranges[j].rmax : ranges[j].rmin);
#  184|->         if (cie_to_xyz(in, xyz, pcs, pgs, pciec) >= 0) {
#  185|               double lab[3];
#  186|   

Error: CPPCHECK_WARNING (CWE-457): [#def315]
ghostscript-10.05.0/devices/vector/gdevpdfk.c:855: warning[uninitvar]: Uninitialized variable: in
#  853|               in[j] = cache_arg(n % num_points, num_points - 1,
#  854|                                 (pnt->ranges ? pnt->ranges + j : NULL));
#  855|->         cie_to_xyz(in, xyz, pcs, pgs, pciec);
#  856|           /*
#  857|            * NOTE: Due to an obscure provision of the ICC Profile

Error: CPPCHECK_WARNING (CWE-190): [#def316]
ghostscript-10.05.0/devices/vector/gdevpdfk.c:1043: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1041|               set_uint32(p + 4, offset);
# 1042|               set_uint32(p + 8, tables[i].length);
# 1043|->             offset += round_up(tables[i].length, 4);
# 1044|           }
# 1045|           set_uint32(header, offset);

Error: CPPCHECK_WARNING (CWE-457): [#def317]
ghostscript-10.05.0/devices/vector/gdevpdfu.c:1019: error[uninitvar]: Uninitialized variable: key
# 1017|       byte key[16];
# 1018|   
# 1019|->     return s_arcfour_set_key(psarc4, key, pdf_object_key(pdev, object_id, key));
# 1020|   }
# 1021|   

Error: CPPCHECK_WARNING (CWE-457): [#def318]
ghostscript-10.05.0/devices/vector/gdevpdfu.c:1563: warning[uninitvar]: Uninitialized variable: *pprev
# 1561|       for (i = 0; i < NUM_RESOURCE_CHAINS; i++) {
# 1562|           pprev = pchain + i;
# 1563|->         for (; (pres = *pprev) != 0; ) {
# 1564|               if (cond(pdev, pres)) {
# 1565|                   *pprev = pres->next;

Error: CPPCHECK_WARNING (CWE-457): [#def319]
ghostscript-10.05.0/devices/vector/gdevpdtt.c:2369: warning[uninitvar]: Uninitialized variable: s2->size
# 2367|   strings_equal(const gs_const_string *s1, const gs_const_string *s2)
# 2368|   {
# 2369|->     return s1->size == s2->size &&
# 2370|               !memcmp(s1->data, s2->data, s1->size);
# 2371|   }

Error: CPPCHECK_WARNING (CWE-190): [#def320]
ghostscript-10.05.0/devices/vector/gdevpsft.c:130: error[integerOverflow]: Signed integer overflow for expression '-4'.
#  128|       put_u32(tab + 8, offset + 0x40000000);
#  129|       put_u32(tab + 12, (ulong)length);
#  130|->     return offset + round_up(length, 4);
#  131|   }
#  132|   

Error: CPPCHECK_WARNING (CWE-190): [#def321]
ghostscript-10.05.0/devices/vector/gdevpsft.c:1126: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1124|   
# 1125|               put_u32(entry + 8, offset);
# 1126|->             offset += round_up(length, 4);
# 1127|           } else {
# 1128|               entry[8] -= 0x40;

Error: CPPCHECK_WARNING (CWE-190): [#def322]
ghostscript-10.05.0/devices/vector/gdevpx.c:720: error[integerOverflow]: Signed integer overflow for expression '-4'.
#  718|       stream *s = pclxl_stream(xdev);
#  719|       uint width_bytes = (width_bits + 7) >> 3;
#  720|->     uint num_bytes = ROUND_UP(width_bytes, 4) * height;
#  721|       bool compress = num_bytes >= 8;
#  722|       int i;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
ghostscript-10.05.0/extract/src/boxer.c:149:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.05.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.05.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.05.0/extract/src/boxer.c:583:21: call_function: inlined call to ‘content_span_iterator_init’ from ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:583:74: branch_true: following ‘true’ branch (when ‘span’ is non-NULL)...
ghostscript-10.05.0/extract/src/boxer.c:585:31: branch_true: ...to here
ghostscript-10.05.0/extract/src/boxer.c:586:21: call_function: calling ‘boxer_feed’ from ‘extract_page_analyse’
#  147|   	/* When we feed a box into a the boxer, we can never make
#  148|   	* the list more than 4 times as long. */
#  149|-> 	rectlist_t *newlist = rectlist_create(boxer->alloc, boxer->list->len * 4);
#  150|   	if (newlist == NULL)
#  151|   		return -1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
ghostscript-10.05.0/extract/src/boxer.c:241:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.05.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.05.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.05.0/extract/src/boxer.c:583:74: branch_false: following ‘false’ branch (when ‘span’ is NULL)...
ghostscript-10.05.0/extract/src/boxer.c:590:13: branch_false: ...to here
ghostscript-10.05.0/extract/src/boxer.c:590:13: call_function: calling ‘analyse_sub’ from ‘extract_page_analyse’
#  239|   static rect_t boxer_margins(boxer_t *boxer)
#  240|   {
#  241|-> 	rectlist_t *list = boxer->list;
#  242|   	int i;
#  243|   	rect_t margins = boxer->mediabox;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
ghostscript-10.05.0/extract/src/boxer.c:289:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.05.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.05.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.05.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.05.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.05.0/extract/src/boxer.c:583:74: branch_false: following ‘false’ branch (when ‘span’ is NULL)...
ghostscript-10.05.0/extract/src/boxer.c:590:13: branch_false: ...to here
ghostscript-10.05.0/extract/src/boxer.c:590:13: call_function: calling ‘analyse_sub’ from ‘extract_page_analyse’
#  287|   boxer_subdivide(boxer_t *boxer, boxer_t **boxer1, boxer_t **boxer2)
#  288|   {
#  289|-> 	rectlist_t *list = boxer->list;
#  290|   	int num_h = 0, num_v = 0;
#  291|   	double max_h = 0, max_v = 0;

Error: CPPCHECK_WARNING (CWE-457): [#def326]
ghostscript-10.05.0/extract/src/join.c:778: warning[uninitvar]: Uninitialized variables: inverse.a, inverse.b, inverse.c, inverse.d
#  776|   				}
#  777|   
#  778|-> 				left  = extract_matrix4_transform_point(inverse, left);
#  779|   				right = extract_matrix4_transform_point(inverse, right);
#  780|   				l = span->flags.wmode ? left.y  : left.x;

Error: COMPILER_WARNING (CWE-457): [#def327]
ghostscript-10.05.0/extract/src/join.c:889:46: warning[-Wmaybe-uninitialized]: ‘wmode0’ may be used uninitialized
#  889 |                                 if (ctm0_set && (wmode != wmode0 || !matrices_are_compatible(&ctm, &ctm0, wmode0)))
#      |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ghostscript-10.05.0/extract/src/join.c: scope_hint: In function ‘join_content’
ghostscript-10.05.0/extract/src/join.c:862:34: note: ‘wmode0’ was declared here
#  862 |         int               wmode, wmode0;
#      |                                  ^~~~~~
#  887|   				/* If the ctm value differs from the first ctm0 we met for the current collection,
#  888|   				 * flush the collection. */
#  889|-> 				if (ctm0_set && (wmode != wmode0 || !matrices_are_compatible(&ctm, &ctm0, wmode0)))
#  890|   					flush = 1;
#  891|   				break;

Error: COMPILER_WARNING (CWE-758): [#def328]
ghostscript-10.05.0/extract/src/json.c:83:5: warning[-Wmissing-prototypes]: no previous prototype for ‘extract_document_to_json_content’
#   83 | int extract_document_to_json_content(
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   81|   }
#   82|   
#   83|-> int extract_document_to_json_content(
#   84|   		extract_alloc_t   *alloc,
#   85|   		document_t        *document,

Error: CPPCHECK_WARNING (CWE-190): [#def329]
ghostscript-10.05.0/extract/src/zip.c:114: error[integerOverflow]: Signed integer overflow for expression '(0100644<<16)+0'.
#  112|   	0100644:0.  (0100644 is S_IFREG (regular file) plus rw-r-r. See stat(2) for
#  113|   	details.) */
#  114|-> 	zip->file_attr_external = (0100644 << 16) + 0;
#  115|   	if (extract_strdup(alloc, "Artifex", &zip->archive_comment)) goto end;
#  116|   

Error: CPPCHECK_WARNING (CWE-476): [#def330]
ghostscript-10.05.0/pdf/pdf_dict.c:236: error[ctunullpointer]: Null pointer dereference: Key
#  234|   static int pdfi_dict_find_sorted(pdf_context *ctx, pdf_dict *d, const char *Key)
#  235|   {
#  236|->     int start = 0, end = d->size - 1, middle = 0, keylen = strlen(Key);
#  237|       pdf_name *test_key;
#  238|   

Error: CPPCHECK_WARNING (CWE-476): [#def331]
ghostscript-10.05.0/pdf/pdf_dict.c:303: error[ctunullpointer]: Null pointer dereference: Key
#  301|       int index = 0;
#  302|   
#  303|->     Test = (char *)gs_alloc_bytes(ctx->memory, Key->length + 1, "pdfi_dict_find_key");
#  304|       if (Test == NULL)
#  305|           return_error(gs_error_VMerror);

Error: CPPCHECK_WARNING (CWE-909): [#def332]
ghostscript-10.05.0/pdf/pdf_fapi.c:786: error[uninitStructMember]: Uninitialized struct member: subrstring.length
#  784|                   if (pdfi_type_of(subrstring) == PDF_STRING) {
#  785|                       if (subrstring->length > 0) {
#  786|->                         code = subrstring->length - leniv;
#  787|                           if (buf && buf_length >= code) {
#  788|                               if (ff->need_decrypt && pfont->data.lenIV >= 0) {

Error: CPPCHECK_WARNING (CWE-562): [#def333]
ghostscript-10.05.0/pdf/pdf_fmap.c:280: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  278|   
#  279|                   if (ctx->main_stream == NULL) {
#  280|->                     ctx->main_stream = &fakemainstream;
#  281|                   }
#  282|   

Error: CPPCHECK_WARNING (CWE-457): [#def334]
ghostscript-10.05.0/pdf/pdf_gstate.c:2351: warning[uninitvar]: Uninitialized variable: code
# 2349|           }
# 2350|       }
# 2351|->     return code;
# 2352|   }
# 2353|   

Error: COMPILER_WARNING: [#def335]
ghostscript-10.05.0/pdf/pdf_sec.c:402:9: warning[-Wstringop-overflow=]: ‘pdf_compute_hardened_hash_r6’ accessing 16 bytes in a region of size 8
#  402 |         pdf_compute_hardened_hash_r6(password, pwlen,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  403 |         (ownerkey ? O : U) + 40,
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~
#  404 |         (ownerkey ? U : NULL), hash);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ghostscript-10.05.0/pdf/pdf_sec.c:402:9: note: referencing argument 3 of type ‘unsigned char[16]’
ghostscript-10.05.0/pdf/pdf_sec.c:402:9: note: referencing argument 5 of type ‘unsigned char[32]’
ghostscript-10.05.0/pdf/pdf_sec.c: scope_hint: In function ‘check_owner_password_R6.constprop.0’
ghostscript-10.05.0/pdf/pdf_sec.c:324:1: note: in a call to function ‘pdf_compute_hardened_hash_r6’
#  324 | pdf_compute_hardened_hash_r6(unsigned char *password, int pwlen, unsigned char salt[16], unsigned char *ownerkey, unsigned char hash[32])
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  400|   		(ownerkey ? O : U) + 32,
#  401|   		ownerkey ? U : NULL, validationkey);
#  402|-> 	pdf_compute_hardened_hash_r6(password, pwlen,
#  403|           (ownerkey ? O : U) + 40,
#  404|           (ownerkey ? U : NULL), hash);

Error: CPPCHECK_WARNING (CWE-758): [#def336]
ghostscript-10.05.0/psi/iapi.h:395: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  393|        * param is set without this flag (or on device init). Not valid
#  394|        * for get_typed_param. */
#  395|->     gs_spt_more_to_come = 1<<31
#  396|   } gs_set_param_type;
#  397|   /* gs_spt_parsed allows for a string such as "<< /Foo 0 /Bar true >>" or

Error: CPPCHECK_WARNING (CWE-457): [#def337]
ghostscript-10.05.0/psi/idict.c:816: error[uninitvar]: Uninitialized variable: *(&dnew.keys)
#  814|       else
#  815|           gs_free_ref_array(mem, &pdict->keys, "dict_resize(old keys)");
#  816|->     ref_assign(&pdict->keys, &dnew.keys);
#  817|       ref_assign(&pdict->values, &dnew.values);
#  818|       r_store_attrs(&pdict->values, a_all | a_executable, orig_attrs);

Error: CPPCHECK_WARNING (CWE-909): [#def338]
ghostscript-10.05.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.is_thread_safe
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-909): [#def339]
ghostscript-10.05.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.limit
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-909): [#def340]
ghostscript-10.05.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.max_used
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-457): [#def341]
ghostscript-10.05.0/psi/igc.c:539: warning[uninitvar]: Uninitialized variables: total.limit, total.max_used, total.is_thread_safe
#  537|           }
#  538|           mem = space_memories[ispace];
#  539|->         mem->previous_status = total;
#  540|           mem->gc_allocated = mem->allocated + total.allocated;
#  541|           if_debug3m('6', (const gs_memory_t *)mem,

Error: CPPCHECK_WARNING (CWE-190): [#def342]
ghostscript-10.05.0/psi/igc.c:1196: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1194|            !(*procs->set_reloc) (pre, reloc, size))
# 1195|           ) {			/* Free object */
# 1196|->         reloc += sizeof(obj_header_t) + obj_align_round(size);
# 1197|           if ((finalize = pre->o_type->finalize) != 0) {
# 1198|               if_debug2m('u', gcst->heap, "[u]GC finalizing %s "PRI_INTPTR"\n",

Error: CPPCHECK_WARNING (CWE-190): [#def343]
ghostscript-10.05.0/psi/igcstr.c:67: error[integerOverflow]: Signed integer overflow for expression '-(1<<(2+3))'.
#   65|   {
#   66|       uint offset = ptr - cp->sbase;
#   67|->     bword *bp = (bword *) (cp->smark + ((offset & -bword_bits) >> 3));
#   68|       uint bn = offset & (bword_bits - 1);
#   69|       bword m = (bword)(((uint64_t)bword_1s << bn) & bword_1s);

Error: CPPCHECK_WARNING (CWE-190): [#def344]
ghostscript-10.05.0/psi/igcstr.c:97: error[integerOverflow]: Signed integer overflow for expression '-(1<<(2+3))'.
#   95|               m = bword_1s, left -= bword_bits - bn, bp++;
#   96|               if (left >= bword_bits * 5) {
#   97|->                 memset(bp, 0, (left & -bword_bits) >> 3);
#   98|                   bp += left >> bword_log2_bits;
#   99|                   left &= bword_bits - 1;

Error: CPPCHECK_WARNING (CWE-190): [#def345]
ghostscript-10.05.0/psi/iname.c:111: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  109|       for (i = -1; i < NT_1CHAR_SIZE; i++) {
#  110|           uint ncnt = NT_1CHAR_FIRST + i;
#  111|->         uint nidx = name_count_to_index(ncnt);
#  112|           name *pname = names_index_ptr_inline(nt, nidx);
#  113|           name_string_t *pnstr = names_index_string_inline(nt, nidx);

Error: CPPCHECK_WARNING (CWE-190): [#def346]
ghostscript-10.05.0/psi/iname.c:180: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  178|               uint hash = *ptr + NT_1CHAR_FIRST;
#  179|   
#  180|->             nidx = name_count_to_index(hash);
#  181|               pname = names_index_ptr_inline(nt, nidx);
#  182|               goto mkn;

Error: CPPCHECK_WARNING (CWE-190): [#def347]
ghostscript-10.05.0/psi/iname.c:345: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  343|               /* We can make the test much more efficient if we want.... */
#  344|               for (i = 0; i < nt_sub_size; ++i)
#  345|->                 if (name_index_to_count((si << nt_log2_sub_size) + i) >=
#  346|                       nt->perm_count)
#  347|                       ssub->strings[i].mark = 0;

Error: CPPCHECK_WARNING (CWE-190): [#def348]
ghostscript-10.05.0/psi/iname.c:586: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  584|           nbase = 1, keep = true;	/* don't free name 0 */
#  585|       for (;; --ncnt) {
#  586|->         uint nidx = name_count_to_index(ncnt);
#  587|           name_string_t *pnstr = &ssub->strings[nidx & nt_sub_index_mask];
#  588|   

Error: CPPCHECK_WARNING (CWE-562): [#def349]
ghostscript-10.05.0/psi/iparam.c:667: error[invalidLifetime]: Using object that points to local variable 'elt' that is out of scope.
#  665|       if (code < 0) {
#  666|           gs_free_object(plist->memory, psv, "ref_param_read_string_array");
#  667|->         return (*loc.presult = code);
#  668|       }
#  669|       pvalue->data = psv;

Error: CPPCHECK_WARNING (CWE-190): [#def350]
ghostscript-10.05.0/psi/zarith.c:460: error[integerOverflow]: Signed integer overflow for expression '-2147483647-1'.
#  458|           case t_integer:
#  459|               if (sizeof(ps_int) != 32 && gs_currentcpsimode(imemory)) {
#  460|->                 if (((unsigned int)op->value.intval) == MIN_PS_INT32)
#  461|                       make_real(op, -(float)(ps_uint32)MIN_PS_INT32);
#  462|                   else

Error: COMPILER_WARNING (CWE-563): [#def351]
ghostscript-10.05.0/psi/zcolor.c:170:17: warning[-Wunused-variable]: unused variable ‘stref’
#  170 |     ref namestr,stref, *aref;
#      |                 ^~~~~
#  168|       os_ptr  op = osp;   /* required by "push" macro */
#  169|       int code;
#  170|->     ref namestr,stref, *aref;
#  171|       byte *body;
#  172|   

Error: COMPILER_WARNING (CWE-563): [#def352]
ghostscript-10.05.0/psi/zcolor.c: scope_hint: In function ‘zcurrentcolorspace’
ghostscript-10.05.0/psi/zcolor.c:171:11: warning[-Wunused-variable]: unused variable ‘body’
#  171 |     byte *body;
#      |           ^~~~
#  169|       int code;
#  170|       ref namestr,stref, *aref;
#  171|->     byte *body;
#  172|   
#  173|       /* Adobe applications expect that the Device spaces (DeviceGray

Error: COMPILER_WARNING (CWE-563): [#def353]
ghostscript-10.05.0/psi/zcolor.c: scope_hint: In function ‘copy_cspace_dict’
ghostscript-10.05.0/psi/zcolor.c:493:26: warning[-Wunused-variable]: unused variable ‘i’
#  493 |     int code = 0, index, i = 0;
#      |                          ^
#  491|   static int copy_cspace_dict(i_ctx_t * i_ctx_p, ref *dest, ref *src)
#  492|   {
#  493|->     int code = 0, index, i = 0;
#  494|       uint saved_space = avm_local;
#  495|       ref eltp[2], cref;

Error: COMPILER_WARNING (CWE-563): [#def354]
ghostscript-10.05.0/psi/zcolor.c: scope_hint: In function ‘septransform’
ghostscript-10.05.0/psi/zcolor.c:3944:30: warning[-Wunused-variable]: unused variable ‘pimap’
# 3944 |             gs_device_n_map *pimap;
#      |                              ^~~~~
# 3942|           if (*stage == 10) {
# 3943|               gs_function_t *pfn = NULL;
# 3944|->             gs_device_n_map *pimap;
# 3945|               gs_color_space * pcs;
# 3946|               float in, out[4];

Error: COMPILER_WARNING (CWE-563): [#def355]
ghostscript-10.05.0/psi/zcolor.c: scope_hint: In function ‘devicentransform’
ghostscript-10.05.0/psi/zcolor.c:4802:30: warning[-Wunused-variable]: unused variable ‘pimap’
# 4802 |             gs_device_n_map *pimap;
#      |                              ^~~~~
# 4800|           if (*stage == 10) {
# 4801|               gs_function_t *pfn = NULL;
# 4802|->             gs_device_n_map *pimap;
# 4803|               gs_color_space * pcs;
# 4804|               float *in, *out;

Error: CPPCHECK_WARNING (CWE-457): [#def356]
ghostscript-10.05.0/psi/zcolor.c:6956: warning[uninitvar]: Uninitialized variable: obj
# 6954|   
# 6955|       /* Remove our next continuation and our data */
# 6956|->     obj->numcomponents(i_ctx_p, parr, &i);
# 6957|       /* This would be better done sooner, but we need the color space object first */
# 6958|       check_op(i);

Error: COMPILER_WARNING (CWE-563): [#def357]
ghostscript-10.05.0/psi/zcolor.c: scope_hint: In function ‘currentbasecolor’
ghostscript-10.05.0/psi/zcolor.c:7289:12: warning[-Wunused-variable]: unused variable ‘ep’
# 7289 |     es_ptr ep = esp;
#      |            ^~
# 7287|   {
# 7288|       ref *parr = &arr;
# 7289|->     es_ptr ep = esp;
# 7290|       int i, code = 0, cont=1, CIESubst=0;
# 7291|       unsigned int depth = 1;

Error: CPPCHECK_WARNING (CWE-758): [#def358]
ghostscript-10.05.0/psi/zfont2.c:1430: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1428|       unsigned int c, u;
# 1429|       const int ext16 = ~0 << 15;  /* sign extension constant */
# 1430|->     const int ext32 = ~0 << 31;  /* sign extension constant */
# 1431|   
# 1432|       if ((code = card8(&c, data, p, pe)) < 0)

Error: CPPCHECK_WARNING (CWE-457): [#def359]
ghostscript-10.05.0/psi/zupath.c:633: error[uninitvar]: Uninitialized variable: pts.x
#  631|           const double  *fts[6];
#  632|   
#  633|->         fts[0] = &pts[0].x;
#  634|           fts[1] = &pts[0].y;
#  635|           fts[2] = &pts[1].x;

Error: COMPILER_WARNING (CWE-704): [#def360]
ghostscript-10.05.0/soobj/gconfig.h:7:1: warning[-Wlto-type-mismatch]: type of ‘gs_display_device’ does not match original declaration
#    7 | device_(gs_display_device)
#      | ^
ghostscript-10.05.0/devices/gdevdsp.c:133:25: note: type ‘const struct gx_device_display’ should match type ‘struct gx_device’
#  133 | const gx_device_display gs_display_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevdsp.c:133:25: note: ‘gs_display_device’ was previously declared here
#    5|   #endif
#    6|   #ifdef device_
#    7|-> device_(gs_display_device)
#    8|   #endif
#    9|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def361]
ghostscript-10.05.0/soobj/gconfig.h:10:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11_device’ does not match original declaration
#   10 | device2_(gs_x11_device)
#      | ^
ghostscript-10.05.0/devices/gdevx.c:164:1: note: type ‘const struct gx_device_X’ should match type ‘const struct gx_device’
#  164 | x_device(gs_x11_device,
#      | ^
ghostscript-10.05.0/devices/gdevx.c:164:1: note: ‘gs_x11_device’ was previously declared here
#    8|   #endif
#    9|   #ifdef device2_
#   10|-> device2_(gs_x11_device)
#   11|   device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def362]
ghostscript-10.05.0/soobj/gconfig.h:11:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11alpha_device’ does not match original declaration
#   11 | device2_(gs_x11alpha_device)
#      | ^
ghostscript-10.05.0/devices/gdevx.c:173:1: note: type ‘const struct gx_device_X’ should match type ‘const struct gx_device’
#  173 | x_device(gs_x11alpha_device,
#      | ^
ghostscript-10.05.0/devices/gdevx.c:173:1: note: ‘gs_x11alpha_device’ was previously declared here
#    9|   #ifdef device2_
#   10|   device2_(gs_x11_device)
#   11|-> device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)

Error: COMPILER_WARNING (CWE-704): [#def363]
ghostscript-10.05.0/soobj/gconfig.h:12:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk_device’ does not match original declaration
#   12 | device2_(gs_x11cmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:601:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  601 | const gx_device_X_wrapper gs_x11cmyk_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:601:27: note: ‘gs_x11cmyk_device’ was previously declared here
#   10|   device2_(gs_x11_device)
#   11|   device2_(gs_x11alpha_device)
#   12|-> device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)

Error: COMPILER_WARNING (CWE-704): [#def364]
ghostscript-10.05.0/soobj/gconfig.h:13:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk2_device’ does not match original declaration
#   13 | device2_(gs_x11cmyk2_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:610:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  610 | const gx_device_X_wrapper gs_x11cmyk2_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:610:27: note: ‘gs_x11cmyk2_device’ was previously declared here
#   11|   device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)
#   13|-> device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)

Error: COMPILER_WARNING (CWE-704): [#def365]
ghostscript-10.05.0/soobj/gconfig.h:14:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk4_device’ does not match original declaration
#   14 | device2_(gs_x11cmyk4_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:619:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  619 | const gx_device_X_wrapper gs_x11cmyk4_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:619:27: note: ‘gs_x11cmyk4_device’ was previously declared here
#   12|   device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)
#   14|-> device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)

Error: COMPILER_WARNING (CWE-704): [#def366]
ghostscript-10.05.0/soobj/gconfig.h:15:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk8_device’ does not match original declaration
#   15 | device2_(gs_x11cmyk8_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:628:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  628 | const gx_device_X_wrapper gs_x11cmyk8_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:628:27: note: ‘gs_x11cmyk8_device’ was previously declared here
#   13|   device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)
#   15|-> device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)

Error: COMPILER_WARNING (CWE-704): [#def367]
ghostscript-10.05.0/soobj/gconfig.h:16:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11gray2_device’ does not match original declaration
#   16 | device2_(gs_x11gray2_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:776:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  776 | const gx_device_X_wrapper gs_x11gray2_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:776:27: note: ‘gs_x11gray2_device’ was previously declared here
#   14|   device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)
#   16|-> device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)

Error: COMPILER_WARNING (CWE-704): [#def368]
ghostscript-10.05.0/soobj/gconfig.h:17:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11gray4_device’ does not match original declaration
#   17 | device2_(gs_x11gray4_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:786:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  786 | const gx_device_X_wrapper gs_x11gray4_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:786:27: note: ‘gs_x11gray4_device’ was previously declared here
#   15|   device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)
#   17|-> device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)

Error: COMPILER_WARNING (CWE-704): [#def369]
ghostscript-10.05.0/soobj/gconfig.h:18:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11mono_device’ does not match original declaration
#   18 | device2_(gs_x11mono_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:730:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  730 | const gx_device_X_wrapper gs_x11mono_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:730:27: note: ‘gs_x11mono_device’ was previously declared here
#   16|   device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)
#   18|-> device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)

Error: COMPILER_WARNING (CWE-704): [#def370]
ghostscript-10.05.0/soobj/gconfig.h:19:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11rg16x_device’ does not match original declaration
#   19 | device2_(gs_x11rg16x_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:845:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  845 | const gx_device_X_wrapper gs_x11rg16x_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:845:27: note: ‘gs_x11rg16x_device’ was previously declared here
#   17|   device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)
#   19|-> device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)

Error: COMPILER_WARNING (CWE-704): [#def371]
ghostscript-10.05.0/soobj/gconfig.h:20:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11rg32x_device’ does not match original declaration
#   20 | device2_(gs_x11rg32x_device)
#      | ^
ghostscript-10.05.0/devices/gdevxalt.c:863:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  863 | const gx_device_X_wrapper gs_x11rg32x_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevxalt.c:863:27: note: ‘gs_x11rg32x_device’ was previously declared here
#   18|   device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)
#   20|-> device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)

Error: COMPILER_WARNING (CWE-704): [#def372]
ghostscript-10.05.0/soobj/gconfig.h:21:1: warning[-Wlto-type-mismatch]: type of ‘gs_PCLm_device’ does not match original declaration
#   21 | device2_(gs_PCLm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpdfimg.c:1158:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1158 | const gx_device_pdf_image gs_PCLm_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevpdfimg.c:1158:27: note: ‘gs_PCLm_device’ was previously declared here
#   19|   device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)
#   21|-> device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)

Error: COMPILER_WARNING (CWE-704): [#def373]
ghostscript-10.05.0/soobj/gconfig.h:22:1: warning[-Wlto-type-mismatch]: type of ‘gs_PCLm8_device’ does not match original declaration
#   22 | device2_(gs_PCLm8_device)
#      | ^
ghostscript-10.05.0/devices/gdevpdfimg.c:1176:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1176 | const gx_device_pdf_image gs_PCLm8_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevpdfimg.c:1176:27: note: ‘gs_PCLm8_device’ was previously declared here
#   20|   device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)
#   22|-> device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)

Error: COMPILER_WARNING (CWE-704): [#def374]
ghostscript-10.05.0/soobj/gconfig.h:23:1: warning[-Wlto-type-mismatch]: type of ‘gs_bbox_device’ does not match original declaration
#   23 | device2_(gs_bbox_device)
#      | ^
ghostscript-10.05.0/base/gdevbbox.c:114:16: note: type ‘const struct gx_device_bbox’ should match type ‘const struct gx_device’
#  114 | gx_device_bbox gs_bbox_device =
#      |                ^
ghostscript-10.05.0/base/gdevbbox.c:114:16: note: ‘gs_bbox_device’ was previously declared here
#   21|   device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)
#   23|-> device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def375]
ghostscript-10.05.0/soobj/gconfig.h:24:1: warning[-Wlto-type-mismatch]: type of ‘gs_bit_device’ does not match original declaration
#   24 | device2_(gs_bit_device)
#      | ^
ghostscript-10.05.0/devices/gdevbit.c:101:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  101 | const gx_device_bit gs_bit_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevbit.c:101:21: note: ‘gs_bit_device’ was previously declared here
#   22|   device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)
#   24|-> device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)

Error: COMPILER_WARNING (CWE-704): [#def376]
ghostscript-10.05.0/soobj/gconfig.h:25:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitcmyk_device’ does not match original declaration
#   25 | device2_(gs_bitcmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevbit.c:139:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  139 | const gx_device_bit gs_bitcmyk_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevbit.c:139:21: note: ‘gs_bitcmyk_device’ was previously declared here
#   23|   device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)
#   25|-> device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)

Error: COMPILER_WARNING (CWE-704): [#def377]
ghostscript-10.05.0/soobj/gconfig.h:26:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitrgb_device’ does not match original declaration
#   26 | device2_(gs_bitrgb_device)
#      | ^
ghostscript-10.05.0/devices/gdevbit.c:120:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  120 | const gx_device_bit gs_bitrgb_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevbit.c:120:21: note: ‘gs_bitrgb_device’ was previously declared here
#   24|   device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)
#   26|-> device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)

Error: COMPILER_WARNING (CWE-704): [#def378]
ghostscript-10.05.0/soobj/gconfig.h:27:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitrgbtags_device’ does not match original declaration
#   27 | device2_(gs_bitrgbtags_device)
#      | ^
ghostscript-10.05.0/devices/gdevbit.c:166:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  166 | const gx_device_bit gs_bitrgbtags_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevbit.c:166:21: note: ‘gs_bitrgbtags_device’ was previously declared here
#   25|   device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)
#   27|-> device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)

Error: COMPILER_WARNING (CWE-704): [#def379]
ghostscript-10.05.0/soobj/gconfig.h:28:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp16_device’ does not match original declaration
#   28 | device2_(gs_bmp16_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:103:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  103 | const gx_device_printer gs_bmp16_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:103:25: note: ‘gs_bmp16_device’ was previously declared here
#   26|   device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)
#   28|-> device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)

Error: COMPILER_WARNING (CWE-704): [#def380]
ghostscript-10.05.0/soobj/gconfig.h:29:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp16m_device’ does not match original declaration
#   29 | device2_(gs_bmp16m_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:148:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  148 | const gx_device_printer gs_bmp16m_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:148:25: note: ‘gs_bmp16m_device’ was previously declared here
#   27|   device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)
#   29|-> device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)

Error: COMPILER_WARNING (CWE-704): [#def381]
ghostscript-10.05.0/soobj/gconfig.h:30:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp256_device’ does not match original declaration
#   30 | device2_(gs_bmp256_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:126:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  126 | const gx_device_printer gs_bmp256_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:126:25: note: ‘gs_bmp256_device’ was previously declared here
#   28|   device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)
#   30|-> device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)

Error: COMPILER_WARNING (CWE-704): [#def382]
ghostscript-10.05.0/soobj/gconfig.h:31:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp32b_device’ does not match original declaration
#   31 | device2_(gs_bmp32b_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:162:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  162 | const gx_device_printer gs_bmp32b_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:162:25: note: ‘gs_bmp32b_device’ was previously declared here
#   29|   device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)
#   31|-> device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)

Error: COMPILER_WARNING (CWE-704): [#def383]
ghostscript-10.05.0/soobj/gconfig.h:32:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpgray_device’ does not match original declaration
#   32 | device2_(gs_bmpgray_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:49:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   49 | const gx_device_printer gs_bmpgray_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:49:25: note: ‘gs_bmpgray_device’ was previously declared here
#   30|   device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)
#   32|-> device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)

Error: COMPILER_WARNING (CWE-704): [#def384]
ghostscript-10.05.0/soobj/gconfig.h:33:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpmono_device’ does not match original declaration
#   33 | device2_(gs_bmpmono_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:28:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   28 | const gx_device_printer gs_bmpmono_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:28:25: note: ‘gs_bmpmono_device’ was previously declared here
#   31|   device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)
#   33|-> device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)
#   35|   device2_(gs_bmpsep8_device)

Error: COMPILER_WARNING (CWE-704): [#def385]
ghostscript-10.05.0/soobj/gconfig.h:34:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpsep1_device’ does not match original declaration
#   34 | device2_(gs_bmpsep1_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:66:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   66 | const gx_device_printer gs_bmpsep1_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:66:25: note: ‘gs_bmpsep1_device’ was previously declared here
#   32|   device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)
#   34|-> device2_(gs_bmpsep1_device)
#   35|   device2_(gs_bmpsep8_device)
#   36|   #endif

Error: COMPILER_WARNING (CWE-704): [#def386]
ghostscript-10.05.0/soobj/gconfig.h:35:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpsep8_device’ does not match original declaration
#   35 | device2_(gs_bmpsep8_device)
#      | ^
ghostscript-10.05.0/devices/gdevbmp.c:81:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   81 | const gx_device_printer gs_bmpsep8_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevbmp.c:81:25: note: ‘gs_bmpsep8_device’ was previously declared here
#   33|   device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)
#   35|-> device2_(gs_bmpsep8_device)
#   36|   #endif
#   37|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def387]
ghostscript-10.05.0/soobj/gconfig.h:38:1: warning[-Wlto-type-mismatch]: type of ‘gs_ccr_device’ does not match original declaration
#   38 | device_(gs_ccr_device)
#      | ^
ghostscript-10.05.0/devices/gdevccr.c:113:24: note: type ‘struct gx_device_ccr’ should match type ‘struct gx_device’
#  113 | gx_device_ccr far_data gs_ccr_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevccr.c:113:24: note: ‘gs_ccr_device’ was previously declared here
#   36|   #endif
#   37|   #ifdef device_
#   38|-> device_(gs_ccr_device)
#   39|   device_(gs_cfax_device)
#   40|   device_(gs_cif_device)

Error: COMPILER_WARNING (CWE-704): [#def388]
ghostscript-10.05.0/soobj/gconfig.h:39:1: warning[-Wlto-type-mismatch]: type of ‘gs_cfax_device’ does not match original declaration
#   39 | device_(gs_cfax_device)
#      | ^
ghostscript-10.05.0/devices/gdevcfax.c:41:21: note: type ‘const struct gx_device_fax’ should match type ‘struct gx_device’
#   41 | const gx_device_fax gs_cfax_device = {
#      |                     ^
ghostscript-10.05.0/devices/gdevcfax.c:41:21: note: ‘gs_cfax_device’ was previously declared here
#   37|   #ifdef device_
#   38|   device_(gs_ccr_device)
#   39|-> device_(gs_cfax_device)
#   40|   device_(gs_cif_device)
#   41|   device_(gs_devicen_device)

Error: COMPILER_WARNING (CWE-704): [#def389]
ghostscript-10.05.0/soobj/gconfig.h:40:1: warning[-Wlto-type-mismatch]: type of ‘gs_cif_device’ does not match original declaration
#   40 | device_(gs_cif_device)
#      | ^
ghostscript-10.05.0/devices/gdevcif.c:37:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   37 | const gx_device_printer far_data gs_cif_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevcif.c:37:34: note: ‘gs_cif_device’ was previously declared here
#   38|   device_(gs_ccr_device)
#   39|   device_(gs_cfax_device)
#   40|-> device_(gs_cif_device)
#   41|   device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)

Error: COMPILER_WARNING (CWE-704): [#def390]
ghostscript-10.05.0/soobj/gconfig.h:41:1: warning[-Wlto-type-mismatch]: type of ‘gs_devicen_device’ does not match original declaration
#   41 | device_(gs_devicen_device)
#      | ^
ghostscript-10.05.0/base/gdevdevn.c:1147:26: note: type ‘const struct gx_devn_prn_device’ should match type ‘struct gx_device’
# 1147 | const gx_devn_prn_device gs_devicen_device =
#      |                          ^
ghostscript-10.05.0/base/gdevdevn.c:1147:26: note: ‘gs_devicen_device’ was previously declared here
#   39|   device_(gs_cfax_device)
#   40|   device_(gs_cif_device)
#   41|-> device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)
#   43|   device_(gs_dfaxlow_device)

Error: COMPILER_WARNING (CWE-704): [#def391]
ghostscript-10.05.0/soobj/gconfig.h:42:1: warning[-Wlto-type-mismatch]: type of ‘gs_dfaxhigh_device’ does not match original declaration
#   42 | device_(gs_dfaxhigh_device)
#      | ^
ghostscript-10.05.0/devices/gdevdfax.c:62:25: note: type ‘struct gx_device_dfax’ should match type ‘struct gx_device’
#   62 | gx_device_dfax far_data gs_dfaxhigh_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevdfax.c:62:25: note: ‘gs_dfaxhigh_device’ was previously declared here
#   40|   device_(gs_cif_device)
#   41|   device_(gs_devicen_device)
#   42|-> device_(gs_dfaxhigh_device)
#   43|   device_(gs_dfaxlow_device)
#   44|   #endif

Error: COMPILER_WARNING (CWE-704): [#def392]
ghostscript-10.05.0/soobj/gconfig.h:43:1: warning[-Wlto-type-mismatch]: type of ‘gs_dfaxlow_device’ does not match original declaration
#   43 | device_(gs_dfaxlow_device)
#      | ^
ghostscript-10.05.0/devices/gdevdfax.c:54:25: note: type ‘struct gx_device_dfax’ should match type ‘struct gx_device’
#   54 | gx_device_dfax far_data gs_dfaxlow_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevdfax.c:54:25: note: ‘gs_dfaxlow_device’ was previously declared here
#   41|   device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)
#   43|-> device_(gs_dfaxlow_device)
#   44|   #endif
#   45|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def393]
ghostscript-10.05.0/soobj/gconfig.h:46:1: warning[-Wlto-type-mismatch]: type of ‘gs_docxwrite_device’ does not match original declaration
#   46 | device2_(gs_docxwrite_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevdocxw.c:165:29: note: type ‘const struct gx_device_docxwrite_t’ should match type ‘const struct gx_device’
#  165 | const gx_device_docxwrite_t gs_docxwrite_device =
#      |                             ^
ghostscript-10.05.0/devices/vector/gdevdocxw.c:165:29: note: ‘gs_docxwrite_device’ was previously declared here
#   44|   #endif
#   45|   #ifdef device2_
#   46|-> device2_(gs_docxwrite_device)
#   47|   device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704): [#def394]
ghostscript-10.05.0/soobj/gconfig.h:47:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps2write_device’ does not match original declaration
#   47 | device2_(gs_eps2write_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_eps2write_device’ was previously declared here
#   45|   #ifdef device2_
#   46|   device2_(gs_docxwrite_device)
#   47|-> device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)
#   49|   device2_(gs_faxg3_device)

Error: COMPILER_WARNING (CWE-704): [#def395]
ghostscript-10.05.0/soobj/gconfig.h:49:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg3_device’ does not match original declaration
#   49 | device2_(gs_faxg3_device)
#      | ^
ghostscript-10.05.0/devices/gdevfax.c:45:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   45 | const gx_device_fax gs_faxg3_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevfax.c:45:21: note: ‘gs_faxg3_device’ was previously declared here
#   47|   device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)
#   49|-> device2_(gs_faxg3_device)
#   50|   device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)

Error: COMPILER_WARNING (CWE-704): [#def396]
ghostscript-10.05.0/soobj/gconfig.h:50:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg32d_device’ does not match original declaration
#   50 | device2_(gs_faxg32d_device)
#      | ^
ghostscript-10.05.0/devices/gdevfax.c:48:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   48 | const gx_device_fax gs_faxg32d_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevfax.c:48:21: note: ‘gs_faxg32d_device’ was previously declared here
#   48|   device2_(gs_pdfwrite_device)
#   49|   device2_(gs_faxg3_device)
#   50|-> device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)
#   52|   device2_(gs_fpng_device)

Error: COMPILER_WARNING (CWE-704): [#def397]
ghostscript-10.05.0/soobj/gconfig.h:51:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg4_device’ does not match original declaration
#   51 | device2_(gs_faxg4_device)
#      | ^
ghostscript-10.05.0/devices/gdevfax.c:51:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   51 | const gx_device_fax gs_faxg4_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevfax.c:51:21: note: ‘gs_faxg4_device’ was previously declared here
#   49|   device2_(gs_faxg3_device)
#   50|   device2_(gs_faxg32d_device)
#   51|-> device2_(gs_faxg4_device)
#   52|   device2_(gs_fpng_device)
#   53|   #endif

Error: COMPILER_WARNING (CWE-704): [#def398]
ghostscript-10.05.0/soobj/gconfig.h:52:1: warning[-Wlto-type-mismatch]: type of ‘gs_fpng_device’ does not match original declaration
#   52 | device2_(gs_fpng_device)
#      | ^
ghostscript-10.05.0/devices/gdevfpng.c:120:22: note: type ‘const struct gx_device_fpng’ should match type ‘const struct gx_device’
#  120 | const gx_device_fpng gs_fpng_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevfpng.c:120:22: note: ‘gs_fpng_device’ was previously declared here
#   50|   device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)
#   52|-> device2_(gs_fpng_device)
#   53|   #endif
#   54|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def399]
ghostscript-10.05.0/soobj/gconfig.h:55:1: warning[-Wlto-type-mismatch]: type of ‘gs_inferno_device’ does not match original declaration
#   55 | device_(gs_inferno_device)
#      | ^
ghostscript-10.05.0/devices/gdevifno.c:97:25: note: type ‘struct inferno_device’ should match type ‘struct gx_device’
#   97 | inferno_device far_data gs_inferno_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevifno.c:97:25: note: ‘gs_inferno_device’ was previously declared here
#   53|   #endif
#   54|   #ifdef device_
#   55|-> device_(gs_inferno_device)
#   56|   #endif
#   57|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def400]
ghostscript-10.05.0/soobj/gconfig.h:58:1: warning[-Wlto-type-mismatch]: type of ‘gs_ink_cov_device’ does not match original declaration
#   58 | device2_(gs_ink_cov_device)
#      | ^
ghostscript-10.05.0/devices/gdevicov.c:176:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  176 | const gx_device_printer gs_ink_cov_device = prn_device(
#      |                         ^
ghostscript-10.05.0/devices/gdevicov.c:176:25: note: ‘gs_ink_cov_device’ was previously declared here
#   56|   #endif
#   57|   #ifdef device2_
#   58|-> device2_(gs_ink_cov_device)
#   59|   device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)

Error: COMPILER_WARNING (CWE-704): [#def401]
ghostscript-10.05.0/soobj/gconfig.h:59:1: warning[-Wlto-type-mismatch]: type of ‘gs_inkcov_device’ does not match original declaration
#   59 | device2_(gs_inkcov_device)
#      | ^
ghostscript-10.05.0/devices/gdevicov.c:169:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  169 | const gx_device_printer gs_inkcov_device = prn_device(
#      |                         ^
ghostscript-10.05.0/devices/gdevicov.c:169:25: note: ‘gs_inkcov_device’ was previously declared here
#   57|   #ifdef device2_
#   58|   device2_(gs_ink_cov_device)
#   59|-> device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def402]
ghostscript-10.05.0/soobj/gconfig.h:60:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpeg_device’ does not match original declaration
#   60 | device2_(gs_jpeg_device)
#      | ^
ghostscript-10.05.0/devices/gdevjpeg.c:77:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#   77 | const gx_device_jpeg gs_jpeg_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevjpeg.c:77:22: note: ‘gs_jpeg_device’ was previously declared here
#   58|   device2_(gs_ink_cov_device)
#   59|   device2_(gs_inkcov_device)
#   60|-> device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)
#   62|   device2_(gs_jpeggray_device)

Error: COMPILER_WARNING (CWE-704): [#def403]
ghostscript-10.05.0/soobj/gconfig.h:61:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpegcmyk_device’ does not match original declaration
#   61 | device2_(gs_jpegcmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevjpeg.c:132:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  132 | const gx_device_jpeg gs_jpegcmyk_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevjpeg.c:132:22: note: ‘gs_jpegcmyk_device’ was previously declared here
#   59|   device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)
#   61|-> device2_(gs_jpegcmyk_device)
#   62|   device2_(gs_jpeggray_device)
#   63|   #endif

Error: COMPILER_WARNING (CWE-704): [#def404]
ghostscript-10.05.0/soobj/gconfig.h:62:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpeggray_device’ does not match original declaration
#   62 | device2_(gs_jpeggray_device)
#      | ^
ghostscript-10.05.0/devices/gdevjpeg.c:102:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  102 | const gx_device_jpeg gs_jpeggray_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevjpeg.c:102:22: note: ‘gs_jpeggray_device’ was previously declared here
#   60|   device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)
#   62|-> device2_(gs_jpeggray_device)
#   63|   #endif
#   64|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def405]
ghostscript-10.05.0/soobj/gconfig.h:65:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgr4_device’ does not match original declaration
#   65 | device_(gs_mgr4_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:123:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  123 | gx_device_mgr far_data gs_mgr4_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:123:24: note: ‘gs_mgr4_device’ was previously declared here
#   63|   #endif
#   64|   #ifdef device_
#   65|-> device_(gs_mgr4_device)
#   66|   device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)

Error: COMPILER_WARNING (CWE-704): [#def406]
ghostscript-10.05.0/soobj/gconfig.h:66:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgr8_device’ does not match original declaration
#   66 | device_(gs_mgr8_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:125:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  125 | gx_device_mgr far_data gs_mgr8_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:125:24: note: ‘gs_mgr8_device’ was previously declared here
#   64|   #ifdef device_
#   65|   device_(gs_mgr4_device)
#   66|-> device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)

Error: COMPILER_WARNING (CWE-704): [#def407]
ghostscript-10.05.0/soobj/gconfig.h:67:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray2_device’ does not match original declaration
#   67 | device_(gs_mgrgray2_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:117:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  117 | gx_device_mgr far_data gs_mgrgray2_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:117:24: note: ‘gs_mgrgray2_device’ was previously declared here
#   65|   device_(gs_mgr4_device)
#   66|   device_(gs_mgr8_device)
#   67|-> device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)

Error: COMPILER_WARNING (CWE-704): [#def408]
ghostscript-10.05.0/soobj/gconfig.h:68:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray4_device’ does not match original declaration
#   68 | device_(gs_mgrgray4_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:119:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  119 | gx_device_mgr far_data gs_mgrgray4_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:119:24: note: ‘gs_mgrgray4_device’ was previously declared here
#   66|   device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)
#   68|-> device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)

Error: COMPILER_WARNING (CWE-704): [#def409]
ghostscript-10.05.0/soobj/gconfig.h:69:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray8_device’ does not match original declaration
#   69 | device_(gs_mgrgray8_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:121:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  121 | gx_device_mgr far_data gs_mgrgray8_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:121:24: note: ‘gs_mgrgray8_device’ was previously declared here
#   67|   device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)
#   69|-> device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)
#   71|   device_(gs_miff24_device)

Error: COMPILER_WARNING (CWE-704): [#def410]
ghostscript-10.05.0/soobj/gconfig.h:70:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrmono_device’ does not match original declaration
#   70 | device_(gs_mgrmono_device)
#      | ^
ghostscript-10.05.0/devices/gdevmgr.c:115:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  115 | gx_device_mgr far_data gs_mgrmono_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevmgr.c:115:24: note: ‘gs_mgrmono_device’ was previously declared here
#   68|   device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)
#   70|-> device_(gs_mgrmono_device)
#   71|   device_(gs_miff24_device)
#   72|   #endif

Error: COMPILER_WARNING (CWE-704): [#def411]
ghostscript-10.05.0/soobj/gconfig.h:71:1: warning[-Wlto-type-mismatch]: type of ‘gs_miff24_device’ does not match original declaration
#   71 | device_(gs_miff24_device)
#      | ^
ghostscript-10.05.0/devices/gdevmiff.c:36:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   36 | const gx_device_printer gs_miff24_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevmiff.c:36:25: note: ‘gs_miff24_device’ was previously declared here
#   69|   device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)
#   71|-> device_(gs_miff24_device)
#   72|   #endif
#   73|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def412]
ghostscript-10.05.0/soobj/gconfig.h:74:1: warning[-Wlto-type-mismatch]: type of ‘gs_pam_device’ does not match original declaration
#   74 | device2_(gs_pam_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:283:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  283 | const gx_device_pbm gs_pam_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:283:21: note: ‘gs_pam_device’ was previously declared here
#   72|   #endif
#   73|   #ifdef device2_
#   74|-> device2_(gs_pam_device)
#   75|   device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)

Error: COMPILER_WARNING (CWE-704): [#def413]
ghostscript-10.05.0/soobj/gconfig.h:75:1: warning[-Wlto-type-mismatch]: type of ‘gs_pamcmyk32_device’ does not match original declaration
#   75 | device2_(gs_pamcmyk32_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:273:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  273 | const gx_device_pbm gs_pamcmyk32_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:273:21: note: ‘gs_pamcmyk32_device’ was previously declared here
#   73|   #ifdef device2_
#   74|   device2_(gs_pam_device)
#   75|-> device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)

Error: COMPILER_WARNING (CWE-704): [#def414]
ghostscript-10.05.0/soobj/gconfig.h:76:1: warning[-Wlto-type-mismatch]: type of ‘gs_pamcmyk4_device’ does not match original declaration
#   76 | device2_(gs_pamcmyk4_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:279:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  279 | const gx_device_pbm gs_pamcmyk4_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:279:21: note: ‘gs_pamcmyk4_device’ was previously declared here
#   74|   device2_(gs_pam_device)
#   75|   device2_(gs_pamcmyk32_device)
#   76|-> device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def415]
ghostscript-10.05.0/soobj/gconfig.h:77:1: warning[-Wlto-type-mismatch]: type of ‘gs_pbm_device’ does not match original declaration
#   77 | device2_(gs_pbm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:231:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  231 | const gx_device_pbm gs_pbm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:231:21: note: ‘gs_pbm_device’ was previously declared here
#   75|   device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)
#   77|-> device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)

Error: COMPILER_WARNING (CWE-704): [#def416]
ghostscript-10.05.0/soobj/gconfig.h:78:1: warning[-Wlto-type-mismatch]: type of ‘gs_pbmraw_device’ does not match original declaration
#   78 | device2_(gs_pbmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:234:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  234 | const gx_device_pbm gs_pbmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:234:21: note: ‘gs_pbmraw_device’ was previously declared here
#   76|   device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)
#   78|-> device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)

Error: COMPILER_WARNING (CWE-704): [#def417]
ghostscript-10.05.0/soobj/gconfig.h:79:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx16_device’ does not match original declaration
#   79 | device2_(gs_pcx16_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:95:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   95 | const gx_device_printer gs_pcx16_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:95:25: note: ‘gs_pcx16_device’ was previously declared here
#   77|   device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)
#   79|-> device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)

Error: COMPILER_WARNING (CWE-704): [#def418]
ghostscript-10.05.0/soobj/gconfig.h:80:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx24b_device’ does not match original declaration
#   80 | device2_(gs_pcx24b_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:137:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  137 | const gx_device_printer gs_pcx24b_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:137:25: note: ‘gs_pcx24b_device’ was previously declared here
#   78|   device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)
#   80|-> device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def419]
ghostscript-10.05.0/soobj/gconfig.h:81:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx256_device’ does not match original declaration
#   81 | device2_(gs_pcx256_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:118:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  118 | const gx_device_printer gs_pcx256_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:118:25: note: ‘gs_pcx256_device’ was previously declared here
#   79|   device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)
#   81|-> device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)

Error: COMPILER_WARNING (CWE-704): [#def420]
ghostscript-10.05.0/soobj/gconfig.h:82:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxcmyk_device’ does not match original declaration
#   82 | device2_(gs_pcxcmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:154:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  154 | const gx_device_printer gs_pcxcmyk_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:154:25: note: ‘gs_pcxcmyk_device’ was previously declared here
#   80|   device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)
#   82|-> device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)

Error: COMPILER_WARNING (CWE-704): [#def421]
ghostscript-10.05.0/soobj/gconfig.h:83:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxgray_device’ does not match original declaration
#   83 | device2_(gs_pcxgray_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:71:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   71 | const gx_device_printer gs_pcxgray_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:71:25: note: ‘gs_pcxgray_device’ was previously declared here
#   81|   device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)
#   83|-> device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)

Error: COMPILER_WARNING (CWE-704): [#def422]
ghostscript-10.05.0/soobj/gconfig.h:84:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxmono_device’ does not match original declaration
#   84 | device2_(gs_pcxmono_device)
#      | ^
ghostscript-10.05.0/devices/gdevpcx.c:51:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   51 | const gx_device_printer gs_pcxmono_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevpcx.c:51:25: note: ‘gs_pcxmono_device’ was previously declared here
#   82|   device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)
#   84|-> device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)

Error: COMPILER_WARNING (CWE-704): [#def423]
ghostscript-10.05.0/soobj/gconfig.h:85:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage24_device’ does not match original declaration
#   85 | device2_(gs_pdfimage24_device)
#      | ^
ghostscript-10.05.0/devices/gdevpdfimg.c:105:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  105 | const gx_device_pdf_image gs_pdfimage24_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevpdfimg.c:105:27: note: ‘gs_pdfimage24_device’ was previously declared here
#   83|   device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)
#   85|-> device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)
#   87|   device2_(gs_pdfimage8_device)

Error: COMPILER_WARNING (CWE-704): [#def424]
ghostscript-10.05.0/soobj/gconfig.h:86:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage32_device’ does not match original declaration
#   86 | device2_(gs_pdfimage32_device)
#      | ^
ghostscript-10.05.0/devices/gdevpdfimg.c:136:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  136 | const gx_device_pdf_image gs_pdfimage32_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevpdfimg.c:136:27: note: ‘gs_pdfimage32_device’ was previously declared here
#   84|   device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)
#   86|-> device2_(gs_pdfimage32_device)
#   87|   device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704): [#def425]
ghostscript-10.05.0/soobj/gconfig.h:87:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage8_device’ does not match original declaration
#   87 | device2_(gs_pdfimage8_device)
#      | ^
ghostscript-10.05.0/devices/gdevpdfimg.c:74:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#   74 | const gx_device_pdf_image gs_pdfimage8_device = {
#      |                           ^
ghostscript-10.05.0/devices/gdevpdfimg.c:74:27: note: ‘gs_pdfimage8_device’ was previously declared here
#   85|   device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)
#   87|-> device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)
#   89|   device2_(gs_pgm_device)

Error: COMPILER_WARNING (CWE-704): [#def426]
ghostscript-10.05.0/soobj/gconfig.h:89:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgm_device’ does not match original declaration
#   89 | device2_(gs_pgm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:237:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  237 | const gx_device_pbm gs_pgm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:237:21: note: ‘gs_pgm_device’ was previously declared here
#   87|   device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)
#   89|-> device2_(gs_pgm_device)
#   90|   device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)

Error: COMPILER_WARNING (CWE-704): [#def427]
ghostscript-10.05.0/soobj/gconfig.h:90:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgmraw_device’ does not match original declaration
#   90 | device2_(gs_pgmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:240:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  240 | const gx_device_pbm gs_pgmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:240:21: note: ‘gs_pgmraw_device’ was previously declared here
#   88|   device2_(gs_pdfwrite_device)
#   89|   device2_(gs_pgm_device)
#   90|-> device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def428]
ghostscript-10.05.0/soobj/gconfig.h:91:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgnm_device’ does not match original declaration
#   91 | device2_(gs_pgnm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:243:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  243 | const gx_device_pbm gs_pgnm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:243:21: note: ‘gs_pgnm_device’ was previously declared here
#   89|   device2_(gs_pgm_device)
#   90|   device2_(gs_pgmraw_device)
#   91|-> device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)

Error: COMPILER_WARNING (CWE-704): [#def429]
ghostscript-10.05.0/soobj/gconfig.h:92:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgnmraw_device’ does not match original declaration
#   92 | device2_(gs_pgnmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:246:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  246 | const gx_device_pbm gs_pgnmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:246:21: note: ‘gs_pgnmraw_device’ was previously declared here
#   90|   device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)
#   92|-> device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def430]
ghostscript-10.05.0/soobj/gconfig.h:93:1: warning[-Wlto-type-mismatch]: type of ‘gs_pkm_device’ does not match original declaration
#   93 | device2_(gs_pkm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:261:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  261 | const gx_device_pbm gs_pkm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:261:21: note: ‘gs_pkm_device’ was previously declared here
#   91|   device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)
#   93|-> device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)

Error: COMPILER_WARNING (CWE-704): [#def431]
ghostscript-10.05.0/soobj/gconfig.h:94:1: warning[-Wlto-type-mismatch]: type of ‘gs_pkmraw_device’ does not match original declaration
#   94 | device2_(gs_pkmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:264:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  264 | const gx_device_pbm gs_pkmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:264:21: note: ‘gs_pkmraw_device’ was previously declared here
#   92|   device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)
#   94|-> device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def432]
ghostscript-10.05.0/soobj/gconfig.h:95:1: warning[-Wlto-type-mismatch]: type of ‘gs_pksm_device’ does not match original declaration
#   95 | device2_(gs_pksm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:267:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  267 | const gx_device_pbm gs_pksm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:267:21: note: ‘gs_pksm_device’ was previously declared here
#   93|   device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)
#   95|-> device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)

Error: COMPILER_WARNING (CWE-704): [#def433]
ghostscript-10.05.0/soobj/gconfig.h:96:1: warning[-Wlto-type-mismatch]: type of ‘gs_pksmraw_device’ does not match original declaration
#   96 | device2_(gs_pksmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:270:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  270 | const gx_device_pbm gs_pksmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:270:21: note: ‘gs_pksmraw_device’ was previously declared here
#   94|   device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)
#   96|-> device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)

Error: COMPILER_WARNING (CWE-704): [#def434]
ghostscript-10.05.0/soobj/gconfig.h:97:1: warning[-Wlto-type-mismatch]: type of ‘gs_plan_device’ does not match original declaration
#   97 | device2_(gs_plan_device)
#      | ^
ghostscript-10.05.0/devices/gdevplan.c:202:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  202 | const gx_device_plan gs_plan_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplan.c:202:22: note: ‘gs_plan_device’ was previously declared here
#   95|   device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)
#   97|-> device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)

Error: COMPILER_WARNING (CWE-704): [#def435]
ghostscript-10.05.0/soobj/gconfig.h:98:1: warning[-Wlto-type-mismatch]: type of ‘gs_plan9bm_device’ does not match original declaration
#   98 | device2_(gs_plan9bm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:288:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  288 | const gx_device_pbm gs_plan9bm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:288:21: note: ‘gs_plan9bm_device’ was previously declared here
#   96|   device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)
#   98|-> device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)

Error: COMPILER_WARNING (CWE-704): [#def436]
ghostscript-10.05.0/soobj/gconfig.h:99:1: warning[-Wlto-type-mismatch]: type of ‘gs_planc_device’ does not match original declaration
#   99 | device2_(gs_planc_device)
#      | ^
ghostscript-10.05.0/devices/gdevplan.c:214:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  214 | const gx_device_plan gs_planc_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplan.c:214:22: note: ‘gs_planc_device’ was previously declared here
#   97|   device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)
#   99|-> device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)

Error: COMPILER_WARNING (CWE-704): [#def437]
ghostscript-10.05.0/soobj/gconfig.h:100:1: warning[-Wlto-type-mismatch]: type of ‘gs_plang_device’ does not match original declaration
#  100 | device2_(gs_plang_device)
#      | ^
ghostscript-10.05.0/devices/gdevplan.c:205:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  205 | const gx_device_plan gs_plang_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplan.c:205:22: note: ‘gs_plang_device’ was previously declared here
#   98|   device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)
#  100|-> device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)

Error: COMPILER_WARNING (CWE-704): [#def438]
ghostscript-10.05.0/soobj/gconfig.h:101:1: warning[-Wlto-type-mismatch]: type of ‘gs_plank_device’ does not match original declaration
#  101 | device2_(gs_plank_device)
#      | ^
ghostscript-10.05.0/devices/gdevplan.c:211:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  211 | const gx_device_plan gs_plank_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplan.c:211:22: note: ‘gs_plank_device’ was previously declared here
#   99|   device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)
#  101|-> device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)

Error: COMPILER_WARNING (CWE-704): [#def439]
ghostscript-10.05.0/soobj/gconfig.h:102:1: warning[-Wlto-type-mismatch]: type of ‘gs_planm_device’ does not match original declaration
#  102 | device2_(gs_planm_device)
#      | ^
ghostscript-10.05.0/devices/gdevplan.c:208:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  208 | const gx_device_plan gs_planm_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplan.c:208:22: note: ‘gs_planm_device’ was previously declared here
#  100|   device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)
#  102|-> device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)

Error: COMPILER_WARNING (CWE-704): [#def440]
ghostscript-10.05.0/soobj/gconfig.h:103:1: warning[-Wlto-type-mismatch]: type of ‘gs_plib_device’ does not match original declaration
#  103 | device2_(gs_plib_device)
#      | ^
ghostscript-10.05.0/devices/gdevplib.c:352:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  352 | const gx_device_plib gs_plib_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplib.c:352:22: note: ‘gs_plib_device’ was previously declared here
#  101|   device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)
#  103|-> device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)

Error: COMPILER_WARNING (CWE-704): [#def441]
ghostscript-10.05.0/soobj/gconfig.h:104:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibc_device’ does not match original declaration
#  104 | device2_(gs_plibc_device)
#      | ^
ghostscript-10.05.0/devices/gdevplib.c:364:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  364 | const gx_device_plib gs_plibc_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplib.c:364:22: note: ‘gs_plibc_device’ was previously declared here
#  102|   device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)
#  104|-> device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)

Error: COMPILER_WARNING (CWE-704): [#def442]
ghostscript-10.05.0/soobj/gconfig.h:105:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibg_device’ does not match original declaration
#  105 | device2_(gs_plibg_device)
#      | ^
ghostscript-10.05.0/devices/gdevplib.c:355:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  355 | const gx_device_plib gs_plibg_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplib.c:355:22: note: ‘gs_plibg_device’ was previously declared here
#  103|   device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)
#  105|-> device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)

Error: COMPILER_WARNING (CWE-704): [#def443]
ghostscript-10.05.0/soobj/gconfig.h:106:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibk_device’ does not match original declaration
#  106 | device2_(gs_plibk_device)
#      | ^
ghostscript-10.05.0/devices/gdevplib.c:361:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  361 | const gx_device_plib gs_plibk_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplib.c:361:22: note: ‘gs_plibk_device’ was previously declared here
#  104|   device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)
#  106|-> device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)

Error: COMPILER_WARNING (CWE-704): [#def444]
ghostscript-10.05.0/soobj/gconfig.h:107:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibm_device’ does not match original declaration
#  107 | device2_(gs_plibm_device)
#      | ^
ghostscript-10.05.0/devices/gdevplib.c:358:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  358 | const gx_device_plib gs_plibm_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevplib.c:358:22: note: ‘gs_plibm_device’ was previously declared here
#  105|   device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)
#  107|-> device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def445]
ghostscript-10.05.0/soobj/gconfig.h:108:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnm_device’ does not match original declaration
#  108 | device2_(gs_pnm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:255:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  255 | const gx_device_pbm gs_pnm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:255:21: note: ‘gs_pnm_device’ was previously declared here
#  106|   device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)
#  108|-> device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)

Error: COMPILER_WARNING (CWE-704): [#def446]
ghostscript-10.05.0/soobj/gconfig.h:109:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnmraw_device’ does not match original declaration
#  109 | device2_(gs_pnmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:258:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  258 | const gx_device_pbm gs_pnmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:258:21: note: ‘gs_pnmraw_device’ was previously declared here
#  107|   device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)
#  109|-> device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)

Error: COMPILER_WARNING (CWE-704): [#def447]
ghostscript-10.05.0/soobj/gconfig.h:110:1: warning[-Wlto-type-mismatch]: type of ‘gs_ppm_device’ does not match original declaration
#  110 | device2_(gs_ppm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:249:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  249 | const gx_device_pbm gs_ppm_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:249:21: note: ‘gs_ppm_device’ was previously declared here
#  108|   device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)
#  110|-> device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)

Error: COMPILER_WARNING (CWE-704): [#def448]
ghostscript-10.05.0/soobj/gconfig.h:111:1: warning[-Wlto-type-mismatch]: type of ‘gs_ppmraw_device’ does not match original declaration
#  111 | device2_(gs_ppmraw_device)
#      | ^
ghostscript-10.05.0/devices/gdevpbm.c:252:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  252 | const gx_device_pbm gs_ppmraw_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpbm.c:252:21: note: ‘gs_ppmraw_device’ was previously declared here
#  109|   device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)
#  111|-> device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)

Error: COMPILER_WARNING (CWE-704): [#def449]
ghostscript-10.05.0/soobj/gconfig.h:112:1: warning[-Wlto-type-mismatch]: type of ‘gs_pppm_device’ does not match original declaration
#  112 | device2_(gs_pppm_device)
#      | ^
ghostscript-10.05.0/devices/gdevpppm.c:121:22: note: type ‘const struct gx_device_pppm’ should match type ‘const struct gx_device’
#  121 | const gx_device_pppm gs_pppm_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevpppm.c:121:22: note: ‘gs_pppm_device’ was previously declared here
#  110|   device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)
#  112|-> device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)
#  114|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704): [#def450]
ghostscript-10.05.0/soobj/gconfig.h:113:1: warning[-Wlto-type-mismatch]: type of ‘gs_ps2write_device’ does not match original declaration
#  113 | device2_(gs_ps2write_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_ps2write_device’ was previously declared here
#  111|   device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)
#  113|-> device2_(gs_ps2write_device)
#  114|   device2_(gs_pdfwrite_device)
#  115|   #endif

Error: COMPILER_WARNING (CWE-704): [#def451]
ghostscript-10.05.0/soobj/gconfig.h:114:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfwrite_device’ does not match original declaration
#  114 | device2_(gs_pdfwrite_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.05.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_pdfwrite_device’ was previously declared here
#  112|   device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)
#  114|-> device2_(gs_pdfwrite_device)
#  115|   #endif
#  116|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def452]
ghostscript-10.05.0/soobj/gconfig.h:117:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyk_device’ does not match original declaration
#  117 | device_(gs_psdcmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:552:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  552 | const psd_device gs_psdcmyk_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:552:18: note: ‘gs_psdcmyk_device’ was previously declared here
#  115|   #endif
#  116|   #ifdef device_
#  117|-> device_(gs_psdcmyk_device)
#  118|   device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)

Error: COMPILER_WARNING (CWE-704): [#def453]
ghostscript-10.05.0/soobj/gconfig.h:118:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyk16_device’ does not match original declaration
#  118 | device_(gs_psdcmyk16_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:603:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  603 | const psd_device gs_psdcmyk16_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:603:18: note: ‘gs_psdcmyk16_device’ was previously declared here
#  116|   #ifdef device_
#  117|   device_(gs_psdcmyk_device)
#  118|-> device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)

Error: COMPILER_WARNING (CWE-704): [#def454]
ghostscript-10.05.0/soobj/gconfig.h:119:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmykog_device’ does not match original declaration
#  119 | device_(gs_psdcmykog_device)
#      | ^
ghostscript-10.05.0/devices/gdevcmykog.c:772:24: note: type ‘const struct gx_device_cmykog’ should match type ‘struct gx_device’
#  772 | const gx_device_cmykog gs_psdcmykog_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcmykog.c:772:24: note: ‘gs_psdcmykog_device’ was previously declared here
#  117|   device_(gs_psdcmyk_device)
#  118|   device_(gs_psdcmyk16_device)
#  119|-> device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)

Error: COMPILER_WARNING (CWE-704): [#def455]
ghostscript-10.05.0/soobj/gconfig.h:120:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyktags_device’ does not match original declaration
#  120 | device_(gs_psdcmyktags_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:577:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  577 | const psd_device gs_psdcmyktags_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:577:18: note: ‘gs_psdcmyktags_device’ was previously declared here
#  118|   device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)
#  120|-> device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)

Error: COMPILER_WARNING (CWE-704): [#def456]
ghostscript-10.05.0/soobj/gconfig.h:121:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyktags16_device’ does not match original declaration
#  121 | device_(gs_psdcmyktags16_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:628:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  628 | const psd_device gs_psdcmyktags16_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:628:18: note: ‘gs_psdcmyktags16_device’ was previously declared here
#  119|   device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)
#  121|-> device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)

Error: COMPILER_WARNING (CWE-704): [#def457]
ghostscript-10.05.0/soobj/gconfig.h:122:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgb_device’ does not match original declaration
#  122 | device_(gs_psdrgb_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:450:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  450 | const psd_device gs_psdrgb_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:450:18: note: ‘gs_psdrgb_device’ was previously declared here
#  120|   device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)
#  122|-> device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)

Error: COMPILER_WARNING (CWE-704): [#def458]
ghostscript-10.05.0/soobj/gconfig.h:123:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgb16_device’ does not match original declaration
#  123 | device_(gs_psdrgb16_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:474:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  474 | const psd_device gs_psdrgb16_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:474:18: note: ‘gs_psdrgb16_device’ was previously declared here
#  121|   device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)
#  123|-> device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)
#  125|   device_(gs_spotcmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def459]
ghostscript-10.05.0/soobj/gconfig.h:124:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgbtags_device’ does not match original declaration
#  124 | device_(gs_psdrgbtags_device)
#      | ^
ghostscript-10.05.0/devices/gdevpsd.c:501:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  501 | const psd_device gs_psdrgbtags_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevpsd.c:501:18: note: ‘gs_psdrgbtags_device’ was previously declared here
#  122|   device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)
#  124|-> device_(gs_psdrgbtags_device)
#  125|   device_(gs_spotcmyk_device)
#  126|   #endif

Error: COMPILER_WARNING (CWE-704): [#def460]
ghostscript-10.05.0/soobj/gconfig.h:125:1: warning[-Wlto-type-mismatch]: type of ‘gs_spotcmyk_device’ does not match original declaration
#  125 | device_(gs_spotcmyk_device)
#      | ^
ghostscript-10.05.0/base/gdevdevn.c:1127:26: note: type ‘const struct gx_devn_prn_device’ should match type ‘struct gx_device’
# 1127 | const gx_devn_prn_device gs_spotcmyk_device =
#      |                          ^
ghostscript-10.05.0/base/gdevdevn.c:1127:26: note: ‘gs_spotcmyk_device’ was previously declared here
#  123|   device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)
#  125|-> device_(gs_spotcmyk_device)
#  126|   #endif
#  127|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def461]
ghostscript-10.05.0/soobj/gconfig.h:128:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff12nc_device’ does not match original declaration
#  128 | device2_(gs_tiff12nc_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfnx.c:66:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   66 | const gx_device_tiff gs_tiff12nc_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtfnx.c:66:22: note: ‘gs_tiff12nc_device’ was previously declared here
#  126|   #endif
#  127|   #ifdef device2_
#  128|-> device2_(gs_tiff12nc_device)
#  129|   device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)

Error: COMPILER_WARNING (CWE-704): [#def462]
ghostscript-10.05.0/soobj/gconfig.h:129:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff24nc_device’ does not match original declaration
#  129 | device2_(gs_tiff24nc_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfnx.c:82:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   82 | const gx_device_tiff gs_tiff24nc_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtfnx.c:82:22: note: ‘gs_tiff24nc_device’ was previously declared here
#  127|   #ifdef device2_
#  128|   device2_(gs_tiff12nc_device)
#  129|-> device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)

Error: COMPILER_WARNING (CWE-704): [#def463]
ghostscript-10.05.0/soobj/gconfig.h:130:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff32nc_device’ does not match original declaration
#  130 | device2_(gs_tiff32nc_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:563:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  563 | const gx_device_tiff gs_tiff32nc_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:563:22: note: ‘gs_tiff32nc_device’ was previously declared here
#  128|   device2_(gs_tiff12nc_device)
#  129|   device2_(gs_tiff24nc_device)
#  130|-> device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)

Error: COMPILER_WARNING (CWE-704): [#def464]
ghostscript-10.05.0/soobj/gconfig.h:131:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff48nc_device’ does not match original declaration
#  131 | device2_(gs_tiff48nc_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfnx.c:98:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   98 | const gx_device_tiff gs_tiff48nc_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtfnx.c:98:22: note: ‘gs_tiff48nc_device’ was previously declared here
#  129|   device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)
#  131|-> device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)

Error: COMPILER_WARNING (CWE-704): [#def465]
ghostscript-10.05.0/soobj/gconfig.h:132:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff64nc_device’ does not match original declaration
#  132 | device2_(gs_tiff64nc_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:593:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  593 | const gx_device_tiff gs_tiff64nc_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:593:22: note: ‘gs_tiff64nc_device’ was previously declared here
#  130|   device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)
#  132|-> device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)

Error: COMPILER_WARNING (CWE-704): [#def466]
ghostscript-10.05.0/soobj/gconfig.h:133:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffcrle_device’ does not match original declaration
#  133 | device2_(gs_tiffcrle_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:85:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   85 | const gx_device_tfax gs_tiffcrle_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:85:22: note: ‘gs_tiffcrle_device’ was previously declared here
#  131|   device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)
#  133|-> device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)

Error: COMPILER_WARNING (CWE-704): [#def467]
ghostscript-10.05.0/soobj/gconfig.h:134:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg3_device’ does not match original declaration
#  134 | device2_(gs_tiffg3_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:88:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   88 | const gx_device_tfax gs_tiffg3_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:88:22: note: ‘gs_tiffg3_device’ was previously declared here
#  132|   device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)
#  134|-> device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)

Error: COMPILER_WARNING (CWE-704): [#def468]
ghostscript-10.05.0/soobj/gconfig.h:135:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg32d_device’ does not match original declaration
#  135 | device2_(gs_tiffg32d_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:91:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   91 | const gx_device_tfax gs_tiffg32d_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:91:22: note: ‘gs_tiffg32d_device’ was previously declared here
#  133|   device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)
#  135|-> device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)

Error: COMPILER_WARNING (CWE-704): [#def469]
ghostscript-10.05.0/soobj/gconfig.h:136:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg4_device’ does not match original declaration
#  136 | device2_(gs_tiffg4_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:94:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   94 | const gx_device_tfax gs_tiffg4_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:94:22: note: ‘gs_tiffg4_device’ was previously declared here
#  134|   device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)
#  136|-> device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)

Error: COMPILER_WARNING (CWE-704): [#def470]
ghostscript-10.05.0/soobj/gconfig.h:137:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffgray_device’ does not match original declaration
#  137 | device2_(gs_tiffgray_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:88:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   88 | const gx_device_tiff gs_tiffgray_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:88:22: note: ‘gs_tiffgray_device’ was previously declared here
#  135|   device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)
#  137|-> device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)

Error: COMPILER_WARNING (CWE-704): [#def471]
ghostscript-10.05.0/soobj/gconfig.h:138:1: warning[-Wlto-type-mismatch]: type of ‘gs_tifflzw_device’ does not match original declaration
#  138 | device2_(gs_tifflzw_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:272:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#  272 | const gx_device_tfax gs_tifflzw_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:272:22: note: ‘gs_tifflzw_device’ was previously declared here
#  136|   device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)
#  138|-> device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)

Error: COMPILER_WARNING (CWE-704): [#def472]
ghostscript-10.05.0/soobj/gconfig.h:139:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffpack_device’ does not match original declaration
#  139 | device2_(gs_tiffpack_device)
#      | ^
ghostscript-10.05.0/devices/gdevtfax.c:288:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#  288 | const gx_device_tfax gs_tiffpack_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtfax.c:288:22: note: ‘gs_tiffpack_device’ was previously declared here
#  137|   device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)
#  139|-> device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)

Error: COMPILER_WARNING (CWE-704): [#def473]
ghostscript-10.05.0/soobj/gconfig.h:140:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled_device’ does not match original declaration
#  140 | device2_(gs_tiffscaled_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:133:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  133 | const gx_device_tiff gs_tiffscaled_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:133:22: note: ‘gs_tiffscaled_device’ was previously declared here
#  138|   device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)
#  140|-> device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)

Error: COMPILER_WARNING (CWE-704): [#def474]
ghostscript-10.05.0/soobj/gconfig.h:141:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled24_device’ does not match original declaration
#  141 | device2_(gs_tiffscaled24_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:213:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  213 | const gx_device_tiff gs_tiffscaled24_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:213:22: note: ‘gs_tiffscaled24_device’ was previously declared here
#  139|   device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)
#  141|-> device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)

Error: COMPILER_WARNING (CWE-704): [#def475]
ghostscript-10.05.0/soobj/gconfig.h:142:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled32_device’ does not match original declaration
#  142 | device2_(gs_tiffscaled32_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:253:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  253 | const gx_device_tiff gs_tiffscaled32_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:253:22: note: ‘gs_tiffscaled32_device’ was previously declared here
#  140|   device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)
#  142|-> device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)

Error: COMPILER_WARNING (CWE-704): [#def476]
ghostscript-10.05.0/soobj/gconfig.h:143:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled4_device’ does not match original declaration
#  143 | device2_(gs_tiffscaled4_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:290:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  290 | const gx_device_tiff gs_tiffscaled4_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:290:22: note: ‘gs_tiffscaled4_device’ was previously declared here
#  141|   device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)
#  143|-> device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)

Error: COMPILER_WARNING (CWE-704): [#def477]
ghostscript-10.05.0/soobj/gconfig.h:144:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled8_device’ does not match original declaration
#  144 | device2_(gs_tiffscaled8_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:173:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  173 | const gx_device_tiff gs_tiffscaled8_device = {
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:173:22: note: ‘gs_tiffscaled8_device’ was previously declared here
#  142|   device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)
#  144|-> device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)

Error: COMPILER_WARNING (CWE-704): [#def478]
ghostscript-10.05.0/soobj/gconfig.h:145:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffsep_device’ does not match original declaration
#  145 | device2_(gs_tiffsep_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:803:22: note: type ‘const struct tiffsep_device’ should match type ‘const struct gx_device’
#  803 | const tiffsep_device gs_tiffsep_device =
#      |                      ^
ghostscript-10.05.0/devices/gdevtsep.c:803:22: note: ‘gs_tiffsep_device’ was previously declared here
#  143|   device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)
#  145|-> device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)

Error: COMPILER_WARNING (CWE-704): [#def479]
ghostscript-10.05.0/soobj/gconfig.h:146:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffsep1_device’ does not match original declaration
#  146 | device2_(gs_tiffsep1_device)
#      | ^
ghostscript-10.05.0/devices/gdevtsep.c:820:23: note: type ‘const struct tiffsep1_device’ should match type ‘const struct gx_device’
#  820 | const tiffsep1_device gs_tiffsep1_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevtsep.c:820:23: note: ‘gs_tiffsep1_device’ was previously declared here
#  144|   device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)
#  146|-> device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def480]
ghostscript-10.05.0/soobj/gconfig.h:147:1: warning[-Wlto-type-mismatch]: type of ‘gs_txtwrite_device’ does not match original declaration
#  147 | device2_(gs_txtwrite_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevtxtw.c:166:28: note: type ‘const struct gx_device_txtwrite_t’ should match type ‘const struct gx_device’
#  166 | const gx_device_txtwrite_t gs_txtwrite_device =
#      |                            ^
ghostscript-10.05.0/devices/vector/gdevtxtw.c:166:28: note: ‘gs_txtwrite_device’ was previously declared here
#  145|   device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)
#  147|-> device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)

Error: COMPILER_WARNING (CWE-704): [#def481]
ghostscript-10.05.0/soobj/gconfig.h:148:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfcmyk_device’ does not match original declaration
#  148 | device2_(gs_urfcmyk_device)
#      | ^
ghostscript-10.05.0/devices/gdevurf.c:287:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  287 | const gx_device_urf gs_urfcmyk_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevurf.c:287:21: note: ‘gs_urfcmyk_device’ was previously declared here
#  146|   device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)
#  148|-> device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)
#  150|   device2_(gs_urfrgb_device)

Error: COMPILER_WARNING (CWE-704): [#def482]
ghostscript-10.05.0/soobj/gconfig.h:149:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfgray_device’ does not match original declaration
#  149 | device2_(gs_urfgray_device)
#      | ^
ghostscript-10.05.0/devices/gdevurf.c:269:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  269 | const gx_device_urf gs_urfgray_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevurf.c:269:21: note: ‘gs_urfgray_device’ was previously declared here
#  147|   device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)
#  149|-> device2_(gs_urfgray_device)
#  150|   device2_(gs_urfrgb_device)
#  151|   #endif

Error: COMPILER_WARNING (CWE-704): [#def483]
ghostscript-10.05.0/soobj/gconfig.h:150:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfrgb_device’ does not match original declaration
#  150 | device2_(gs_urfrgb_device)
#      | ^
ghostscript-10.05.0/devices/gdevurf.c:278:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  278 | const gx_device_urf gs_urfrgb_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevurf.c:278:21: note: ‘gs_urfrgb_device’ was previously declared here
#  148|   device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)
#  150|-> device2_(gs_urfrgb_device)
#  151|   #endif
#  152|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def484]
ghostscript-10.05.0/soobj/gconfig.h:153:1: warning[-Wlto-type-mismatch]: type of ‘gs_xcf_device’ does not match original declaration
#  153 | device_(gs_xcf_device)
#      | ^
ghostscript-10.05.0/devices/gdevxcf.c:164:18: note: type ‘const struct xcf_device’ should match type ‘struct gx_device’
#  164 | const xcf_device gs_xcf_device =
#      |                  ^
ghostscript-10.05.0/devices/gdevxcf.c:164:18: note: ‘gs_xcf_device’ was previously declared here
#  151|   #endif
#  152|   #ifdef device_
#  153|-> device_(gs_xcf_device)
#  154|   #endif
#  155|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def485]
ghostscript-10.05.0/soobj/gconfig.h:156:1: warning[-Wlto-type-mismatch]: type of ‘gs_xpswrite_device’ does not match original declaration
#  156 | device2_(gs_xpswrite_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevxps.c:224:21: note: type ‘const struct gx_device_xps’ should match type ‘const struct gx_device’
#  224 | const gx_device_xps gs_xpswrite_device = {
#      |                     ^
ghostscript-10.05.0/devices/vector/gdevxps.c:224:21: note: ‘gs_xpswrite_device’ was previously declared here
#  154|   #endif
#  155|   #ifdef device2_
#  156|-> device2_(gs_xpswrite_device)
#  157|   #endif
#  158|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def486]
ghostscript-10.05.0/soobj/gconfig.h:159:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc1900_device’ does not match original declaration
#  159 | device_(gs_alc1900_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:280:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  280 | gx_device_escv far_data gs_alc1900_device = escv_device_body("alc1900");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:280:25: note: ‘gs_alc1900_device’ was previously declared here
#  157|   #endif
#  158|   #ifdef device_
#  159|-> device_(gs_alc1900_device)
#  160|   device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)

Error: COMPILER_WARNING (CWE-704): [#def487]
ghostscript-10.05.0/soobj/gconfig.h:160:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc2000_device’ does not match original declaration
#  160 | device_(gs_alc2000_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:281:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  281 | gx_device_escv far_data gs_alc2000_device = escv_device_body("alc2000");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:281:25: note: ‘gs_alc2000_device’ was previously declared here
#  158|   #ifdef device_
#  159|   device_(gs_alc1900_device)
#  160|-> device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)

Error: COMPILER_WARNING (CWE-704): [#def488]
ghostscript-10.05.0/soobj/gconfig.h:161:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc4000_device’ does not match original declaration
#  161 | device_(gs_alc4000_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:282:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  282 | gx_device_escv far_data gs_alc4000_device = escv_device_body("alc4000");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:282:25: note: ‘gs_alc4000_device’ was previously declared here
#  159|   device_(gs_alc1900_device)
#  160|   device_(gs_alc2000_device)
#  161|-> device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)

Error: COMPILER_WARNING (CWE-704): [#def489]
ghostscript-10.05.0/soobj/gconfig.h:162:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc4100_device’ does not match original declaration
#  162 | device_(gs_alc4100_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:283:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  283 | gx_device_escv far_data gs_alc4100_device = escv_device_body("alc4100");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:283:25: note: ‘gs_alc4100_device’ was previously declared here
#  160|   device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)
#  162|-> device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)

Error: COMPILER_WARNING (CWE-704): [#def490]
ghostscript-10.05.0/soobj/gconfig.h:163:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc8500_device’ does not match original declaration
#  163 | device_(gs_alc8500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:284:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  284 | gx_device_escv far_data gs_alc8500_device = escv_device_body("alc8500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:284:25: note: ‘gs_alc8500_device’ was previously declared here
#  161|   device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)
#  163|-> device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)

Error: COMPILER_WARNING (CWE-704): [#def491]
ghostscript-10.05.0/soobj/gconfig.h:164:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc8600_device’ does not match original declaration
#  164 | device_(gs_alc8600_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:285:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  285 | gx_device_escv far_data gs_alc8600_device = escv_device_body("alc8600");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:285:25: note: ‘gs_alc8600_device’ was previously declared here
#  162|   device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)
#  164|-> device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)

Error: COMPILER_WARNING (CWE-704): [#def492]
ghostscript-10.05.0/soobj/gconfig.h:165:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc9100_device’ does not match original declaration
#  165 | device_(gs_alc9100_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:286:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  286 | gx_device_escv far_data gs_alc9100_device = escv_device_body("alc9100");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:286:25: note: ‘gs_alc9100_device’ was previously declared here
#  163|   device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)
#  165|-> device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)
#  167|   device_(gs_appledmp_device)

Error: COMPILER_WARNING (CWE-704): [#def493]
ghostscript-10.05.0/soobj/gconfig.h:166:1: warning[-Wlto-type-mismatch]: type of ‘gs_ap3250_device’ does not match original declaration
#  166 | device_(gs_ap3250_device)
#      | ^
ghostscript-10.05.0/devices/gdevescp.c:99:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   99 | const gx_device_printer far_data gs_ap3250_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevescp.c:99:34: note: ‘gs_ap3250_device’ was previously declared here
#  164|   device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)
#  166|-> device_(gs_ap3250_device)
#  167|   device_(gs_appledmp_device)
#  168|   #endif

Error: COMPILER_WARNING (CWE-704): [#def494]
ghostscript-10.05.0/soobj/gconfig.h:167:1: warning[-Wlto-type-mismatch]: type of ‘gs_appledmp_device’ does not match original declaration
#  167 | device_(gs_appledmp_device)
#      | ^
ghostscript-10.05.0/contrib/gdevadmp.c:121:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  121 | const gx_device_printer far_data gs_appledmp_device =
#      |                                  ^
ghostscript-10.05.0/contrib/gdevadmp.c:121:34: note: ‘gs_appledmp_device’ was previously declared here
#  165|   device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)
#  167|-> device_(gs_appledmp_device)
#  168|   #endif
#  169|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def495]
ghostscript-10.05.0/soobj/gconfig.h:170:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx23_device’ does not match original declaration
#  170 | device2_(gs_atx23_device)
#      | ^
ghostscript-10.05.0/devices/gdevatx.c:50:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   50 | const gx_device_printer gs_atx23_device = /* real width = 576 pixels */
#      |                         ^
ghostscript-10.05.0/devices/gdevatx.c:50:25: note: ‘gs_atx23_device’ was previously declared here
#  168|   #endif
#  169|   #ifdef device2_
#  170|-> device2_(gs_atx23_device)
#  171|   device2_(gs_atx24_device)
#  172|   device2_(gs_atx38_device)

Error: COMPILER_WARNING (CWE-704): [#def496]
ghostscript-10.05.0/soobj/gconfig.h:171:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx24_device’ does not match original declaration
#  171 | device2_(gs_atx24_device)
#      | ^
ghostscript-10.05.0/devices/gdevatx.c:54:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   54 | const gx_device_printer gs_atx24_device = /* real width = 832 pixels */
#      |                         ^
ghostscript-10.05.0/devices/gdevatx.c:54:25: note: ‘gs_atx24_device’ was previously declared here
#  169|   #ifdef device2_
#  170|   device2_(gs_atx23_device)
#  171|-> device2_(gs_atx24_device)
#  172|   device2_(gs_atx38_device)
#  173|   #endif

Error: COMPILER_WARNING (CWE-704): [#def497]
ghostscript-10.05.0/soobj/gconfig.h:172:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx38_device’ does not match original declaration
#  172 | device2_(gs_atx38_device)
#      | ^
ghostscript-10.05.0/devices/gdevatx.c:58:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   58 | const gx_device_printer gs_atx38_device = /* real width = 2400 pixels */
#      |                         ^
ghostscript-10.05.0/devices/gdevatx.c:58:25: note: ‘gs_atx38_device’ was previously declared here
#  170|   device2_(gs_atx23_device)
#  171|   device2_(gs_atx24_device)
#  172|-> device2_(gs_atx38_device)
#  173|   #endif
#  174|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def498]
ghostscript-10.05.0/soobj/gconfig.h:175:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10e_device’ does not match original declaration
#  175 | device_(gs_bj10e_device)
#      | ^
ghostscript-10.05.0/devices/gdevbj10.c:158:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  158 | const gx_device_printer far_data gs_bj10e_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevbj10.c:158:34: note: ‘gs_bj10e_device’ was previously declared here
#  173|   #endif
#  174|   #ifdef device_
#  175|-> device_(gs_bj10e_device)
#  176|   device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)

Error: COMPILER_WARNING (CWE-704): [#def499]
ghostscript-10.05.0/soobj/gconfig.h:176:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10v_device’ does not match original declaration
#  176 | device_(gs_bj10v_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdev10v.c:86:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   86 | gx_device_printer gs_bj10v_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdev10v.c:86:19: note: ‘gs_bj10v_device’ was previously declared here
#  174|   #ifdef device_
#  175|   device_(gs_bj10e_device)
#  176|-> device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)

Error: COMPILER_WARNING (CWE-704): [#def500]
ghostscript-10.05.0/soobj/gconfig.h:177:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10vh_device’ does not match original declaration
#  177 | device_(gs_bj10vh_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdev10v.c:95:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   95 | gx_device_printer gs_bj10vh_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdev10v.c:95:19: note: ‘gs_bj10vh_device’ was previously declared here
#  175|   device_(gs_bj10e_device)
#  176|   device_(gs_bj10v_device)
#  177|-> device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)

Error: COMPILER_WARNING (CWE-704): [#def501]
ghostscript-10.05.0/soobj/gconfig.h:178:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj200_device’ does not match original declaration
#  178 | device_(gs_bj200_device)
#      | ^
ghostscript-10.05.0/devices/gdevbj10.c:118:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  118 | const gx_device_printer far_data gs_bj200_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevbj10.c:118:34: note: ‘gs_bj200_device’ was previously declared here
#  176|   device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)
#  178|-> device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)

Error: COMPILER_WARNING (CWE-704): [#def502]
ghostscript-10.05.0/soobj/gconfig.h:179:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc600_device’ does not match original declaration
#  179 | device_(gs_bjc600_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:660:27: note: type ‘struct gx_device_bjc600’ should match type ‘struct gx_device’
#  660 | gx_device_bjc600 far_data gs_bjc600_device =
#      |                           ^
ghostscript-10.05.0/devices/gdevcdj.c:660:27: note: ‘gs_bjc600_device’ was previously declared here
#  177|   device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)
#  179|-> device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)

Error: COMPILER_WARNING (CWE-704): [#def503]
ghostscript-10.05.0/soobj/gconfig.h:180:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc800_device’ does not match original declaration
#  180 | device_(gs_bjc800_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:679:27: note: type ‘struct gx_device_bjc800’ should match type ‘struct gx_device’
#  679 | gx_device_bjc800 far_data gs_bjc800_device =
#      |                           ^
ghostscript-10.05.0/devices/gdevcdj.c:679:27: note: ‘gs_bjc800_device’ was previously declared here
#  178|   device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)
#  180|-> device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)

Error: COMPILER_WARNING (CWE-704): [#def504]
ghostscript-10.05.0/soobj/gconfig.h:181:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc880j_device’ does not match original declaration
#  181 | device_(gs_bjc880j_device)
#      | ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:170:26: note: type ‘struct gx_device_lips4’ should match type ‘struct gx_device’
#  170 | gx_device_lips4 far_data gs_bjc880j_device =
#      |                          ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:170:26: note: ‘gs_bjc880j_device’ was previously declared here
#  179|   device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)
#  181|-> device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)

Error: COMPILER_WARNING (CWE-704): [#def505]
ghostscript-10.05.0/soobj/gconfig.h:182:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjccmyk_device’ does not match original declaration
#  182 | device_(gs_bjccmyk_device)
#      | ^
ghostscript-10.05.0/contrib/gdevbjc_.c:294:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  294 | const gx_device_bjc_printer gs_bjccmyk_device =
#      |                             ^
ghostscript-10.05.0/contrib/gdevbjc_.c:294:29: note: ‘gs_bjccmyk_device’ was previously declared here
#  180|   device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)
#  182|-> device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)

Error: COMPILER_WARNING (CWE-704): [#def506]
ghostscript-10.05.0/soobj/gconfig.h:183:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjccolor_device’ does not match original declaration
#  183 | device_(gs_bjccolor_device)
#      | ^
ghostscript-10.05.0/contrib/gdevbjc_.c:327:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  327 | const gx_device_bjc_printer gs_bjccolor_device =
#      |                             ^
ghostscript-10.05.0/contrib/gdevbjc_.c:327:29: note: ‘gs_bjccolor_device’ was previously declared here
#  181|   device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)
#  183|-> device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)

Error: COMPILER_WARNING (CWE-704): [#def507]
ghostscript-10.05.0/soobj/gconfig.h:184:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjcgray_device’ does not match original declaration
#  184 | device_(gs_bjcgray_device)
#      | ^
ghostscript-10.05.0/contrib/gdevbjc_.c:261:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  261 | const gx_device_bjc_printer gs_bjcgray_device =
#      |                             ^
ghostscript-10.05.0/contrib/gdevbjc_.c:261:29: note: ‘gs_bjcgray_device’ was previously declared here
#  182|   device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)
#  184|-> device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)
#  186|   device_(gs_cdeskjet_device)

Error: COMPILER_WARNING (CWE-704): [#def508]
ghostscript-10.05.0/soobj/gconfig.h:185:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjcmono_device’ does not match original declaration
#  185 | device_(gs_bjcmono_device)
#      | ^
ghostscript-10.05.0/contrib/gdevbjc_.c:228:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  228 | const gx_device_bjc_printer gs_bjcmono_device =
#      |                             ^
ghostscript-10.05.0/contrib/gdevbjc_.c:228:29: note: ‘gs_bjcmono_device’ was previously declared here
#  183|   device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)
#  185|-> device_(gs_bjcmono_device)
#  186|   device_(gs_cdeskjet_device)
#  187|   #endif

Error: COMPILER_WARNING (CWE-704): [#def509]
ghostscript-10.05.0/soobj/gconfig.h:186:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdeskjet_device’ does not match original declaration
#  186 | device_(gs_cdeskjet_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:590:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  590 | gx_device_cdj far_data gs_cdeskjet_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:590:24: note: ‘gs_cdeskjet_device’ was previously declared here
#  184|   device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)
#  186|-> device_(gs_cdeskjet_device)
#  187|   #endif
#  188|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def510]
ghostscript-10.05.0/soobj/gconfig.h:189:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj1600_device’ does not match original declaration
#  189 | device2_(gs_cdj1600_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:864:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  864 | const gx_device_cdj850 gs_cdj1600_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:864:24: note: ‘gs_cdj1600_device’ was previously declared here
#  187|   #endif
#  188|   #ifdef device2_
#  189|-> device2_(gs_cdj1600_device)
#  190|   #endif
#  191|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def511]
ghostscript-10.05.0/soobj/gconfig.h:192:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj500_device’ does not match original declaration
#  192 | device_(gs_cdj500_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:598:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  598 | gx_device_cdj far_data gs_cdj500_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:598:24: note: ‘gs_cdj500_device’ was previously declared here
#  190|   #endif
#  191|   #ifdef device_
#  192|-> device_(gs_cdj500_device)
#  193|   device_(gs_cdj550_device)
#  194|   #endif

Error: COMPILER_WARNING (CWE-704): [#def512]
ghostscript-10.05.0/soobj/gconfig.h:193:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj550_device’ does not match original declaration
#  193 | device_(gs_cdj550_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:602:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  602 | gx_device_cdj far_data gs_cdj550_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:602:24: note: ‘gs_cdj550_device’ was previously declared here
#  191|   #ifdef device_
#  192|   device_(gs_cdj500_device)
#  193|-> device_(gs_cdj550_device)
#  194|   #endif
#  195|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def513]
ghostscript-10.05.0/soobj/gconfig.h:196:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj670_device’ does not match original declaration
#  196 | device2_(gs_cdj670_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:836:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  836 | const gx_device_cdj850 gs_cdj670_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:836:24: note: ‘gs_cdj670_device’ was previously declared here
#  194|   #endif
#  195|   #ifdef device2_
#  196|-> device2_(gs_cdj670_device)
#  197|   device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)

Error: COMPILER_WARNING (CWE-704): [#def514]
ghostscript-10.05.0/soobj/gconfig.h:197:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj850_device’ does not match original declaration
#  197 | device2_(gs_cdj850_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:843:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  843 | const gx_device_cdj850 gs_cdj850_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:843:24: note: ‘gs_cdj850_device’ was previously declared here
#  195|   #ifdef device2_
#  196|   device2_(gs_cdj670_device)
#  197|-> device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)

Error: COMPILER_WARNING (CWE-704): [#def515]
ghostscript-10.05.0/soobj/gconfig.h:198:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj880_device’ does not match original declaration
#  198 | device2_(gs_cdj880_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:850:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  850 | const gx_device_cdj850 gs_cdj880_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:850:24: note: ‘gs_cdj880_device’ was previously declared here
#  196|   device2_(gs_cdj670_device)
#  197|   device2_(gs_cdj850_device)
#  198|-> device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)
#  200|   device2_(gs_cdj970_device)

Error: COMPILER_WARNING (CWE-704): [#def516]
ghostscript-10.05.0/soobj/gconfig.h:199:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj890_device’ does not match original declaration
#  199 | device2_(gs_cdj890_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:857:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  857 | const gx_device_cdj850 gs_cdj890_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:857:24: note: ‘gs_cdj890_device’ was previously declared here
#  197|   device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)
#  199|-> device2_(gs_cdj890_device)
#  200|   device2_(gs_cdj970_device)
#  201|   #endif

Error: COMPILER_WARNING (CWE-704): [#def517]
ghostscript-10.05.0/soobj/gconfig.h:200:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj970_device’ does not match original declaration
#  200 | device2_(gs_cdj970_device)
#      | ^
ghostscript-10.05.0/contrib/gdevdj9.c:561:24: note: type ‘const struct gx_device_cdj970’ should match type ‘const struct gx_device’
#  561 | const gx_device_cdj970 gs_cdj970_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevdj9.c:561:24: note: ‘gs_cdj970_device’ was previously declared here
#  198|   device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)
#  200|-> device2_(gs_cdj970_device)
#  201|   #endif
#  202|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def518]
ghostscript-10.05.0/soobj/gconfig.h:203:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdjcolor_device’ does not match original declaration
#  203 | device_(gs_cdjcolor_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:594:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  594 | gx_device_cdj far_data gs_cdjcolor_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:594:24: note: ‘gs_cdjcolor_device’ was previously declared here
#  201|   #endif
#  202|   #ifdef device_
#  203|-> device_(gs_cdjcolor_device)
#  204|   device_(gs_cdjmono_device)
#  205|   #endif

Error: COMPILER_WARNING (CWE-704): [#def519]
ghostscript-10.05.0/soobj/gconfig.h:204:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdjmono_device’ does not match original declaration
#  204 | device_(gs_cdjmono_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:586:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  586 | gx_device_cdj far_data gs_cdjmono_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:586:24: note: ‘gs_cdjmono_device’ was previously declared here
#  202|   #ifdef device_
#  203|   device_(gs_cdjcolor_device)
#  204|-> device_(gs_cdjmono_device)
#  205|   #endif
#  206|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def520]
ghostscript-10.05.0/soobj/gconfig.h:207:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdnj500_device’ does not match original declaration
#  207 | device2_(gs_cdnj500_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:880:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  880 | const gx_device_cdj850 gs_cdnj500_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:880:24: note: ‘gs_cdnj500_device’ was previously declared here
#  205|   #endif
#  206|   #ifdef device2_
#  207|-> device2_(gs_cdnj500_device)
#  208|   device2_(gs_chp2200_device)
#  209|   #endif

Error: COMPILER_WARNING (CWE-704): [#def521]
ghostscript-10.05.0/soobj/gconfig.h:208:1: warning[-Wlto-type-mismatch]: type of ‘gs_chp2200_device’ does not match original declaration
#  208 | device2_(gs_chp2200_device)
#      | ^
ghostscript-10.05.0/contrib/gdevcd8.c:872:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  872 | const gx_device_cdj850 gs_chp2200_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevcd8.c:872:24: note: ‘gs_chp2200_device’ was previously declared here
#  206|   #ifdef device2_
#  207|   device2_(gs_cdnj500_device)
#  208|-> device2_(gs_chp2200_device)
#  209|   #endif
#  210|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def522]
ghostscript-10.05.0/soobj/gconfig.h:211:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5_device’ does not match original declaration
#  211 | device_(gs_cljet5_device)
#      | ^
ghostscript-10.05.0/devices/gdevclj.c:558:15: note: type ‘struct gx_device_clj’ should match type ‘struct gx_device’
#  558 | gx_device_clj gs_cljet5_device = {
#      |               ^
ghostscript-10.05.0/devices/gdevclj.c:558:15: note: ‘gs_cljet5_device’ was previously declared here
#  209|   #endif
#  210|   #ifdef device_
#  211|-> device_(gs_cljet5_device)
#  212|   device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)

Error: COMPILER_WARNING (CWE-704): [#def523]
ghostscript-10.05.0/soobj/gconfig.h:212:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5c_device’ does not match original declaration
#  212 | device_(gs_cljet5c_device)
#      | ^
ghostscript-10.05.0/devices/gdevcljc.c:93:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   93 | const gx_device_printer gs_cljet5c_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevcljc.c:93:25: note: ‘gs_cljet5c_device’ was previously declared here
#  210|   #ifdef device_
#  211|   device_(gs_cljet5_device)
#  212|-> device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)

Error: COMPILER_WARNING (CWE-704): [#def524]
ghostscript-10.05.0/soobj/gconfig.h:213:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5pr_device’ does not match original declaration
#  213 | device_(gs_cljet5pr_device)
#      | ^
ghostscript-10.05.0/devices/gdevclj.c:684:15: note: type ‘struct gx_device_clj’ should match type ‘struct gx_device’
#  684 | gx_device_clj gs_cljet5pr_device = {
#      |               ^
ghostscript-10.05.0/devices/gdevclj.c:684:15: note: ‘gs_cljet5pr_device’ was previously declared here
#  211|   device_(gs_cljet5_device)
#  212|   device_(gs_cljet5c_device)
#  213|-> device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)

Error: COMPILER_WARNING (CWE-704): [#def525]
ghostscript-10.05.0/soobj/gconfig.h:214:1: warning[-Wlto-type-mismatch]: type of ‘gs_coslw2p_device’ does not match original declaration
#  214 | device_(gs_coslw2p_device)
#      | ^
ghostscript-10.05.0/devices/gdevcslw.c:33:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   33 | const gx_device_printer gs_coslw2p_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevcslw.c:33:25: note: ‘gs_coslw2p_device’ was previously declared here
#  212|   device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)
#  214|-> device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)
#  216|   device_(gs_declj250_device)

Error: COMPILER_WARNING (CWE-704): [#def526]
ghostscript-10.05.0/soobj/gconfig.h:215:1: warning[-Wlto-type-mismatch]: type of ‘gs_coslwxl_device’ does not match original declaration
#  215 | device_(gs_coslwxl_device)
#      | ^
ghostscript-10.05.0/devices/gdevcslw.c:41:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   41 | const gx_device_printer gs_coslwxl_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevcslw.c:41:25: note: ‘gs_coslwxl_device’ was previously declared here
#  213|   device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)
#  215|-> device_(gs_coslwxl_device)
#  216|   device_(gs_declj250_device)
#  217|   #endif

Error: COMPILER_WARNING (CWE-704): [#def527]
ghostscript-10.05.0/soobj/gconfig.h:216:1: warning[-Wlto-type-mismatch]: type of ‘gs_declj250_device’ does not match original declaration
#  216 | device_(gs_declj250_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:621:23: note: type ‘struct gx_device_pj’ should match type ‘struct gx_device’
#  621 | gx_device_pj far_data gs_declj250_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevcdj.c:621:23: note: ‘gs_declj250_device’ was previously declared here
#  214|   device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)
#  216|-> device_(gs_declj250_device)
#  217|   #endif
#  218|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def528]
ghostscript-10.05.0/soobj/gconfig.h:219:1: warning[-Wlto-type-mismatch]: type of ‘gs_deskjet_device’ does not match original declaration
#  219 | device2_(gs_deskjet_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:157:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  157 | const gx_device_hpjet gs_deskjet_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:157:23: note: ‘gs_deskjet_device’ was previously declared here
#  217|   #endif
#  218|   #ifdef device2_
#  219|-> device2_(gs_deskjet_device)
#  220|   #endif
#  221|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def529]
ghostscript-10.05.0/soobj/gconfig.h:222:1: warning[-Wlto-type-mismatch]: type of ‘gs_dj505j_device’ does not match original declaration
#  222 | device_(gs_dj505j_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:617:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  617 | gx_device_cdj far_data gs_dj505j_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:617:24: note: ‘gs_dj505j_device’ was previously declared here
#  220|   #endif
#  221|   #ifdef device_
#  222|-> device_(gs_dj505j_device)
#  223|   #endif
#  224|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def530]
ghostscript-10.05.0/soobj/gconfig.h:225:1: warning[-Wlto-type-mismatch]: type of ‘gs_djet500_device’ does not match original declaration
#  225 | device2_(gs_djet500_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:164:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  164 | const gx_device_hpjet gs_djet500_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:164:23: note: ‘gs_djet500_device’ was previously declared here
#  223|   #endif
#  224|   #ifdef device2_
#  225|-> device2_(gs_djet500_device)
#  226|   #endif
#  227|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def531]
ghostscript-10.05.0/soobj/gconfig.h:228:1: warning[-Wlto-type-mismatch]: type of ‘gs_djet500c_device’ does not match original declaration
#  228 | device_(gs_djet500c_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjtc.c:54:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   54 | const gx_device_printer far_data gs_djet500c_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevdjtc.c:54:34: note: ‘gs_djet500c_device’ was previously declared here
#  226|   #endif
#  227|   #ifdef device_
#  228|-> device_(gs_djet500c_device)
#  229|   device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)

Error: COMPILER_WARNING (CWE-704): [#def532]
ghostscript-10.05.0/soobj/gconfig.h:229:1: warning[-Wlto-type-mismatch]: type of ‘gs_dl2100_device’ does not match original declaration
#  229 | device_(gs_dl2100_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:104:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  104 | gx_device_printer gs_dl2100_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:104:19: note: ‘gs_dl2100_device’ was previously declared here
#  227|   #ifdef device_
#  228|   device_(gs_djet500c_device)
#  229|-> device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)

Error: COMPILER_WARNING (CWE-704): [#def533]
ghostscript-10.05.0/soobj/gconfig.h:230:1: warning[-Wlto-type-mismatch]: type of ‘gs_dnj650c_device’ does not match original declaration
#  230 | device_(gs_dnj650c_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:625:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  625 | gx_device_cdj far_data gs_dnj650c_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:625:24: note: ‘gs_dnj650c_device’ was previously declared here
#  228|   device_(gs_djet500c_device)
#  229|   device_(gs_dl2100_device)
#  230|-> device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)

Error: COMPILER_WARNING (CWE-704): [#def534]
ghostscript-10.05.0/soobj/gconfig.h:231:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2050_device’ does not match original declaration
#  231 | device_(gs_epl2050_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:245:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  245 | gx_device_escv far_data gs_epl2050_device = esmv_device_body("epl2050");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:245:25: note: ‘gs_epl2050_device’ was previously declared here
#  229|   device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)
#  231|-> device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)

Error: COMPILER_WARNING (CWE-704): [#def535]
ghostscript-10.05.0/soobj/gconfig.h:232:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2050p_device’ does not match original declaration
#  232 | device_(gs_epl2050p_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:246:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  246 | gx_device_escv far_data gs_epl2050p_device= esmv_device_body("epl2050p");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:246:25: note: ‘gs_epl2050p_device’ was previously declared here
#  230|   device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)
#  232|-> device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)

Error: COMPILER_WARNING (CWE-704): [#def536]
ghostscript-10.05.0/soobj/gconfig.h:233:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2120_device’ does not match original declaration
#  233 | device_(gs_epl2120_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:247:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  247 | gx_device_escv far_data gs_epl2120_device = esmv_device_body("epl2120");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:247:25: note: ‘gs_epl2120_device’ was previously declared here
#  231|   device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)
#  233|-> device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)

Error: COMPILER_WARNING (CWE-704): [#def537]
ghostscript-10.05.0/soobj/gconfig.h:234:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2500_device’ does not match original declaration
#  234 | device_(gs_epl2500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:248:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  248 | gx_device_escv far_data gs_epl2500_device = esmv_device_body("epl2500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:248:25: note: ‘gs_epl2500_device’ was previously declared here
#  232|   device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)
#  234|-> device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)

Error: COMPILER_WARNING (CWE-704): [#def538]
ghostscript-10.05.0/soobj/gconfig.h:235:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2750_device’ does not match original declaration
#  235 | device_(gs_epl2750_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:249:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  249 | gx_device_escv far_data gs_epl2750_device = esmv_device_body("epl2750");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:249:25: note: ‘gs_epl2750_device’ was previously declared here
#  233|   device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)
#  235|-> device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)

Error: COMPILER_WARNING (CWE-704): [#def539]
ghostscript-10.05.0/soobj/gconfig.h:236:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl5800_device’ does not match original declaration
#  236 | device_(gs_epl5800_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:250:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  250 | gx_device_escv far_data gs_epl5800_device = esmv_device_body("epl5800");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:250:25: note: ‘gs_epl5800_device’ was previously declared here
#  234|   device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)
#  236|-> device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)

Error: COMPILER_WARNING (CWE-704): [#def540]
ghostscript-10.05.0/soobj/gconfig.h:237:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl5900_device’ does not match original declaration
#  237 | device_(gs_epl5900_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:251:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  251 | gx_device_escv far_data gs_epl5900_device = esmv_device_body("epl5900");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:251:25: note: ‘gs_epl5900_device’ was previously declared here
#  235|   device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)
#  237|-> device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)

Error: COMPILER_WARNING (CWE-704): [#def541]
ghostscript-10.05.0/soobj/gconfig.h:238:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl6100_device’ does not match original declaration
#  238 | device_(gs_epl6100_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:252:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  252 | gx_device_escv far_data gs_epl6100_device = esmv_device_body("epl6100");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:252:25: note: ‘gs_epl6100_device’ was previously declared here
#  236|   device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)
#  238|-> device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)

Error: COMPILER_WARNING (CWE-704): [#def542]
ghostscript-10.05.0/soobj/gconfig.h:239:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl6200_device’ does not match original declaration
#  239 | device_(gs_epl6200_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:253:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  253 | gx_device_escv far_data gs_epl6200_device = esmv_device_body("epl6200");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:253:25: note: ‘gs_epl6200_device’ was previously declared here
#  237|   device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)
#  239|-> device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)

Error: COMPILER_WARNING (CWE-704): [#def543]
ghostscript-10.05.0/soobj/gconfig.h:240:1: warning[-Wlto-type-mismatch]: type of ‘gs_eplcolor_device’ does not match original declaration
#  240 | device_(gs_eplcolor_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:298:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  298 | gx_device_escv far_data gs_eplcolor_device= escv_device_body(ESCPAGE_DEVICENAME_COLOR);
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:298:25: note: ‘gs_eplcolor_device’ was previously declared here
#  238|   device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)
#  240|-> device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)

Error: COMPILER_WARNING (CWE-704): [#def544]
ghostscript-10.05.0/soobj/gconfig.h:241:1: warning[-Wlto-type-mismatch]: type of ‘gs_eplmono_device’ does not match original declaration
#  241 | device_(gs_eplmono_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:277:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  277 | gx_device_escv far_data gs_eplmono_device = esmv_device_body(ESCPAGE_DEVICENAME_MONO);
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:277:25: note: ‘gs_eplmono_device’ was previously declared here
#  239|   device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)
#  241|-> device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)

Error: COMPILER_WARNING (CWE-704): [#def545]
ghostscript-10.05.0/soobj/gconfig.h:242:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps9high_device’ does not match original declaration
#  242 | device_(gs_eps9high_device)
#      | ^
ghostscript-10.05.0/devices/gdevepsn.c:123:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  123 | const gx_device_printer far_data gs_eps9high_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevepsn.c:123:34: note: ‘gs_eps9high_device’ was previously declared here
#  240|   device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)
#  242|-> device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)

Error: COMPILER_WARNING (CWE-704): [#def546]
ghostscript-10.05.0/soobj/gconfig.h:243:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps9mid_device’ does not match original declaration
#  243 | device_(gs_eps9mid_device)
#      | ^
ghostscript-10.05.0/devices/gdevepsn.c:113:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  113 | const gx_device_printer far_data gs_eps9mid_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevepsn.c:113:34: note: ‘gs_eps9mid_device’ was previously declared here
#  241|   device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)
#  243|-> device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)

Error: COMPILER_WARNING (CWE-704): [#def547]
ghostscript-10.05.0/soobj/gconfig.h:244:1: warning[-Wlto-type-mismatch]: type of ‘gs_epson_device’ does not match original declaration
#  244 | device_(gs_epson_device)
#      | ^
ghostscript-10.05.0/devices/gdevepsn.c:103:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  103 | const gx_device_printer far_data gs_epson_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevepsn.c:103:34: note: ‘gs_epson_device’ was previously declared here
#  242|   device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)
#  244|-> device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)

Error: COMPILER_WARNING (CWE-704): [#def548]
ghostscript-10.05.0/soobj/gconfig.h:245:1: warning[-Wlto-type-mismatch]: type of ‘gs_epsonc_device’ does not match original declaration
#  245 | device_(gs_epsonc_device)
#      | ^
ghostscript-10.05.0/devices/gdevepsc.c:157:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  157 | const gx_device_printer far_data gs_epsonc_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevepsc.c:157:34: note: ‘gs_epsonc_device’ was previously declared here
#  243|   device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)
#  245|-> device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)
#  247|   device_(gs_escpage_device)

Error: COMPILER_WARNING (CWE-704): [#def549]
ghostscript-10.05.0/soobj/gconfig.h:246:1: warning[-Wlto-type-mismatch]: type of ‘gs_escp_device’ does not match original declaration
#  246 | device_(gs_escp_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:649:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  649 | gx_device_cdj far_data gs_escp_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:649:24: note: ‘gs_escp_device’ was previously declared here
#  244|   device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)
#  246|-> device_(gs_escp_device)
#  247|   device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)

Error: COMPILER_WARNING (CWE-704): [#def550]
ghostscript-10.05.0/soobj/gconfig.h:247:1: warning[-Wlto-type-mismatch]: type of ‘gs_escpage_device’ does not match original declaration
#  247 | device_(gs_escpage_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevespg.c:71:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   71 | gx_device_lprn far_data gs_escpage_device =
#      |                         ^
ghostscript-10.05.0/contrib/japanese/gdevespg.c:71:25: note: ‘gs_escpage_device’ was previously declared here
#  245|   device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)
#  247|-> device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)
#  249|   device_(gs_fmpr_device)

Error: COMPILER_WARNING (CWE-704): [#def551]
ghostscript-10.05.0/soobj/gconfig.h:248:1: warning[-Wlto-type-mismatch]: type of ‘gs_fmlbp_device’ does not match original declaration
#  248 | device_(gs_fmlbp_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevfmlbp.c:73:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   73 | gx_device_printer gs_fmlbp_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevfmlbp.c:73:19: note: ‘gs_fmlbp_device’ was previously declared here
#  246|   device_(gs_escp_device)
#  247|   device_(gs_escpage_device)
#  248|-> device_(gs_fmlbp_device)
#  249|   device_(gs_fmpr_device)
#  250|   #endif

Error: COMPILER_WARNING (CWE-704): [#def552]
ghostscript-10.05.0/soobj/gconfig.h:249:1: warning[-Wlto-type-mismatch]: type of ‘gs_fmpr_device’ does not match original declaration
#  249 | device_(gs_fmpr_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevfmpr.c:32:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   32 | gx_device_printer gs_fmpr_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevfmpr.c:32:19: note: ‘gs_fmpr_device’ was previously declared here
#  247|   device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)
#  249|-> device_(gs_fmpr_device)
#  250|   #endif
#  251|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def553]
ghostscript-10.05.0/soobj/gconfig.h:252:1: warning[-Wlto-type-mismatch]: type of ‘gs_fs600_device’ does not match original declaration
#  252 | device2_(gs_fs600_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:171:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  171 | const gx_device_hpjet gs_fs600_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:171:23: note: ‘gs_fs600_device’ was previously declared here
#  250|   #endif
#  251|   #ifdef device2_
#  252|-> device2_(gs_fs600_device)
#  253|   #endif
#  254|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def554]
ghostscript-10.05.0/soobj/gconfig.h:255:1: warning[-Wlto-type-mismatch]: type of ‘gs_gdi_device’ does not match original declaration
#  255 | device_(gs_gdi_device)
#      | ^
ghostscript-10.05.0/contrib/gdevgdi.c:106:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  106 | gx_device_printer far_data gs_gdi_device =
#      |                            ^
ghostscript-10.05.0/contrib/gdevgdi.c:106:28: note: ‘gs_gdi_device’ was previously declared here
#  253|   #endif
#  254|   #ifdef device_
#  255|-> device_(gs_gdi_device)
#  256|   device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)

Error: COMPILER_WARNING (CWE-704): [#def555]
ghostscript-10.05.0/soobj/gconfig.h:256:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl1240_device’ does not match original declaration
#  256 | device_(gs_hl1240_device)
#      | ^
ghostscript-10.05.0/contrib/gdevhl12.c:187:24: note: type ‘const struct gx_device_hl1250’ should match type ‘struct gx_device’
#  187 | const gx_device_hl1250 gs_hl1240_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevhl12.c:187:24: note: ‘gs_hl1240_device’ was previously declared here
#  254|   #ifdef device_
#  255|   device_(gs_gdi_device)
#  256|-> device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)

Error: COMPILER_WARNING (CWE-704): [#def556]
ghostscript-10.05.0/soobj/gconfig.h:257:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl1250_device’ does not match original declaration
#  257 | device_(gs_hl1250_device)
#      | ^
ghostscript-10.05.0/contrib/gdevhl12.c:184:24: note: type ‘const struct gx_device_hl1250’ should match type ‘struct gx_device’
#  184 | const gx_device_hl1250 gs_hl1250_device =
#      |                        ^
ghostscript-10.05.0/contrib/gdevhl12.c:184:24: note: ‘gs_hl1250_device’ was previously declared here
#  255|   device_(gs_gdi_device)
#  256|   device_(gs_hl1240_device)
#  257|-> device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)

Error: COMPILER_WARNING (CWE-704): [#def557]
ghostscript-10.05.0/soobj/gconfig.h:258:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl7x0_device’ does not match original declaration
#  258 | device_(gs_hl7x0_device)
#      | ^
ghostscript-10.05.0/devices/gdevhl7x.c:260:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  260 | const gx_device_printer far_data gs_hl7x0_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevhl7x.c:260:34: note: ‘gs_hl7x0_device’ was previously declared here
#  256|   device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)
#  258|-> device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)

Error: COMPILER_WARNING (CWE-704): [#def558]
ghostscript-10.05.0/soobj/gconfig.h:259:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj1120c_device’ does not match original declaration
#  259 | device_(gs_hpdj1120c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  189 | pcl3_device_instance(hpdj1120c, HPDJ1120C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: ‘gs_hpdj1120c_device’ was previously declared here
#  257|   device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)
#  259|-> device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)

Error: COMPILER_WARNING (CWE-704): [#def559]
ghostscript-10.05.0/soobj/gconfig.h:260:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj310_device’ does not match original declaration
#  260 | device_(gs_hpdj310_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  169 | pcl3_device_instance(hpdj310,   HPDJ310);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: ‘gs_hpdj310_device’ was previously declared here
#  258|   device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)
#  260|-> device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)

Error: COMPILER_WARNING (CWE-704): [#def560]
ghostscript-10.05.0/soobj/gconfig.h:261:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj320_device’ does not match original declaration
#  261 | device_(gs_hpdj320_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  170 | pcl3_device_instance(hpdj320,   HPDJ320);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: ‘gs_hpdj320_device’ was previously declared here
#  259|   device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)
#  261|-> device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)

Error: COMPILER_WARNING (CWE-704): [#def561]
ghostscript-10.05.0/soobj/gconfig.h:262:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj340_device’ does not match original declaration
#  262 | device_(gs_hpdj340_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  171 | pcl3_device_instance(hpdj340,   HPDJ340);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: ‘gs_hpdj340_device’ was previously declared here
#  260|   device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)
#  262|-> device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)

Error: COMPILER_WARNING (CWE-704): [#def562]
ghostscript-10.05.0/soobj/gconfig.h:263:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj400_device’ does not match original declaration
#  263 | device_(gs_hpdj400_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  172 | pcl3_device_instance(hpdj400,   HPDJ400);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: ‘gs_hpdj400_device’ was previously declared here
#  261|   device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)
#  263|-> device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)

Error: COMPILER_WARNING (CWE-704): [#def563]
ghostscript-10.05.0/soobj/gconfig.h:264:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj500_device’ does not match original declaration
#  264 | device_(gs_hpdj500_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  173 | pcl3_device_instance(hpdj500,   HPDJ500);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: ‘gs_hpdj500_device’ was previously declared here
#  262|   device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)
#  264|-> device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)

Error: COMPILER_WARNING (CWE-704): [#def564]
ghostscript-10.05.0/soobj/gconfig.h:265:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj500c_device’ does not match original declaration
#  265 | device_(gs_hpdj500c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  174 | pcl3_device_instance(hpdj500c,  HPDJ500C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: ‘gs_hpdj500c_device’ was previously declared here
#  263|   device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)
#  265|-> device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)

Error: COMPILER_WARNING (CWE-704): [#def565]
ghostscript-10.05.0/soobj/gconfig.h:266:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj510_device’ does not match original declaration
#  266 | device_(gs_hpdj510_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  175 | pcl3_device_instance(hpdj510,   HPDJ510);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: ‘gs_hpdj510_device’ was previously declared here
#  264|   device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)
#  266|-> device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)

Error: COMPILER_WARNING (CWE-704): [#def566]
ghostscript-10.05.0/soobj/gconfig.h:267:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj520_device’ does not match original declaration
#  267 | device_(gs_hpdj520_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  176 | pcl3_device_instance(hpdj520,   HPDJ520);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: ‘gs_hpdj520_device’ was previously declared here
#  265|   device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)
#  267|-> device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)

Error: COMPILER_WARNING (CWE-704): [#def567]
ghostscript-10.05.0/soobj/gconfig.h:268:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj540_device’ does not match original declaration
#  268 | device_(gs_hpdj540_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  177 | pcl3_device_instance(hpdj540,   HPDJ540);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: ‘gs_hpdj540_device’ was previously declared here
#  266|   device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)
#  268|-> device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)

Error: COMPILER_WARNING (CWE-704): [#def568]
ghostscript-10.05.0/soobj/gconfig.h:269:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj550c_device’ does not match original declaration
#  269 | device_(gs_hpdj550c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  178 | pcl3_device_instance(hpdj550c,  HPDJ550C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: ‘gs_hpdj550c_device’ was previously declared here
#  267|   device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)
#  269|-> device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)

Error: COMPILER_WARNING (CWE-704): [#def569]
ghostscript-10.05.0/soobj/gconfig.h:270:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj560c_device’ does not match original declaration
#  270 | device_(gs_hpdj560c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  179 | pcl3_device_instance(hpdj560c,  HPDJ560C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: ‘gs_hpdj560c_device’ was previously declared here
#  268|   device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)
#  270|-> device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)

Error: COMPILER_WARNING (CWE-704): [#def570]
ghostscript-10.05.0/soobj/gconfig.h:271:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj600_device’ does not match original declaration
#  271 | device_(gs_hpdj600_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  180 | pcl3_device_instance(hpdj600,   HPDJ600);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: ‘gs_hpdj600_device’ was previously declared here
#  269|   device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)
#  271|-> device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)

Error: COMPILER_WARNING (CWE-704): [#def571]
ghostscript-10.05.0/soobj/gconfig.h:272:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj660c_device’ does not match original declaration
#  272 | device_(gs_hpdj660c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  181 | pcl3_device_instance(hpdj660c,  HPDJ660C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: ‘gs_hpdj660c_device’ was previously declared here
#  270|   device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)
#  272|-> device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)

Error: COMPILER_WARNING (CWE-704): [#def572]
ghostscript-10.05.0/soobj/gconfig.h:273:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj670c_device’ does not match original declaration
#  273 | device_(gs_hpdj670c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  182 | pcl3_device_instance(hpdj670c,  HPDJ670C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: ‘gs_hpdj670c_device’ was previously declared here
#  271|   device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)
#  273|-> device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)

Error: COMPILER_WARNING (CWE-704): [#def573]
ghostscript-10.05.0/soobj/gconfig.h:274:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj680c_device’ does not match original declaration
#  274 | device_(gs_hpdj680c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  183 | pcl3_device_instance(hpdj680c,  HPDJ680C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: ‘gs_hpdj680c_device’ was previously declared here
#  272|   device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)
#  274|-> device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)

Error: COMPILER_WARNING (CWE-704): [#def574]
ghostscript-10.05.0/soobj/gconfig.h:275:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj690c_device’ does not match original declaration
#  275 | device_(gs_hpdj690c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  184 | pcl3_device_instance(hpdj690c,  HPDJ690C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: ‘gs_hpdj690c_device’ was previously declared here
#  273|   device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)
#  275|-> device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)

Error: COMPILER_WARNING (CWE-704): [#def575]
ghostscript-10.05.0/soobj/gconfig.h:276:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj850c_device’ does not match original declaration
#  276 | device_(gs_hpdj850c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  185 | pcl3_device_instance(hpdj850c,  HPDJ850C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: ‘gs_hpdj850c_device’ was previously declared here
#  274|   device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)
#  276|-> device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)

Error: COMPILER_WARNING (CWE-704): [#def576]
ghostscript-10.05.0/soobj/gconfig.h:277:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj855c_device’ does not match original declaration
#  277 | device_(gs_hpdj855c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  186 | pcl3_device_instance(hpdj855c,  HPDJ855C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: ‘gs_hpdj855c_device’ was previously declared here
#  275|   device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)
#  277|-> device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)

Error: COMPILER_WARNING (CWE-704): [#def577]
ghostscript-10.05.0/soobj/gconfig.h:278:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj870c_device’ does not match original declaration
#  278 | device_(gs_hpdj870c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  187 | pcl3_device_instance(hpdj870c,  HPDJ870C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: ‘gs_hpdj870c_device’ was previously declared here
#  276|   device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)
#  278|-> device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)

Error: COMPILER_WARNING (CWE-704): [#def578]
ghostscript-10.05.0/soobj/gconfig.h:279:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj890c_device’ does not match original declaration
#  279 | device_(gs_hpdj890c_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  188 | pcl3_device_instance(hpdj890c,  HPDJ890C);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: ‘gs_hpdj890c_device’ was previously declared here
#  277|   device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)
#  279|-> device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)

Error: COMPILER_WARNING (CWE-704): [#def579]
ghostscript-10.05.0/soobj/gconfig.h:280:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdjplus_device’ does not match original declaration
#  280 | device_(gs_hpdjplus_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  167 | pcl3_device_instance(hpdjplus,  HPDeskJetPlus);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: ‘gs_hpdjplus_device’ was previously declared here
#  278|   device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)
#  280|-> device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)

Error: COMPILER_WARNING (CWE-704): [#def580]
ghostscript-10.05.0/soobj/gconfig.h:281:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdjportable_device’ does not match original declaration
#  281 | device_(gs_hpdjportable_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  168 | pcl3_device_instance(hpdjportable, HPDJPortable);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: ‘gs_hpdjportable_device’ was previously declared here
#  279|   device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)
#  281|-> device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)
#  283|   device_(gs_imagen_device)

Error: COMPILER_WARNING (CWE-704): [#def581]
ghostscript-10.05.0/soobj/gconfig.h:282:1: warning[-Wlto-type-mismatch]: type of ‘gs_ibmpro_device’ does not match original declaration
#  282 | device_(gs_ibmpro_device)
#      | ^
ghostscript-10.05.0/devices/gdevepsn.c:133:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  133 | const gx_device_printer far_data gs_ibmpro_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevepsn.c:133:34: note: ‘gs_ibmpro_device’ was previously declared here
#  280|   device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)
#  282|-> device_(gs_ibmpro_device)
#  283|   device_(gs_imagen_device)
#  284|   #endif

Error: COMPILER_WARNING (CWE-704): [#def582]
ghostscript-10.05.0/soobj/gconfig.h:283:1: warning[-Wlto-type-mismatch]: type of ‘gs_imagen_device’ does not match original declaration
#  283 | device_(gs_imagen_device)
#      | ^
ghostscript-10.05.0/devices/gdevimgn.c:243:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  243 | const gx_device_printer far_data gs_imagen_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevimgn.c:243:34: note: ‘gs_imagen_device’ was previously declared here
#  281|   device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)
#  283|-> device_(gs_imagen_device)
#  284|   #endif
#  285|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def583]
ghostscript-10.05.0/soobj/gconfig.h:286:1: warning[-Wlto-type-mismatch]: type of ‘gs_itk24i_device’ does not match original declaration
#  286 | device2_(gs_itk24i_device)
#      | ^
ghostscript-10.05.0/devices/gdevatx.c:62:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   62 | const gx_device_printer gs_itk24i_device = /* real width = 832 pixels */
#      |                         ^
ghostscript-10.05.0/devices/gdevatx.c:62:25: note: ‘gs_itk24i_device’ was previously declared here
#  284|   #endif
#  285|   #ifdef device2_
#  286|-> device2_(gs_itk24i_device)
#  287|   device2_(gs_itk38_device)
#  288|   #endif

Error: COMPILER_WARNING (CWE-704): [#def584]
ghostscript-10.05.0/soobj/gconfig.h:287:1: warning[-Wlto-type-mismatch]: type of ‘gs_itk38_device’ does not match original declaration
#  287 | device2_(gs_itk38_device)
#      | ^
ghostscript-10.05.0/devices/gdevatx.c:66:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   66 | const gx_device_printer gs_itk38_device = /* real width = 2400 pixels */
#      |                         ^
ghostscript-10.05.0/devices/gdevatx.c:66:25: note: ‘gs_itk38_device’ was previously declared here
#  285|   #ifdef device2_
#  286|   device2_(gs_itk24i_device)
#  287|-> device2_(gs_itk38_device)
#  288|   #endif
#  289|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def585]
ghostscript-10.05.0/soobj/gconfig.h:290:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwhi_device’ does not match original declaration
#  290 | device_(gs_iwhi_device)
#      | ^
ghostscript-10.05.0/contrib/gdevadmp.c:139:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  139 | const gx_device_printer far_data gs_iwhi_device =
#      |                                  ^
ghostscript-10.05.0/contrib/gdevadmp.c:139:34: note: ‘gs_iwhi_device’ was previously declared here
#  288|   #endif
#  289|   #ifdef device_
#  290|-> device_(gs_iwhi_device)
#  291|   device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)

Error: COMPILER_WARNING (CWE-704): [#def586]
ghostscript-10.05.0/soobj/gconfig.h:291:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlo_device’ does not match original declaration
#  291 | device_(gs_iwlo_device)
#      | ^
ghostscript-10.05.0/contrib/gdevadmp.c:130:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  130 | const gx_device_printer far_data gs_iwlo_device =
#      |                                  ^
ghostscript-10.05.0/contrib/gdevadmp.c:130:34: note: ‘gs_iwlo_device’ was previously declared here
#  289|   #ifdef device_
#  290|   device_(gs_iwhi_device)
#  291|-> device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)

Error: COMPILER_WARNING (CWE-704): [#def587]
ghostscript-10.05.0/soobj/gconfig.h:292:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlq_device’ does not match original declaration
#  292 | device_(gs_iwlq_device)
#      | ^
ghostscript-10.05.0/contrib/gdevadmp.c:148:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  148 | const gx_device_printer far_data gs_iwlq_device =
#      |                                  ^
ghostscript-10.05.0/contrib/gdevadmp.c:148:34: note: ‘gs_iwlq_device’ was previously declared here
#  290|   device_(gs_iwhi_device)
#  291|   device_(gs_iwlo_device)
#  292|-> device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)

Error: COMPILER_WARNING (CWE-704): [#def588]
ghostscript-10.05.0/soobj/gconfig.h:293:1: warning[-Wlto-type-mismatch]: type of ‘gs_jetp3852_device’ does not match original declaration
#  293 | device_(gs_jetp3852_device)
#      | ^
ghostscript-10.05.0/devices/gdev3852.c:57:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   57 | const gx_device_printer far_data gs_jetp3852_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdev3852.c:57:34: note: ‘gs_jetp3852_device’ was previously declared here
#  291|   device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)
#  293|-> device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)
#  295|   device_(gs_la50_device)

Error: COMPILER_WARNING (CWE-704): [#def589]
ghostscript-10.05.0/soobj/gconfig.h:294:1: warning[-Wlto-type-mismatch]: type of ‘gs_jj100_device’ does not match original declaration
#  294 | device_(gs_jj100_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevj100.c:31:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   31 | gx_device_printer gs_jj100_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevj100.c:31:19: note: ‘gs_jj100_device’ was previously declared here
#  292|   device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)
#  294|-> device_(gs_jj100_device)
#  295|   device_(gs_la50_device)
#  296|   device_(gs_la70_device)

Error: COMPILER_WARNING (CWE-704): [#def590]
ghostscript-10.05.0/soobj/gconfig.h:295:1: warning[-Wlto-type-mismatch]: type of ‘gs_la50_device’ does not match original declaration
#  295 | device_(gs_la50_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:129:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  129 | gx_device_printer gs_la50_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:129:19: note: ‘gs_la50_device’ was previously declared here
#  293|   device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)
#  295|-> device_(gs_la50_device)
#  296|   device_(gs_la70_device)
#  297|   device_(gs_la75_device)

Error: COMPILER_WARNING (CWE-704): [#def591]
ghostscript-10.05.0/soobj/gconfig.h:296:1: warning[-Wlto-type-mismatch]: type of ‘gs_la70_device’ does not match original declaration
#  296 | device_(gs_la70_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:156:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  156 | gx_device_printer gs_la70_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:156:19: note: ‘gs_la70_device’ was previously declared here
#  294|   device_(gs_jj100_device)
#  295|   device_(gs_la50_device)
#  296|-> device_(gs_la70_device)
#  297|   device_(gs_la75_device)
#  298|   device_(gs_la75plus_device)

Error: COMPILER_WARNING (CWE-704): [#def592]
ghostscript-10.05.0/soobj/gconfig.h:297:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75_device’ does not match original declaration
#  297 | device_(gs_la75_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:182:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  182 | gx_device_printer gs_la75_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:182:19: note: ‘gs_la75_device’ was previously declared here
#  295|   device_(gs_la50_device)
#  296|   device_(gs_la70_device)
#  297|-> device_(gs_la75_device)
#  298|   device_(gs_la75plus_device)
#  299|   #endif

Error: COMPILER_WARNING (CWE-704): [#def593]
ghostscript-10.05.0/soobj/gconfig.h:298:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75plus_device’ does not match original declaration
#  298 | device_(gs_la75plus_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:209:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  209 | gx_device_printer gs_la75plus_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:209:19: note: ‘gs_la75plus_device’ was previously declared here
#  296|   device_(gs_la70_device)
#  297|   device_(gs_la75_device)
#  298|-> device_(gs_la75plus_device)
#  299|   #endif
#  300|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def594]
ghostscript-10.05.0/soobj/gconfig.h:301:1: warning[-Wlto-type-mismatch]: type of ‘gs_laserjet_device’ does not match original declaration
#  301 | device2_(gs_laserjet_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:178:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  178 | const gx_device_hpjet gs_laserjet_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:178:23: note: ‘gs_laserjet_device’ was previously declared here
#  299|   #endif
#  300|   #ifdef device2_
#  301|-> device2_(gs_laserjet_device)
#  302|   #endif
#  303|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def595]
ghostscript-10.05.0/soobj/gconfig.h:304:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp310_device’ does not match original declaration
#  304 | device_(gs_lbp310_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevlbp3.c:17:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   17 | gx_device_printer far_data gs_lbp310_device =
#      |                            ^
ghostscript-10.05.0/contrib/japanese/gdevlbp3.c:17:28: note: ‘gs_lbp310_device’ was previously declared here
#  302|   #endif
#  303|   #ifdef device_
#  304|-> device_(gs_lbp310_device)
#  305|   device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)

Error: COMPILER_WARNING (CWE-704): [#def596]
ghostscript-10.05.0/soobj/gconfig.h:305:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp320_device’ does not match original declaration
#  305 | device_(gs_lbp320_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevlbp3.c:29:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   29 | gx_device_printer far_data gs_lbp320_device =
#      |                            ^
ghostscript-10.05.0/contrib/japanese/gdevlbp3.c:29:28: note: ‘gs_lbp320_device’ was previously declared here
#  303|   #ifdef device_
#  304|   device_(gs_lbp310_device)
#  305|-> device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)

Error: COMPILER_WARNING (CWE-704): [#def597]
ghostscript-10.05.0/soobj/gconfig.h:306:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp8_device’ does not match original declaration
#  306 | device_(gs_lbp8_device)
#      | ^
ghostscript-10.05.0/devices/gdevlbp8.c:50:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   50 | const gx_device_printer far_data gs_lbp8_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevlbp8.c:50:34: note: ‘gs_lbp8_device’ was previously declared here
#  304|   device_(gs_lbp310_device)
#  305|   device_(gs_lbp320_device)
#  306|-> device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)

Error: COMPILER_WARNING (CWE-704): [#def598]
ghostscript-10.05.0/soobj/gconfig.h:307:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex2050_device’ does not match original declaration
#  307 | device_(gs_lex2050_device)
#      | ^
ghostscript-10.05.0/contrib/gdevlx7.c:216:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  216 | lxm_device far_data gs_lex2050_device = {
#      |                     ^
ghostscript-10.05.0/contrib/gdevlx7.c:216:21: note: ‘gs_lex2050_device’ was previously declared here
#  305|   device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)
#  307|-> device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)

Error: COMPILER_WARNING (CWE-704): [#def599]
ghostscript-10.05.0/soobj/gconfig.h:308:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex3200_device’ does not match original declaration
#  308 | device_(gs_lex3200_device)
#      | ^
ghostscript-10.05.0/contrib/gdevlx7.c:193:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  193 | lxm_device far_data gs_lex3200_device = {
#      |                     ^
ghostscript-10.05.0/contrib/gdevlx7.c:193:21: note: ‘gs_lex3200_device’ was previously declared here
#  306|   device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)
#  308|-> device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)

Error: COMPILER_WARNING (CWE-704): [#def600]
ghostscript-10.05.0/soobj/gconfig.h:309:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex5700_device’ does not match original declaration
#  309 | device_(gs_lex5700_device)
#      | ^
ghostscript-10.05.0/contrib/gdevlx7.c:170:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  170 | lxm_device far_data gs_lex5700_device = {
#      |                     ^
ghostscript-10.05.0/contrib/gdevlx7.c:170:21: note: ‘gs_lex5700_device’ was previously declared here
#  307|   device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)
#  309|-> device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)

Error: COMPILER_WARNING (CWE-704): [#def601]
ghostscript-10.05.0/soobj/gconfig.h:310:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex7000_device’ does not match original declaration
#  310 | device_(gs_lex7000_device)
#      | ^
ghostscript-10.05.0/contrib/gdevlx7.c:147:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  147 | lxm_device far_data gs_lex7000_device = {
#      |                     ^
ghostscript-10.05.0/contrib/gdevlx7.c:147:21: note: ‘gs_lex7000_device’ was previously declared here
#  308|   device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)
#  310|-> device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)

Error: COMPILER_WARNING (CWE-704): [#def602]
ghostscript-10.05.0/soobj/gconfig.h:311:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips2p_device’ does not match original declaration
#  311 | device_(gs_lips2p_device)
#      | ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:146:25: note: type ‘struct gx_device_lips’ should match type ‘struct gx_device’
#  146 | gx_device_lips far_data gs_lips2p_device =
#      |                         ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:146:25: note: ‘gs_lips2p_device’ was previously declared here
#  309|   device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)
#  311|-> device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)

Error: COMPILER_WARNING (CWE-704): [#def603]
ghostscript-10.05.0/soobj/gconfig.h:312:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips3_device’ does not match original declaration
#  312 | device_(gs_lips3_device)
#      | ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:158:25: note: type ‘struct gx_device_lips’ should match type ‘struct gx_device’
#  158 | gx_device_lips far_data gs_lips3_device =
#      |                         ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:158:25: note: ‘gs_lips3_device’ was previously declared here
#  310|   device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)
#  312|-> device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)

Error: COMPILER_WARNING (CWE-704): [#def604]
ghostscript-10.05.0/soobj/gconfig.h:313:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4_device’ does not match original declaration
#  313 | device_(gs_lips4_device)
#      | ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:182:26: note: type ‘struct gx_device_lips4’ should match type ‘struct gx_device’
#  182 | gx_device_lips4 far_data gs_lips4_device =
#      |                          ^
ghostscript-10.05.0/contrib/lips4/gdevl4r.c:182:26: note: ‘gs_lips4_device’ was previously declared here
#  311|   device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)
#  313|-> device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)

Error: COMPILER_WARNING (CWE-704): [#def605]
ghostscript-10.05.0/soobj/gconfig.h:314:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4v_device’ does not match original declaration
#  314 | device_(gs_lips4v_device)
#      | ^
ghostscript-10.05.0/contrib/lips4/gdevl4v.c:185:27: note: type ‘struct gx_device_lips4v’ should match type ‘struct gx_device’
#  185 | gx_device_lips4v far_data gs_lips4v_device = {
#      |                           ^
ghostscript-10.05.0/contrib/lips4/gdevl4v.c:185:27: note: ‘gs_lips4v_device’ was previously declared here
#  312|   device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)
#  314|-> device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)

Error: COMPILER_WARNING (CWE-704): [#def606]
ghostscript-10.05.0/soobj/gconfig.h:315:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj250_device’ does not match original declaration
#  315 | device_(gs_lj250_device)
#      | ^
ghostscript-10.05.0/devices/gdevpjet.c:48:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   48 | const gx_device_printer far_data gs_lj250_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevpjet.c:48:34: note: ‘gs_lj250_device’ was previously declared here
#  313|   device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)
#  315|-> device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)

Error: COMPILER_WARNING (CWE-704): [#def607]
ghostscript-10.05.0/soobj/gconfig.h:316:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj3100sw_device’ does not match original declaration
#  316 | device_(gs_lj3100sw_device)
#      | ^
ghostscript-10.05.0/devices/gdevl31s.c:92:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   92 | gx_device_printer far_data gs_lj3100sw_device =
#      |                            ^
ghostscript-10.05.0/devices/gdevl31s.c:92:28: note: ‘gs_lj3100sw_device’ was previously declared here
#  314|   device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)
#  316|-> device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)

Error: COMPILER_WARNING (CWE-704): [#def608]
ghostscript-10.05.0/soobj/gconfig.h:317:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dith_device’ does not match original declaration
#  317 | device_(gs_lj4dith_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:629:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  629 | gx_device_cdj far_data gs_lj4dith_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:629:24: note: ‘gs_lj4dith_device’ was previously declared here
#  315|   device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)
#  317|-> device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)

Error: COMPILER_WARNING (CWE-704): [#def609]
ghostscript-10.05.0/soobj/gconfig.h:318:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dithp_device’ does not match original declaration
#  318 | device_(gs_lj4dithp_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:633:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  633 | gx_device_cdj far_data gs_lj4dithp_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:633:24: note: ‘gs_lj4dithp_device’ was previously declared here
#  316|   device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)
#  318|-> device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)
#  320|   device_(gs_lj5mono_device)

Error: COMPILER_WARNING (CWE-704): [#def610]
ghostscript-10.05.0/soobj/gconfig.h:319:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5gray_device’ does not match original declaration
#  319 | device_(gs_lj5gray_device)
#      | ^
ghostscript-10.05.0/devices/gdevlj56.c:73:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   73 | const gx_device_printer gs_lj5gray_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevlj56.c:73:25: note: ‘gs_lj5gray_device’ was previously declared here
#  317|   device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)
#  319|-> device_(gs_lj5gray_device)
#  320|   device_(gs_lj5mono_device)
#  321|   #endif

Error: COMPILER_WARNING (CWE-704): [#def611]
ghostscript-10.05.0/soobj/gconfig.h:320:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5mono_device’ does not match original declaration
#  320 | device_(gs_lj5mono_device)
#      | ^
ghostscript-10.05.0/devices/gdevlj56.c:54:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   54 | const gx_device_printer gs_lj5mono_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevlj56.c:54:25: note: ‘gs_lj5mono_device’ was previously declared here
#  318|   device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)
#  320|-> device_(gs_lj5mono_device)
#  321|   #endif
#  322|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def612]
ghostscript-10.05.0/soobj/gconfig.h:323:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet2p_device’ does not match original declaration
#  323 | device2_(gs_ljet2p_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:192:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  192 | const gx_device_hpjet gs_ljet2p_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:192:23: note: ‘gs_ljet2p_device’ was previously declared here
#  321|   #endif
#  322|   #ifdef device2_
#  323|-> device2_(gs_ljet2p_device)
#  324|   device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)

Error: COMPILER_WARNING (CWE-704): [#def613]
ghostscript-10.05.0/soobj/gconfig.h:324:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3_device’ does not match original declaration
#  324 | device2_(gs_ljet3_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:199:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  199 | const gx_device_hpjet gs_ljet3_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:199:23: note: ‘gs_ljet3_device’ was previously declared here
#  322|   #ifdef device2_
#  323|   device2_(gs_ljet2p_device)
#  324|-> device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)

Error: COMPILER_WARNING (CWE-704): [#def614]
ghostscript-10.05.0/soobj/gconfig.h:325:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3d_device’ does not match original declaration
#  325 | device2_(gs_ljet3d_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:206:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  206 | const gx_device_hpjet gs_ljet3d_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:206:23: note: ‘gs_ljet3d_device’ was previously declared here
#  323|   device2_(gs_ljet2p_device)
#  324|   device2_(gs_ljet3_device)
#  325|-> device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)
#  327|   device2_(gs_ljet4d_device)

Error: COMPILER_WARNING (CWE-704): [#def615]
ghostscript-10.05.0/soobj/gconfig.h:326:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4_device’ does not match original declaration
#  326 | device2_(gs_ljet4_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:213:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  213 | const gx_device_hpjet gs_ljet4_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:213:23: note: ‘gs_ljet4_device’ was previously declared here
#  324|   device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)
#  326|-> device2_(gs_ljet4_device)
#  327|   device2_(gs_ljet4d_device)
#  328|   #endif

Error: COMPILER_WARNING (CWE-704): [#def616]
ghostscript-10.05.0/soobj/gconfig.h:327:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4d_device’ does not match original declaration
#  327 | device2_(gs_ljet4d_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:220:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  220 | const gx_device_hpjet gs_ljet4d_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:220:23: note: ‘gs_ljet4d_device’ was previously declared here
#  325|   device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)
#  327|-> device2_(gs_ljet4d_device)
#  328|   #endif
#  329|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def617]
ghostscript-10.05.0/soobj/gconfig.h:330:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4pjl_device’ does not match original declaration
#  330 | device_(gs_ljet4pjl_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:241:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  241 | const gx_device_printer gs_ljet4pjl_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevdjet.c:241:25: note: ‘gs_ljet4pjl_device’ was previously declared here
#  328|   #endif
#  329|   #ifdef device_
#  330|-> device_(gs_ljet4pjl_device)
#  331|   #endif
#  332|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def618]
ghostscript-10.05.0/soobj/gconfig.h:333:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljetplus_device’ does not match original declaration
#  333 | device2_(gs_ljetplus_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:185:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  185 | const gx_device_hpjet gs_ljetplus_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:185:23: note: ‘gs_ljetplus_device’ was previously declared here
#  331|   #endif
#  332|   #ifdef device2_
#  333|-> device2_(gs_ljetplus_device)
#  334|   #endif
#  335|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def619]
ghostscript-10.05.0/soobj/gconfig.h:336:1: warning[-Wlto-type-mismatch]: type of ‘gs_ln03_device’ does not match original declaration
#  336 | device_(gs_ln03_device)
#      | ^
ghostscript-10.05.0/contrib/gdevln03.c:67:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   67 | gx_device_printer gs_ln03_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevln03.c:67:19: note: ‘gs_ln03_device’ was previously declared here
#  334|   #endif
#  335|   #ifdef device_
#  336|-> device_(gs_ln03_device)
#  337|   device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)

Error: COMPILER_WARNING (CWE-704): [#def620]
ghostscript-10.05.0/soobj/gconfig.h:337:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1800_device’ does not match original declaration
#  337 | device_(gs_lp1800_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:254:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  254 | gx_device_escv far_data gs_lp1800_device  = esmv_device_body("lp1800");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:254:25: note: ‘gs_lp1800_device’ was previously declared here
#  335|   #ifdef device_
#  336|   device_(gs_ln03_device)
#  337|-> device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)

Error: COMPILER_WARNING (CWE-704): [#def621]
ghostscript-10.05.0/soobj/gconfig.h:338:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1900_device’ does not match original declaration
#  338 | device_(gs_lp1900_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:255:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  255 | gx_device_escv far_data gs_lp1900_device  = esmv_device_body("lp1900");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:255:25: note: ‘gs_lp1900_device’ was previously declared here
#  336|   device_(gs_ln03_device)
#  337|   device_(gs_lp1800_device)
#  338|-> device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)

Error: COMPILER_WARNING (CWE-704): [#def622]
ghostscript-10.05.0/soobj/gconfig.h:339:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2000_device’ does not match original declaration
#  339 | device_(gs_lp2000_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevespg.c:66:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   66 | gx_device_lprn far_data gs_lp2000_device =
#      |                         ^
ghostscript-10.05.0/contrib/japanese/gdevespg.c:66:25: note: ‘gs_lp2000_device’ was previously declared here
#  337|   device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)
#  339|-> device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)

Error: COMPILER_WARNING (CWE-704): [#def623]
ghostscript-10.05.0/soobj/gconfig.h:340:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2200_device’ does not match original declaration
#  340 | device_(gs_lp2200_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:256:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  256 | gx_device_escv far_data gs_lp2200_device  = esmv_device_body("lp2200");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:256:25: note: ‘gs_lp2200_device’ was previously declared here
#  338|   device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)
#  340|-> device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)
#  342|   device_(gs_lp2500_device)

Error: COMPILER_WARNING (CWE-704): [#def624]
ghostscript-10.05.0/soobj/gconfig.h:341:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2400_device’ does not match original declaration
#  341 | device_(gs_lp2400_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:257:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  257 | gx_device_escv far_data gs_lp2400_device  = esmv_device_body("lp2400");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:257:25: note: ‘gs_lp2400_device’ was previously declared here
#  339|   device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)
#  341|-> device_(gs_lp2400_device)
#  342|   device_(gs_lp2500_device)
#  343|   #endif

Error: COMPILER_WARNING (CWE-704): [#def625]
ghostscript-10.05.0/soobj/gconfig.h:342:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2500_device’ does not match original declaration
#  342 | device_(gs_lp2500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:258:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  258 | gx_device_escv far_data gs_lp2500_device  = esmv_device_body("lp2500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:258:25: note: ‘gs_lp2500_device’ was previously declared here
#  340|   device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)
#  342|-> device_(gs_lp2500_device)
#  343|   #endif
#  344|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def626]
ghostscript-10.05.0/soobj/gconfig.h:345:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2563_device’ does not match original declaration
#  345 | device2_(gs_lp2563_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:227:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  227 | const gx_device_hpjet gs_lp2563_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:227:23: note: ‘gs_lp2563_device’ was previously declared here
#  343|   #endif
#  344|   #ifdef device2_
#  345|-> device2_(gs_lp2563_device)
#  346|   #endif
#  347|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def627]
ghostscript-10.05.0/soobj/gconfig.h:348:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp3000c_device’ does not match original declaration
#  348 | device_(gs_lp3000c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:287:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  287 | gx_device_escv far_data gs_lp3000c_device = escv_device_body("lp3000c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:287:25: note: ‘gs_lp3000c_device’ was previously declared here
#  346|   #endif
#  347|   #ifdef device_
#  348|-> device_(gs_lp3000c_device)
#  349|   device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)

Error: COMPILER_WARNING (CWE-704): [#def628]
ghostscript-10.05.0/soobj/gconfig.h:349:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7500_device’ does not match original declaration
#  349 | device_(gs_lp7500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:259:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  259 | gx_device_escv far_data gs_lp7500_device  = esmv_device_body("lp7500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:259:25: note: ‘gs_lp7500_device’ was previously declared here
#  347|   #ifdef device_
#  348|   device_(gs_lp3000c_device)
#  349|-> device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)

Error: COMPILER_WARNING (CWE-704): [#def629]
ghostscript-10.05.0/soobj/gconfig.h:350:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7700_device’ does not match original declaration
#  350 | device_(gs_lp7700_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:260:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  260 | gx_device_escv far_data gs_lp7700_device  = esmv_device_body("lp7700");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:260:25: note: ‘gs_lp7700_device’ was previously declared here
#  348|   device_(gs_lp3000c_device)
#  349|   device_(gs_lp7500_device)
#  350|-> device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)

Error: COMPILER_WARNING (CWE-704): [#def630]
ghostscript-10.05.0/soobj/gconfig.h:351:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7900_device’ does not match original declaration
#  351 | device_(gs_lp7900_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:261:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  261 | gx_device_escv far_data gs_lp7900_device  = esmv_device_body("lp7900");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:261:25: note: ‘gs_lp7900_device’ was previously declared here
#  349|   device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)
#  351|-> device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)

Error: COMPILER_WARNING (CWE-704): [#def631]
ghostscript-10.05.0/soobj/gconfig.h:352:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000_device’ does not match original declaration
#  352 | device_(gs_lp8000_device)
#      | ^
ghostscript-10.05.0/devices/gdevlp8k.c:172:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  172 | gx_device_printer far_data gs_lp8000_device =
#      |                            ^
ghostscript-10.05.0/devices/gdevlp8k.c:172:28: note: ‘gs_lp8000_device’ was previously declared here
#  350|   device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)
#  352|-> device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)

Error: COMPILER_WARNING (CWE-704): [#def632]
ghostscript-10.05.0/soobj/gconfig.h:353:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000c_device’ does not match original declaration
#  353 | device_(gs_lp8000c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:288:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  288 | gx_device_escv far_data gs_lp8000c_device = escv_device_body("lp8000c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:288:25: note: ‘gs_lp8000c_device’ was previously declared here
#  351|   device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)
#  353|-> device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)

Error: COMPILER_WARNING (CWE-704): [#def633]
ghostscript-10.05.0/soobj/gconfig.h:354:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8100_device’ does not match original declaration
#  354 | device_(gs_lp8100_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:262:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  262 | gx_device_escv far_data gs_lp8100_device  = esmv_device_body("lp8100");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:262:25: note: ‘gs_lp8100_device’ was previously declared here
#  352|   device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)
#  354|-> device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)

Error: COMPILER_WARNING (CWE-704): [#def634]
ghostscript-10.05.0/soobj/gconfig.h:355:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8200c_device’ does not match original declaration
#  355 | device_(gs_lp8200c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:289:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  289 | gx_device_escv far_data gs_lp8200c_device = escv_device_body("lp8200c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:289:25: note: ‘gs_lp8200c_device’ was previously declared here
#  353|   device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)
#  355|-> device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)

Error: COMPILER_WARNING (CWE-704): [#def635]
ghostscript-10.05.0/soobj/gconfig.h:356:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300c_device’ does not match original declaration
#  356 | device_(gs_lp8300c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:290:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  290 | gx_device_escv far_data gs_lp8300c_device = escv_device_body("lp8300c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:290:25: note: ‘gs_lp8300c_device’ was previously declared here
#  354|   device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)
#  356|-> device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)

Error: COMPILER_WARNING (CWE-704): [#def636]
ghostscript-10.05.0/soobj/gconfig.h:357:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300f_device’ does not match original declaration
#  357 | device_(gs_lp8300f_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:263:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  263 | gx_device_escv far_data gs_lp8300f_device = esmv_device_body("lp8300f");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:263:25: note: ‘gs_lp8300f_device’ was previously declared here
#  355|   device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)
#  357|-> device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)

Error: COMPILER_WARNING (CWE-704): [#def637]
ghostscript-10.05.0/soobj/gconfig.h:358:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8400f_device’ does not match original declaration
#  358 | device_(gs_lp8400f_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:264:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  264 | gx_device_escv far_data gs_lp8400f_device = esmv_device_body("lp8400f");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:264:25: note: ‘gs_lp8400f_device’ was previously declared here
#  356|   device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)
#  358|-> device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)

Error: COMPILER_WARNING (CWE-704): [#def638]
ghostscript-10.05.0/soobj/gconfig.h:359:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8500c_device’ does not match original declaration
#  359 | device_(gs_lp8500c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:291:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  291 | gx_device_escv far_data gs_lp8500c_device = escv_device_body("lp8500c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:291:25: note: ‘gs_lp8500c_device’ was previously declared here
#  357|   device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)
#  359|-> device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)

Error: COMPILER_WARNING (CWE-704): [#def639]
ghostscript-10.05.0/soobj/gconfig.h:360:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600_device’ does not match original declaration
#  360 | device_(gs_lp8600_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:265:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  265 | gx_device_escv far_data gs_lp8600_device  = esmv_device_body("lp8600");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:265:25: note: ‘gs_lp8600_device’ was previously declared here
#  358|   device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)
#  360|-> device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)

Error: COMPILER_WARNING (CWE-704): [#def640]
ghostscript-10.05.0/soobj/gconfig.h:361:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600f_device’ does not match original declaration
#  361 | device_(gs_lp8600f_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:266:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  266 | gx_device_escv far_data gs_lp8600f_device = esmv_device_body("lp8600f");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:266:25: note: ‘gs_lp8600f_device’ was previously declared here
#  359|   device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)
#  361|-> device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)

Error: COMPILER_WARNING (CWE-704): [#def641]
ghostscript-10.05.0/soobj/gconfig.h:362:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8700_device’ does not match original declaration
#  362 | device_(gs_lp8700_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:267:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  267 | gx_device_escv far_data gs_lp8700_device  = esmv_device_body("lp8700");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:267:25: note: ‘gs_lp8700_device’ was previously declared here
#  360|   device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)
#  362|-> device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)

Error: COMPILER_WARNING (CWE-704): [#def642]
ghostscript-10.05.0/soobj/gconfig.h:363:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8800c_device’ does not match original declaration
#  363 | device_(gs_lp8800c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:292:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  292 | gx_device_escv far_data gs_lp8800c_device = escv_device_body("lp8800c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:292:25: note: ‘gs_lp8800c_device’ was previously declared here
#  361|   device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)
#  363|-> device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)

Error: COMPILER_WARNING (CWE-704): [#def643]
ghostscript-10.05.0/soobj/gconfig.h:364:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8900_device’ does not match original declaration
#  364 | device_(gs_lp8900_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:268:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  268 | gx_device_escv far_data gs_lp8900_device  = esmv_device_body("lp8900");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:268:25: note: ‘gs_lp8900_device’ was previously declared here
#  362|   device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)
#  364|-> device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)

Error: COMPILER_WARNING (CWE-704): [#def644]
ghostscript-10.05.0/soobj/gconfig.h:365:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000b_device’ does not match original declaration
#  365 | device_(gs_lp9000b_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:269:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  269 | gx_device_escv far_data gs_lp9000b_device = esmv_device_body("lp9000b");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:269:25: note: ‘gs_lp9000b_device’ was previously declared here
#  363|   device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)
#  365|-> device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)

Error: COMPILER_WARNING (CWE-704): [#def645]
ghostscript-10.05.0/soobj/gconfig.h:366:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000c_device’ does not match original declaration
#  366 | device_(gs_lp9000c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:293:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  293 | gx_device_escv far_data gs_lp9000c_device = escv_device_body("lp9000c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:293:25: note: ‘gs_lp9000c_device’ was previously declared here
#  364|   device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)
#  366|-> device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)

Error: COMPILER_WARNING (CWE-704): [#def646]
ghostscript-10.05.0/soobj/gconfig.h:367:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9100_device’ does not match original declaration
#  367 | device_(gs_lp9100_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:270:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  270 | gx_device_escv far_data gs_lp9100_device  = esmv_device_body("lp9100");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:270:25: note: ‘gs_lp9100_device’ was previously declared here
#  365|   device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)
#  367|-> device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)

Error: COMPILER_WARNING (CWE-704): [#def647]
ghostscript-10.05.0/soobj/gconfig.h:368:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200b_device’ does not match original declaration
#  368 | device_(gs_lp9200b_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:271:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  271 | gx_device_escv far_data gs_lp9200b_device = esmv_device_body("lp9200b");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:271:25: note: ‘gs_lp9200b_device’ was previously declared here
#  366|   device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)
#  368|-> device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)

Error: COMPILER_WARNING (CWE-704): [#def648]
ghostscript-10.05.0/soobj/gconfig.h:369:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200c_device’ does not match original declaration
#  369 | device_(gs_lp9200c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:294:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  294 | gx_device_escv far_data gs_lp9200c_device = escv_device_body("lp9200c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:294:25: note: ‘gs_lp9200c_device’ was previously declared here
#  367|   device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)
#  369|-> device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)

Error: COMPILER_WARNING (CWE-704): [#def649]
ghostscript-10.05.0/soobj/gconfig.h:370:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9300_device’ does not match original declaration
#  370 | device_(gs_lp9300_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:272:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  272 | gx_device_escv far_data gs_lp9300_device  = esmv_device_body("lp9300");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:272:25: note: ‘gs_lp9300_device’ was previously declared here
#  368|   device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)
#  370|-> device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)

Error: COMPILER_WARNING (CWE-704): [#def650]
ghostscript-10.05.0/soobj/gconfig.h:371:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9400_device’ does not match original declaration
#  371 | device_(gs_lp9400_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:273:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  273 | gx_device_escv far_data gs_lp9400_device  = esmv_device_body("lp9400");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:273:25: note: ‘gs_lp9400_device’ was previously declared here
#  369|   device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)
#  371|-> device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)

Error: COMPILER_WARNING (CWE-704): [#def651]
ghostscript-10.05.0/soobj/gconfig.h:372:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9500c_device’ does not match original declaration
#  372 | device_(gs_lp9500c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:295:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  295 | gx_device_escv far_data gs_lp9500c_device = escv_device_body("lp9500c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:295:25: note: ‘gs_lp9500c_device’ was previously declared here
#  370|   device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)
#  372|-> device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)

Error: COMPILER_WARNING (CWE-704): [#def652]
ghostscript-10.05.0/soobj/gconfig.h:373:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600_device’ does not match original declaration
#  373 | device_(gs_lp9600_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:274:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  274 | gx_device_escv far_data gs_lp9600_device  = esmv_device_body("lp9600");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:274:25: note: ‘gs_lp9600_device’ was previously declared here
#  371|   device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)
#  373|-> device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)

Error: COMPILER_WARNING (CWE-704): [#def653]
ghostscript-10.05.0/soobj/gconfig.h:374:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600s_device’ does not match original declaration
#  374 | device_(gs_lp9600s_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:275:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  275 | gx_device_escv far_data gs_lp9600s_device = esmv_device_body("lp9600s");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:275:25: note: ‘gs_lp9600s_device’ was previously declared here
#  372|   device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)
#  374|-> device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)

Error: COMPILER_WARNING (CWE-704): [#def654]
ghostscript-10.05.0/soobj/gconfig.h:375:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9800c_device’ does not match original declaration
#  375 | device_(gs_lp9800c_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:296:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  296 | gx_device_escv far_data gs_lp9800c_device = escv_device_body("lp9800c");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:296:25: note: ‘gs_lp9800c_device’ was previously declared here
#  373|   device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)
#  375|-> device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)

Error: COMPILER_WARNING (CWE-704): [#def655]
ghostscript-10.05.0/soobj/gconfig.h:376:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps4500_device’ does not match original declaration
#  376 | device_(gs_lps4500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:276:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  276 | gx_device_escv far_data gs_lps4500_device = esmv_device_body("lps4500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:276:25: note: ‘gs_lps4500_device’ was previously declared here
#  374|   device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)
#  376|-> device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)

Error: COMPILER_WARNING (CWE-704): [#def656]
ghostscript-10.05.0/soobj/gconfig.h:377:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps6500_device’ does not match original declaration
#  377 | device_(gs_lps6500_device)
#      | ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:297:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  297 | gx_device_escv far_data gs_lps6500_device = escv_device_body("lps6500");
#      |                         ^
ghostscript-10.05.0/contrib/eplaser/gdevescv.c:297:25: note: ‘gs_lps6500_device’ was previously declared here
#  375|   device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)
#  377|-> device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)

Error: COMPILER_WARNING (CWE-704): [#def657]
ghostscript-10.05.0/soobj/gconfig.h:378:1: warning[-Wlto-type-mismatch]: type of ‘gs_lq850_device’ does not match original declaration
#  378 | device_(gs_lq850_device)
#      | ^
ghostscript-10.05.0/devices/gdevdm24.c:38:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   38 | const gx_device_printer gs_lq850_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevdm24.c:38:25: note: ‘gs_lq850_device’ was previously declared here
#  376|   device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)
#  378|-> device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)

Error: COMPILER_WARNING (CWE-704): [#def658]
ghostscript-10.05.0/soobj/gconfig.h:379:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm3200_device’ does not match original declaration
#  379 | device_(gs_lxm3200_device)
#      | ^
ghostscript-10.05.0/contrib/gdevlx32.c:318:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  318 | lxm_device far_data gs_lxm3200_device =
#      |                     ^
ghostscript-10.05.0/contrib/gdevlx32.c:318:21: note: ‘gs_lxm3200_device’ was previously declared here
#  377|   device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)
#  379|-> device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)

Error: COMPILER_WARNING (CWE-704): [#def659]
ghostscript-10.05.0/soobj/gconfig.h:380:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm5700m_device’ does not match original declaration
#  380 | device_(gs_lxm5700m_device)
#      | ^
ghostscript-10.05.0/devices/gdevlxm.c:62:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#   62 | lxm_device far_data gs_lxm5700m_device = {
#      |                     ^
ghostscript-10.05.0/devices/gdevlxm.c:62:21: note: ‘gs_lxm5700m_device’ was previously declared here
#  378|   device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)
#  380|-> device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)

Error: COMPILER_WARNING (CWE-704): [#def660]
ghostscript-10.05.0/soobj/gconfig.h:381:1: warning[-Wlto-type-mismatch]: type of ‘gs_m8510_device’ does not match original declaration
#  381 | device_(gs_m8510_device)
#      | ^
ghostscript-10.05.0/devices/gdev8510.c:26:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   26 | const gx_device_printer far_data gs_m8510_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdev8510.c:26:34: note: ‘gs_m8510_device’ was previously declared here
#  379|   device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)
#  381|-> device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)

Error: COMPILER_WARNING (CWE-704): [#def661]
ghostscript-10.05.0/soobj/gconfig.h:382:1: warning[-Wlto-type-mismatch]: type of ‘gs_md1xMono_device’ does not match original declaration
#  382 | device_(gs_md1xMono_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:86:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   86 | gx_device_printer far_data gs_md1xMono_device =
#      |                            ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:86:28: note: ‘gs_md1xMono_device’ was previously declared here
#  380|   device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)
#  382|-> device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)

Error: COMPILER_WARNING (CWE-704): [#def662]
ghostscript-10.05.0/soobj/gconfig.h:383:1: warning[-Wlto-type-mismatch]: type of ‘gs_md2k_device’ does not match original declaration
#  383 | device_(gs_md2k_device)
#      | ^
ghostscript-10.05.0/contrib/gdevmd2k.c:95:25: note: type ‘struct gx_device_alps’ should match type ‘struct gx_device’
#   95 | gx_device_alps far_data gs_md2k_device = alps_device("md2k", md2k_print_page);
#      |                         ^
ghostscript-10.05.0/contrib/gdevmd2k.c:95:25: note: ‘gs_md2k_device’ was previously declared here
#  381|   device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)
#  383|-> device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)

Error: COMPILER_WARNING (CWE-704): [#def663]
ghostscript-10.05.0/soobj/gconfig.h:384:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Eco_device’ does not match original declaration
#  384 | device_(gs_md50Eco_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:77:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   77 | gx_device_printer far_data gs_md50Eco_device =
#      |                            ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:77:28: note: ‘gs_md50Eco_device’ was previously declared here
#  382|   device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)
#  384|-> device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)

Error: COMPILER_WARNING (CWE-704): [#def664]
ghostscript-10.05.0/soobj/gconfig.h:385:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Mono_device’ does not match original declaration
#  385 | device_(gs_md50Mono_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:68:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   68 | gx_device_printer far_data gs_md50Mono_device =
#      |                            ^
ghostscript-10.05.0/contrib/japanese/gdevalps.c:68:28: note: ‘gs_md50Mono_device’ was previously declared here
#  383|   device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)
#  385|-> device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)

Error: COMPILER_WARNING (CWE-704): [#def665]
ghostscript-10.05.0/soobj/gconfig.h:386:1: warning[-Wlto-type-mismatch]: type of ‘gs_md5k_device’ does not match original declaration
#  386 | device_(gs_md5k_device)
#      | ^
ghostscript-10.05.0/contrib/gdevmd2k.c:96:25: note: type ‘struct gx_device_alps’ should match type ‘struct gx_device’
#   96 | gx_device_alps far_data gs_md5k_device = alps_device("md5k", md5k_print_page);
#      |                         ^
ghostscript-10.05.0/contrib/gdevmd2k.c:96:25: note: ‘gs_md5k_device’ was previously declared here
#  384|   device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)
#  386|-> device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)

Error: COMPILER_WARNING (CWE-704): [#def666]
ghostscript-10.05.0/soobj/gconfig.h:387:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj500c_device’ does not match original declaration
#  387 | device_(gs_mj500c_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:265:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  265 | gx_device_mj far_data gs_mj500c_device =
#      |                       ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:265:23: note: ‘gs_mj500c_device’ was previously declared here
#  385|   device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)
#  387|-> device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)

Error: COMPILER_WARNING (CWE-704): [#def667]
ghostscript-10.05.0/soobj/gconfig.h:388:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj6000c_device’ does not match original declaration
#  388 | device_(gs_mj6000c_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:270:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  270 | gx_device_mj far_data gs_mj6000c_device =
#      |                       ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:270:23: note: ‘gs_mj6000c_device’ was previously declared here
#  386|   device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)
#  388|-> device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)

Error: COMPILER_WARNING (CWE-704): [#def668]
ghostscript-10.05.0/soobj/gconfig.h:389:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj700v2c_device’ does not match original declaration
#  389 | device_(gs_mj700v2c_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:259:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  259 | gx_device_mj far_data gs_mj700v2c_device =
#      |                       ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:259:23: note: ‘gs_mj700v2c_device’ was previously declared here
#  387|   device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)
#  389|-> device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)

Error: COMPILER_WARNING (CWE-704): [#def669]
ghostscript-10.05.0/soobj/gconfig.h:390:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj8000c_device’ does not match original declaration
#  390 | device_(gs_mj8000c_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:275:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  275 | gx_device_mj far_data gs_mj8000c_device =
#      |                       ^
ghostscript-10.05.0/contrib/japanese/gdevmjc.c:275:23: note: ‘gs_mj8000c_device’ was previously declared here
#  388|   device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)
#  390|-> device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)

Error: COMPILER_WARNING (CWE-704): [#def670]
ghostscript-10.05.0/soobj/gconfig.h:391:1: warning[-Wlto-type-mismatch]: type of ‘gs_ml600_device’ does not match original declaration
#  391 | device_(gs_ml600_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevml6.c:44:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   44 | gx_device_printer gs_ml600_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevml6.c:44:19: note: ‘gs_ml600_device’ was previously declared here
#  389|   device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)
#  391|-> device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)
#  393|   device_(gs_npdl_device)

Error: COMPILER_WARNING (CWE-704): [#def671]
ghostscript-10.05.0/soobj/gconfig.h:392:1: warning[-Wlto-type-mismatch]: type of ‘gs_necp6_device’ does not match original declaration
#  392 | device_(gs_necp6_device)
#      | ^
ghostscript-10.05.0/devices/gdevdm24.c:27:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   27 | const gx_device_printer far_data gs_necp6_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevdm24.c:27:34: note: ‘gs_necp6_device’ was previously declared here
#  390|   device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)
#  392|-> device_(gs_necp6_device)
#  393|   device_(gs_npdl_device)
#  394|   #endif

Error: COMPILER_WARNING (CWE-704): [#def672]
ghostscript-10.05.0/soobj/gconfig.h:393:1: warning[-Wlto-type-mismatch]: type of ‘gs_npdl_device’ does not match original declaration
#  393 | device_(gs_npdl_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevnpdl.c:132:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#  132 | gx_device_lprn far_data gs_npdl_device =
#      |                         ^
ghostscript-10.05.0/contrib/japanese/gdevnpdl.c:132:25: note: ‘gs_npdl_device’ was previously declared here
#  391|   device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)
#  393|-> device_(gs_npdl_device)
#  394|   #endif
#  395|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def673]
ghostscript-10.05.0/soobj/gconfig.h:396:1: warning[-Wlto-type-mismatch]: type of ‘gs_oce9050_device’ does not match original declaration
#  396 | device2_(gs_oce9050_device)
#      | ^
ghostscript-10.05.0/devices/gdevdjet.c:234:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  234 | const gx_device_hpjet gs_oce9050_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevdjet.c:234:23: note: ‘gs_oce9050_device’ was previously declared here
#  394|   #endif
#  395|   #ifdef device2_
#  396|-> device2_(gs_oce9050_device)
#  397|   #endif
#  398|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def674]
ghostscript-10.05.0/soobj/gconfig.h:399:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki182_device’ does not match original declaration
#  399 | device_(gs_oki182_device)
#      | ^
ghostscript-10.05.0/devices/gdevo182.c:67:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   67 | const gx_device_printer far_data gs_oki182_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevo182.c:67:34: note: ‘gs_oki182_device’ was previously declared here
#  397|   #endif
#  398|   #ifdef device_
#  399|-> device_(gs_oki182_device)
#  400|   device_(gs_oki4w_device)
#  401|   device_(gs_okiibm_device)

Error: COMPILER_WARNING (CWE-704): [#def675]
ghostscript-10.05.0/soobj/gconfig.h:400:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki4w_device’ does not match original declaration
#  400 | device_(gs_oki4w_device)
#      | ^
ghostscript-10.05.0/contrib/gdevop4w.c:106:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  106 | gx_device_printer far_data gs_oki4w_device =
#      |                            ^
ghostscript-10.05.0/contrib/gdevop4w.c:106:28: note: ‘gs_oki4w_device’ was previously declared here
#  398|   #ifdef device_
#  399|   device_(gs_oki182_device)
#  400|-> device_(gs_oki4w_device)
#  401|   device_(gs_okiibm_device)
#  402|   device_(gs_oprp_device)

Error: COMPILER_WARNING (CWE-704): [#def676]
ghostscript-10.05.0/soobj/gconfig.h:401:1: warning[-Wlto-type-mismatch]: type of ‘gs_okiibm_device’ does not match original declaration
#  401 | device_(gs_okiibm_device)
#      | ^
ghostscript-10.05.0/devices/gdevokii.c:77:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   77 | const gx_device_printer far_data gs_okiibm_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevokii.c:77:34: note: ‘gs_okiibm_device’ was previously declared here
#  399|   device_(gs_oki182_device)
#  400|   device_(gs_oki4w_device)
#  401|-> device_(gs_okiibm_device)
#  402|   device_(gs_oprp_device)
#  403|   device_(gs_opvp_device)

Error: COMPILER_WARNING (CWE-704): [#def677]
ghostscript-10.05.0/soobj/gconfig.h:402:1: warning[-Wlto-type-mismatch]: type of ‘gs_oprp_device’ does not match original declaration
#  402 | device_(gs_oprp_device)
#      | ^
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:503:22: note: type ‘const struct gx_device_oprp’ should match type ‘struct gx_device’
#  503 | const gx_device_oprp gs_oprp_device =
#      |                      ^
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:503:22: note: ‘gs_oprp_device’ was previously declared here
#  400|   device_(gs_oki4w_device)
#  401|   device_(gs_okiibm_device)
#  402|-> device_(gs_oprp_device)
#  403|   device_(gs_opvp_device)
#  404|   device_(gs_paintjet_device)

Error: COMPILER_WARNING (CWE-704): [#def678]
ghostscript-10.05.0/soobj/gconfig.h:403:1: warning[-Wlto-type-mismatch]: type of ‘gs_opvp_device’ does not match original declaration
#  403 | device_(gs_opvp_device)
#      | ^
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:458:33: note: type ‘const struct gx_device_opvp’ should match type ‘struct gx_device’
#  458 | const   gx_device_opvp          gs_opvp_device =
#      |                                 ^
ghostscript-10.05.0/contrib/opvp/gdevopvp.c:458:33: note: ‘gs_opvp_device’ was previously declared here
#  401|   device_(gs_okiibm_device)
#  402|   device_(gs_oprp_device)
#  403|-> device_(gs_opvp_device)
#  404|   device_(gs_paintjet_device)
#  405|   device_(gs_pcl3_device)

Error: COMPILER_WARNING (CWE-704): [#def679]
ghostscript-10.05.0/soobj/gconfig.h:404:1: warning[-Wlto-type-mismatch]: type of ‘gs_paintjet_device’ does not match original declaration
#  404 | device_(gs_paintjet_device)
#      | ^
ghostscript-10.05.0/devices/gdevpjet.c:55:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   55 | const gx_device_printer far_data gs_paintjet_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevpjet.c:55:34: note: ‘gs_paintjet_device’ was previously declared here
#  402|   device_(gs_oprp_device)
#  403|   device_(gs_opvp_device)
#  404|-> device_(gs_paintjet_device)
#  405|   device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)

Error: COMPILER_WARNING (CWE-704): [#def680]
ghostscript-10.05.0/soobj/gconfig.h:405:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcl3_device’ does not match original declaration
#  405 | device_(gs_pcl3_device)
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  162 | pcl3_device_instance(pcl3, pcl3_generic_new);
#      | ^
ghostscript-10.05.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: ‘gs_pcl3_device’ was previously declared here
#  403|   device_(gs_opvp_device)
#  404|   device_(gs_paintjet_device)
#  405|-> device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)

Error: COMPILER_WARNING (CWE-704): [#def681]
ghostscript-10.05.0/soobj/gconfig.h:406:1: warning[-Wlto-type-mismatch]: type of ‘gs_photoex_device’ does not match original declaration
#  406 | device_(gs_photoex_device)
#      | ^
ghostscript-10.05.0/devices/gdevphex.c:1030:28: note: type ‘struct gx_photoex_device’ should match type ‘struct gx_device’
# 1030 | gx_photoex_device far_data gs_photoex_device = {
#      |                            ^
ghostscript-10.05.0/devices/gdevphex.c:1030:28: note: ‘gs_photoex_device’ was previously declared here
#  404|   device_(gs_paintjet_device)
#  405|   device_(gs_pcl3_device)
#  406|-> device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)
#  408|   device_(gs_pj_device)

Error: COMPILER_WARNING (CWE-704): [#def682]
ghostscript-10.05.0/soobj/gconfig.h:407:1: warning[-Wlto-type-mismatch]: type of ‘gs_picty180_device’ does not match original declaration
#  407 | device_(gs_picty180_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:613:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  613 | gx_device_cdj far_data gs_picty180_device =
#      |                        ^
ghostscript-10.05.0/devices/gdevcdj.c:613:24: note: ‘gs_picty180_device’ was previously declared here
#  405|   device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)
#  407|-> device_(gs_picty180_device)
#  408|   device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)

Error: COMPILER_WARNING (CWE-704): [#def683]
ghostscript-10.05.0/soobj/gconfig.h:408:1: warning[-Wlto-type-mismatch]: type of ‘gs_pj_device’ does not match original declaration
#  408 | device_(gs_pj_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:637:23: note: type ‘struct gx_device_pj’ should match type ‘struct gx_device’
#  637 | gx_device_pj far_data gs_pj_device =
#      |                       ^
ghostscript-10.05.0/devices/gdevcdj.c:637:23: note: ‘gs_pj_device’ was previously declared here
#  406|   device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)
#  408|-> device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)

Error: COMPILER_WARNING (CWE-704): [#def684]
ghostscript-10.05.0/soobj/gconfig.h:409:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjetxl_device’ does not match original declaration
#  409 | device_(gs_pjetxl_device)
#      | ^
ghostscript-10.05.0/devices/gdevpjet.c:63:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   63 | const gx_device_printer far_data gs_pjetxl_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevpjet.c:63:34: note: ‘gs_pjetxl_device’ was previously declared here
#  407|   device_(gs_picty180_device)
#  408|   device_(gs_pj_device)
#  409|-> device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)

Error: COMPILER_WARNING (CWE-704): [#def685]
ghostscript-10.05.0/soobj/gconfig.h:410:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl_device’ does not match original declaration
#  410 | device_(gs_pjxl_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:641:25: note: type ‘struct gx_device_pjxl’ should match type ‘struct gx_device’
#  641 | gx_device_pjxl far_data gs_pjxl_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevcdj.c:641:25: note: ‘gs_pjxl_device’ was previously declared here
#  408|   device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)
#  410|-> device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)

Error: COMPILER_WARNING (CWE-704): [#def686]
ghostscript-10.05.0/soobj/gconfig.h:411:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl300_device’ does not match original declaration
#  411 | device_(gs_pjxl300_device)
#      | ^
ghostscript-10.05.0/devices/gdevcdj.c:645:25: note: type ‘struct gx_device_pjxl’ should match type ‘struct gx_device’
#  645 | gx_device_pjxl far_data gs_pjxl300_device =
#      |                         ^
ghostscript-10.05.0/devices/gdevcdj.c:645:25: note: ‘gs_pjxl300_device’ was previously declared here
#  409|   device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)
#  411|-> device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)

Error: COMPILER_WARNING (CWE-704): [#def687]
ghostscript-10.05.0/soobj/gconfig.h:412:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_device’ does not match original declaration
#  412 | device_(gs_pr1000_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:52:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   52 | gx_device_printer gs_pr1000_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:52:19: note: ‘gs_pr1000_device’ was previously declared here
#  410|   device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)
#  412|-> device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)

Error: COMPILER_WARNING (CWE-704): [#def688]
ghostscript-10.05.0/soobj/gconfig.h:413:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_4_device’ does not match original declaration
#  413 | device_(gs_pr1000_4_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:70:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   70 | gx_device_printer gs_pr1000_4_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:70:19: note: ‘gs_pr1000_4_device’ was previously declared here
#  411|   device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)
#  413|-> device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)
#  415|   device_(gs_pr201_device)

Error: COMPILER_WARNING (CWE-704): [#def689]
ghostscript-10.05.0/soobj/gconfig.h:414:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr150_device’ does not match original declaration
#  414 | device_(gs_pr150_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:61:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   61 | gx_device_printer gs_pr150_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:61:19: note: ‘gs_pr150_device’ was previously declared here
#  412|   device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)
#  414|-> device_(gs_pr150_device)
#  415|   device_(gs_pr201_device)
#  416|   #endif

Error: COMPILER_WARNING (CWE-704): [#def690]
ghostscript-10.05.0/soobj/gconfig.h:415:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr201_device’ does not match original declaration
#  415 | device_(gs_pr201_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:43:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   43 | gx_device_printer gs_pr201_device =
#      |                   ^
ghostscript-10.05.0/contrib/japanese/gdevp201.c:43:19: note: ‘gs_pr201_device’ was previously declared here
#  413|   device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)
#  415|-> device_(gs_pr201_device)
#  416|   #endif
#  417|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def691]
ghostscript-10.05.0/soobj/gconfig.h:418:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlcolor_device’ does not match original declaration
#  418 | device2_(gs_pxlcolor_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevpx.c:200:23: note: type ‘const struct gx_device_pclxl’ should match type ‘const struct gx_device’
#  200 | const gx_device_pclxl gs_pxlcolor_device = {
#      |                       ^
ghostscript-10.05.0/devices/vector/gdevpx.c:200:23: note: ‘gs_pxlcolor_device’ was previously declared here
#  416|   #endif
#  417|   #ifdef device2_
#  418|-> device2_(gs_pxlcolor_device)
#  419|   device2_(gs_pxlmono_device)
#  420|   #endif

Error: COMPILER_WARNING (CWE-704): [#def692]
ghostscript-10.05.0/soobj/gconfig.h:419:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlmono_device’ does not match original declaration
#  419 | device2_(gs_pxlmono_device)
#      | ^
ghostscript-10.05.0/devices/vector/gdevpx.c:196:23: note: type ‘const struct gx_device_pclxl’ should match type ‘const struct gx_device’
#  196 | const gx_device_pclxl gs_pxlmono_device = {
#      |                       ^
ghostscript-10.05.0/devices/vector/gdevpx.c:196:23: note: ‘gs_pxlmono_device’ was previously declared here
#  417|   #ifdef device2_
#  418|   device2_(gs_pxlcolor_device)
#  419|-> device2_(gs_pxlmono_device)
#  420|   #endif
#  421|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def693]
ghostscript-10.05.0/soobj/gconfig.h:422:1: warning[-Wlto-type-mismatch]: type of ‘gs_r4081_device’ does not match original declaration
#  422 | device_(gs_r4081_device)
#      | ^
ghostscript-10.05.0/devices/gdev4081.c:24:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   24 | const gx_device_printer far_data gs_r4081_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdev4081.c:24:34: note: ‘gs_r4081_device’ was previously declared here
#  420|   #endif
#  421|   #ifdef device_
#  422|-> device_(gs_r4081_device)
#  423|   device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)

Error: COMPILER_WARNING (CWE-704): [#def694]
ghostscript-10.05.0/soobj/gconfig.h:423:1: warning[-Wlto-type-mismatch]: type of ‘gs_rinkj_device’ does not match original declaration
#  423 | device_(gs_rinkj_device)
#      | ^
ghostscript-10.05.0/devices/gdevrinkj.c:145:20: note: type ‘const struct rinkj_device’ should match type ‘struct gx_device’
#  145 | const rinkj_device gs_rinkj_device =
#      |                    ^
ghostscript-10.05.0/devices/gdevrinkj.c:145:20: note: ‘gs_rinkj_device’ was previously declared here
#  421|   #ifdef device_
#  422|   device_(gs_r4081_device)
#  423|-> device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)

Error: COMPILER_WARNING (CWE-704): [#def695]
ghostscript-10.05.0/soobj/gconfig.h:424:1: warning[-Wlto-type-mismatch]: type of ‘gs_rpdl_device’ does not match original declaration
#  424 | device_(gs_rpdl_device)
#      | ^
ghostscript-10.05.0/contrib/japanese/gdevrpdl.c:48:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   48 | gx_device_lprn far_data gs_rpdl_device =
#      |                         ^
ghostscript-10.05.0/contrib/japanese/gdevrpdl.c:48:25: note: ‘gs_rpdl_device’ was previously declared here
#  422|   device_(gs_r4081_device)
#  423|   device_(gs_rinkj_device)
#  424|-> device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)

Error: COMPILER_WARNING (CWE-704): [#def696]
ghostscript-10.05.0/soobj/gconfig.h:425:1: warning[-Wlto-type-mismatch]: type of ‘gs_samsunggdi_device’ does not match original declaration
#  425 | device_(gs_samsunggdi_device)
#      | ^
ghostscript-10.05.0/contrib/gdevgdi.c:114:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  114 | gx_device_printer far_data gs_samsunggdi_device =
#      |                            ^
ghostscript-10.05.0/contrib/gdevgdi.c:114:28: note: ‘gs_samsunggdi_device’ was previously declared here
#  423|   device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)
#  425|-> device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)
#  427|   device_(gs_st800_device)

Error: COMPILER_WARNING (CWE-704): [#def697]
ghostscript-10.05.0/soobj/gconfig.h:426:1: warning[-Wlto-type-mismatch]: type of ‘gs_sj48_device’ does not match original declaration
#  426 | device_(gs_sj48_device)
#      | ^
ghostscript-10.05.0/devices/gdevsj48.c:43:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   43 | gx_device_printer far_data gs_sj48_device =
#      |                            ^
ghostscript-10.05.0/devices/gdevsj48.c:43:28: note: ‘gs_sj48_device’ was previously declared here
#  424|   device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)
#  426|-> device_(gs_sj48_device)
#  427|   device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)

Error: COMPILER_WARNING (CWE-704): [#def698]
ghostscript-10.05.0/soobj/gconfig.h:427:1: warning[-Wlto-type-mismatch]: type of ‘gs_st800_device’ does not match original declaration
#  427 | device_(gs_st800_device)
#      | ^
ghostscript-10.05.0/devices/gdevescp.c:89:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   89 | const gx_device_printer far_data gs_st800_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevescp.c:89:34: note: ‘gs_st800_device’ was previously declared here
#  425|   device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)
#  427|-> device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)

Error: COMPILER_WARNING (CWE-704): [#def699]
ghostscript-10.05.0/soobj/gconfig.h:428:1: warning[-Wlto-type-mismatch]: type of ‘gs_stcolor_device’ does not match original declaration
#  428 | device_(gs_stcolor_device)
#      | ^
ghostscript-10.05.0/devices/gdevstc.c:163:25: note: type ‘struct stcolor_device’ should match type ‘struct gx_device’
#  163 | stcolor_device far_data gs_stcolor_device = {
#      |                         ^
ghostscript-10.05.0/devices/gdevstc.c:163:25: note: ‘gs_stcolor_device’ was previously declared here
#  426|   device_(gs_sj48_device)
#  427|   device_(gs_st800_device)
#  428|-> device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)

Error: COMPILER_WARNING (CWE-704): [#def700]
ghostscript-10.05.0/soobj/gconfig.h:429:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d2_device’ does not match original declaration
#  429 | device_(gs_t4693d2_device)
#      | ^
ghostscript-10.05.0/devices/gdev4693.c:44:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   44 | const gx_device_printer gs_t4693d2_device = t4693d_prn_device("t4693d2",8, 3);
#      |                         ^
ghostscript-10.05.0/devices/gdev4693.c:44:25: note: ‘gs_t4693d2_device’ was previously declared here
#  427|   device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)
#  429|-> device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)

Error: COMPILER_WARNING (CWE-704): [#def701]
ghostscript-10.05.0/soobj/gconfig.h:430:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d4_device’ does not match original declaration
#  430 | device_(gs_t4693d4_device)
#      | ^
ghostscript-10.05.0/devices/gdev4693.c:45:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   45 | const gx_device_printer gs_t4693d4_device = t4693d_prn_device("t4693d4",16, 15);
#      |                         ^
ghostscript-10.05.0/devices/gdev4693.c:45:25: note: ‘gs_t4693d4_device’ was previously declared here
#  428|   device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)
#  430|-> device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)

Error: COMPILER_WARNING (CWE-704): [#def702]
ghostscript-10.05.0/soobj/gconfig.h:431:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d8_device’ does not match original declaration
#  431 | device_(gs_t4693d8_device)
#      | ^
ghostscript-10.05.0/devices/gdev4693.c:46:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   46 | const gx_device_printer gs_t4693d8_device = t4693d_prn_device("t4693d8",24, 255);
#      |                         ^
ghostscript-10.05.0/devices/gdev4693.c:46:25: note: ‘gs_t4693d8_device’ was previously declared here
#  429|   device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)
#  431|-> device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)

Error: COMPILER_WARNING (CWE-704): [#def703]
ghostscript-10.05.0/soobj/gconfig.h:432:1: warning[-Wlto-type-mismatch]: type of ‘gs_tek4696_device’ does not match original declaration
#  432 | device_(gs_tek4696_device)
#      | ^
ghostscript-10.05.0/devices/gdevtknk.c:52:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   52 | const gx_device_printer far_data gs_tek4696_device =
#      |                                  ^
ghostscript-10.05.0/devices/gdevtknk.c:52:34: note: ‘gs_tek4696_device’ was previously declared here
#  430|   device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)
#  432|-> device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)
#  434|   device_(gs_xes_device)

Error: COMPILER_WARNING (CWE-704): [#def704]
ghostscript-10.05.0/soobj/gconfig.h:433:1: warning[-Wlto-type-mismatch]: type of ‘gs_uniprint_device’ does not match original declaration
#  433 | device_(gs_uniprint_device)
#      | ^
ghostscript-10.05.0/devices/gdevupd.c:248:21: note: type ‘struct upd_device’ should match type ‘struct gx_device’
#  248 | upd_device far_data gs_uniprint_device = { /** */
#      |                     ^
ghostscript-10.05.0/devices/gdevupd.c:248:21: note: ‘gs_uniprint_device’ was previously declared here
#  431|   device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)
#  433|-> device_(gs_uniprint_device)
#  434|   device_(gs_xes_device)
#  435|   #endif

Error: COMPILER_WARNING (CWE-704): [#def705]
ghostscript-10.05.0/soobj/gconfig.h:434:1: warning[-Wlto-type-mismatch]: type of ‘gs_xes_device’ does not match original declaration
#  434 | device_(gs_xes_device)
#      | ^
ghostscript-10.05.0/contrib/gdevxes.c:69:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   69 | gx_device_printer gs_xes_device =
#      |                   ^
ghostscript-10.05.0/contrib/gdevxes.c:69:19: note: ‘gs_xes_device’ was previously declared here
#  432|   device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)
#  434|-> device_(gs_xes_device)
#  435|   #endif
#  436|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def706]
ghostscript-10.05.0/soobj/gconfig.h:437:1: warning[-Wlto-type-mismatch]: type of ‘gs_appleraster_device’ does not match original declaration
#  437 | device2_(gs_appleraster_device)
#      | ^
ghostscript-10.05.0/cups/gdevcups.c:486:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  486 | gx_device_cups  gs_appleraster_device = { gs_xxx_device("appleraster",
#      |                 ^
ghostscript-10.05.0/cups/gdevcups.c:486:17: note: ‘gs_appleraster_device’ was previously declared here
#  435|   #endif
#  436|   #ifdef device2_
#  437|-> device2_(gs_appleraster_device)
#  438|   device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)

Error: COMPILER_WARNING (CWE-704): [#def707]
ghostscript-10.05.0/soobj/gconfig.h:438:1: warning[-Wlto-type-mismatch]: type of ‘gs_cups_device’ does not match original declaration
#  438 | device2_(gs_cups_device)
#      | ^
ghostscript-10.05.0/cups/gdevcups.c:482:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  482 | gx_device_cups  gs_cups_device = { gs_xxx_device("cups", "") };
#      |                 ^
ghostscript-10.05.0/cups/gdevcups.c:482:17: note: ‘gs_cups_device’ was previously declared here
#  436|   #ifdef device2_
#  437|   device2_(gs_appleraster_device)
#  438|-> device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)
#  440|   device2_(gs_urf_device)

Error: COMPILER_WARNING (CWE-704): [#def708]
ghostscript-10.05.0/soobj/gconfig.h:439:1: warning[-Wlto-type-mismatch]: type of ‘gs_pwgraster_device’ does not match original declaration
#  439 | device2_(gs_pwgraster_device)
#      | ^
ghostscript-10.05.0/cups/gdevcups.c:483:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  483 | gx_device_cups  gs_pwgraster_device = { gs_xxx_device("pwgraster",
#      |                 ^
ghostscript-10.05.0/cups/gdevcups.c:483:17: note: ‘gs_pwgraster_device’ was previously declared here
#  437|   device2_(gs_appleraster_device)
#  438|   device2_(gs_cups_device)
#  439|-> device2_(gs_pwgraster_device)
#  440|   device2_(gs_urf_device)
#  441|   #endif

Error: COMPILER_WARNING (CWE-704): [#def709]
ghostscript-10.05.0/soobj/gconfig.h:440:1: warning[-Wlto-type-mismatch]: type of ‘gs_urf_device’ does not match original declaration
#  440 | device2_(gs_urf_device)
#      | ^
ghostscript-10.05.0/cups/gdevcups.c:488:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  488 | gx_device_cups  gs_urf_device = { gs_xxx_device("urf",
#      |                 ^
ghostscript-10.05.0/cups/gdevcups.c:488:17: note: ‘gs_urf_device’ was previously declared here
#  438|   device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)
#  440|-> device2_(gs_urf_device)
#  441|   #endif
#  442|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def710]
ghostscript-10.05.0/soobj/gconfig.h:443:1: warning[-Wlto-type-mismatch]: type of ‘gs_ijs_device’ does not match original declaration
#  443 | device_(gs_ijs_device)
#      | ^
ghostscript-10.05.0/devices/gdevijs.c:144:15: note: type ‘struct gx_device_ijs’ should match type ‘struct gx_device’
#  144 | gx_device_ijs gs_ijs_device =
#      |               ^
ghostscript-10.05.0/devices/gdevijs.c:144:15: note: ‘gs_ijs_device’ was previously declared here
#  441|   #endif
#  442|   #ifdef device_
#  443|-> device_(gs_ijs_device)
#  444|   #endif
#  445|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def711]
ghostscript-10.05.0/soobj/gconfig.h:446:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16_device’ does not match original declaration
#  446 | device2_(gs_png16_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:120:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  120 | const gx_device_png gs_png16_device = {
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:120:21: note: ‘gs_png16_device’ was previously declared here
#  444|   #endif
#  445|   #ifdef device2_
#  446|-> device2_(gs_png16_device)
#  447|   device2_(gs_png16m_device)
#  448|   device2_(gs_png16malpha_device)

Error: COMPILER_WARNING (CWE-704): [#def712]
ghostscript-10.05.0/soobj/gconfig.h:447:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16m_device’ does not match original declaration
#  447 | device2_(gs_png16m_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:217:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  217 | const gx_device_png gs_png16m_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:217:21: note: ‘gs_png16m_device’ was previously declared here
#  445|   #ifdef device2_
#  446|   device2_(gs_png16_device)
#  447|-> device2_(gs_png16m_device)
#  448|   device2_(gs_png16malpha_device)
#  449|   device2_(gs_png256_device)

Error: COMPILER_WARNING (CWE-704): [#def713]
ghostscript-10.05.0/soobj/gconfig.h:448:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16malpha_device’ does not match original declaration
#  448 | device2_(gs_png16malpha_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:321:26: note: type ‘const struct gx_device_pngalpha’ should match type ‘const struct gx_device’
#  321 | const gx_device_pngalpha gs_png16malpha_device = {
#      |                          ^
ghostscript-10.05.0/devices/gdevpng.c:321:26: note: ‘gs_png16malpha_device’ was previously declared here
#  446|   device2_(gs_png16_device)
#  447|   device2_(gs_png16m_device)
#  448|-> device2_(gs_png16malpha_device)
#  449|   device2_(gs_png256_device)
#  450|   device2_(gs_png48_device)

Error: COMPILER_WARNING (CWE-704): [#def714]
ghostscript-10.05.0/soobj/gconfig.h:449:1: warning[-Wlto-type-mismatch]: type of ‘gs_png256_device’ does not match original declaration
#  449 | device2_(gs_png256_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:144:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  144 | const gx_device_png gs_png256_device = {
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:144:21: note: ‘gs_png256_device’ was previously declared here
#  447|   device2_(gs_png16m_device)
#  448|   device2_(gs_png16malpha_device)
#  449|-> device2_(gs_png256_device)
#  450|   device2_(gs_png48_device)
#  451|   device2_(gs_pngalpha_device)

Error: COMPILER_WARNING (CWE-704): [#def715]
ghostscript-10.05.0/soobj/gconfig.h:450:1: warning[-Wlto-type-mismatch]: type of ‘gs_png48_device’ does not match original declaration
#  450 | device2_(gs_png48_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:241:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  241 | const gx_device_png gs_png48_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:241:21: note: ‘gs_png48_device’ was previously declared here
#  448|   device2_(gs_png16malpha_device)
#  449|   device2_(gs_png256_device)
#  450|-> device2_(gs_png48_device)
#  451|   device2_(gs_pngalpha_device)
#  452|   device2_(gs_pnggray_device)

Error: COMPILER_WARNING (CWE-704): [#def716]
ghostscript-10.05.0/soobj/gconfig.h:451:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngalpha_device’ does not match original declaration
#  451 | device2_(gs_pngalpha_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:286:26: note: type ‘const struct gx_device_pngalpha’ should match type ‘const struct gx_device’
#  286 | const gx_device_pngalpha gs_pngalpha_device = {
#      |                          ^
ghostscript-10.05.0/devices/gdevpng.c:286:26: note: ‘gs_pngalpha_device’ was previously declared here
#  449|   device2_(gs_png256_device)
#  450|   device2_(gs_png48_device)
#  451|-> device2_(gs_pngalpha_device)
#  452|   device2_(gs_pnggray_device)
#  453|   device2_(gs_pngmono_device)

Error: COMPILER_WARNING (CWE-704): [#def717]
ghostscript-10.05.0/soobj/gconfig.h:452:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnggray_device’ does not match original declaration
#  452 | device2_(gs_pnggray_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:167:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  167 | const gx_device_png gs_pnggray_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:167:21: note: ‘gs_pnggray_device’ was previously declared here
#  450|   device2_(gs_png48_device)
#  451|   device2_(gs_pngalpha_device)
#  452|-> device2_(gs_pnggray_device)
#  453|   device2_(gs_pngmono_device)
#  454|   device2_(gs_pngmonod_device)

Error: COMPILER_WARNING (CWE-704): [#def718]
ghostscript-10.05.0/soobj/gconfig.h:453:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngmono_device’ does not match original declaration
#  453 | device2_(gs_pngmono_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:95:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#   95 | const gx_device_png gs_pngmono_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:95:21: note: ‘gs_pngmono_device’ was previously declared here
#  451|   device2_(gs_pngalpha_device)
#  452|   device2_(gs_pnggray_device)
#  453|-> device2_(gs_pngmono_device)
#  454|   device2_(gs_pngmonod_device)
#  455|   device2_(gs_nullpage_device)

Error: COMPILER_WARNING (CWE-704): [#def719]
ghostscript-10.05.0/soobj/gconfig.h:454:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngmonod_device’ does not match original declaration
#  454 | device2_(gs_pngmonod_device)
#      | ^
ghostscript-10.05.0/devices/gdevpng.c:190:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  190 | const gx_device_png gs_pngmonod_device =
#      |                     ^
ghostscript-10.05.0/devices/gdevpng.c:190:21: note: ‘gs_pngmonod_device’ was previously declared here
#  452|   device2_(gs_pnggray_device)
#  453|   device2_(gs_pngmono_device)
#  454|-> device2_(gs_pngmonod_device)
#  455|   device2_(gs_nullpage_device)
#  456|   #endif

Error: COMPILER_WARNING (CWE-704): [#def720]
ghostscript-10.05.0/soobj/gconfig.h:455:1: warning[-Wlto-type-mismatch]: type of ‘gs_nullpage_device’ does not match original declaration
#  455 | device2_(gs_nullpage_device)
#      | ^
ghostscript-10.05.0/base/gdevnfwd.c:1007:22: note: type ‘const struct gx_device_null’ should match type ‘const struct gx_device’
# 1007 | const gx_device_null gs_nullpage_device = {
#      |                      ^
ghostscript-10.05.0/base/gdevnfwd.c:1007:22: note: ‘gs_nullpage_device’ was previously declared here
#  453|   device2_(gs_pngmono_device)
#  454|   device2_(gs_pngmonod_device)
#  455|-> device2_(gs_nullpage_device)
#  456|   #endif
#  457|   #ifdef io_device_

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-24.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameghostscript-10.05.0-1.fc43
store-results-to/tmp/tmptuelnbu7/ghostscript-10.05.0-1.fc43.tar.xz
time-created2025-04-25 12:43:18
time-finished2025-04-25 12:51:03
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmptuelnbu7/ghostscript-10.05.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptuelnbu7/ghostscript-10.05.0-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9