idx int64 | project string | commit_id string | project_url string | commit_url string | commit_message string | target int64 | func string | func_hash float64 | file_name string | file_hash float64 | cwe list | cve string | cve_desc string | nvd_url string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13,131 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkBlackPoint(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code;
float value[3];
ref *tempref;
code = dict_find_string(CIEdict, "BlackPoint", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
if ... | 272,530,132,165,673,200,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,132 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkCalMatrix(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code;
float value[9];
ref *tempref;
code = dict_find_string(CIEdict, "Matrix", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
if (r_si... | 62,862,080,333,067,970,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,133 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkDecodeLMN(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code = 0, i;
ref *tempref, valref;
code = dict_find_string(CIEdict, "DecodeLMN", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
if (r_size... | 8,368,762,507,593,583,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,134 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkMatrixLMN(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code;
float value[9];
ref *tempref;
code = dict_find_string(CIEdict, "MatrixLMN", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
if (r... | 332,239,979,212,193,170,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,135 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkRangeLMN(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code;
float value[6];
ref *tempref;
code = dict_find_string(CIEdict, "RangeLMN", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
if (r_s... | 107,139,066,260,502,860,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,136 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkWhitePoint(i_ctx_t * i_ctx_p, ref *CIEdict)
{
int code;
float value[3];
ref *tempref;
code = dict_find_string(CIEdict, "WhitePoint", &tempref);
if (code < 0)
return code;
if (code == 0 || r_has_type(tempref, t_null))
return gs_note_error(gs_error_undefined);
... | 235,591,430,442,386,170,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,137 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int checkrangeab(i_ctx_t * i_ctx_p, ref *labdict)
{
int code = 0, i;
float value[4];
ref *tempref, valref;
code = dict_find_string(labdict, "Range", &tempref);
if (code > 0 && !r_has_type(tempref, t_null)) {
if (!r_is_array(tempref))
return_error(gs_error_typecheck);
... | 63,554,904,303,529,360,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,138 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieabccompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
int code = 0;
ref CIEdict1, CIEdict2;
code = array_get(imemory, space, 1, &CIEdict1);
if (code < 0)
return 0;
code = array_get(imemory, testspace, 1, &CIEdict2);
if (code < 0)
return 0;
if (!compare... | 134,027,246,237,015,820,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,139 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieabcdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeABC, get the values from that */
code = dict_find_string(&CIEdict, "RangeABC", &tempref);... | 140,150,929,107,416,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,140 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieabcrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeABC, get the values from that */
code = dict_find_string(&CIEdict, "RangeABC", &tempre... | 39,619,697,291,001,450,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,141 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieabcvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
int i;
if (num_comps < 3)
return_error(gs_error_stackunderflow);
op -= 2;
for (i=0;i<3;i++) {
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error... | 281,222,985,606,630,920,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,142 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieacompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
int code = 0;
ref CIEdict1, CIEdict2;
code = array_get(imemory, space, 1, &CIEdict1);
if (code < 0)
return 0;
code = array_get(imemory, testspace, 1, &CIEdict2);
if (code < 0)
return 0;
if (!comparedi... | 224,546,119,908,827,530,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,143 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cieavalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
if (num_comps < 1)
return_error(gs_error_stackunderflow);
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error(gs_error_typecheck);
return 0;
}
| 211,305,577,201,623,200,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,144 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciebasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op;
ref *spacename, nref;
int i, components=1, code;
/* If the spaece is an array, the first element is always the name */
if (r_is_array(space))
spacename = space->value.refs;... | 13,607,493,719,167,514,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,145 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeDEF, get the values from that */
code = dict_find_string(&CIEdict, "RangeDEF", &tempr... | 293,395,955,638,651,920,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,146 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefgcompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
/* If the problems mentioned above are resolved, then this code could
* be re-instated.
*/
int code = 0;
ref CIEdict1, CIEdict2;
code = array_get(imemory, space, 1, &CIEdict1);
if (code < 0)
return 0;
... | 236,675,531,225,459,040,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,147 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefgdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeDEFG, get the values from that */
code = dict_find_string(&CIEdict, "RangeDEFG", &tempre... | 218,518,862,355,680,530,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,148 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefgrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeDEFG, get the values from that */
code = dict_find_string(&CIEdict, "RangeDEFG", &tempref... | 25,618,647,596,715,270,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,149 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefgvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
int i;
if (num_comps < 4)
return_error(gs_error_stackunderflow);
op -= 3;
for (i=0;i < 4;i++) {
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_er... | 304,098,684,055,598,840,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,150 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int ciedefrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref CIEdict, *tempref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a RangeDEF, get the values from that */
code = dict_find_string(&CIEdict, "RangeDEF", &tempre... | 67,116,008,169,981,400,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,151 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cmykbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp;
float CMYK[4], Gray, RGB[3];
int i;
const gs_color_space * pcs = gs_currentcolorspace(igs);
if (pcs->id == cs_DeviceGray_id) {
/* UGLY hack. Its possible for the gr... | 96,210,653,057,924,970,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,152 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cmykdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i;
for (i = 0;i < 8;i+=2) {
ptr[i] = 0;
ptr[i+1] = 1;
}
return 0;
}
| 127,402,722,719,250,920,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,153 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cmykinitialproc(i_ctx_t *i_ctx_p, ref *space)
{
gs_client_color cc;
cc.pattern = 0x00;
cc.paint.values[0] = 0;
cc.paint.values[1] = 0;
cc.paint.values[2] = 0;
cc.paint.values[3] = 1;
return gs_setcolor(igs, &cc);
}
| 119,074,221,227,695,800,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,154 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cmykrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i;
for (i = 0;i < 8;i+=2) {
ptr[i] = 0;
ptr[i+1] = 1;
}
return 0;
}
| 189,438,771,341,956,780,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,155 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int cmykvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
int i;
if (num_comps < 4)
return_error(gs_error_stackunderflow);
op -= 3;
for (i=0;i < 4;i++) {
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error... | 273,576,178,662,317,630,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,156 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int comparearrays(i_ctx_t * i_ctx_p, ref *m1, ref *m2)
{
int i, code;
ref ref1, ref2;
if (r_size(m1) != r_size(m2))
return 0;
for (i=0;i < r_size(m1);i++) {
code = array_get(imemory, m1, i, &ref1);
if (code < 0)
return 0;
code = array_get(imemory, m2,... | 304,539,270,217,268,330,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,157 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int convert_transform(i_ctx_t * i_ctx_p, ref *arr, ref *pproc)
{
os_ptr op = osp; /* required by "push" macro */
int code;
/* buildfunction returns an operand on the stack. In fact
* it replaces the lowest operand, so make sure there is an
* empty sacrificial one present.
*/
pus... | 257,926,793,401,299,400,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,158 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | currentbasecolor_cont(i_ctx_t *i_ctx_p)
{
ref arr, *parr = &arr;
es_ptr ep = esp;
int i, code = 0, stage, base, cont=1, stack_depth = 0, CIESubst=0;
unsigned int depth;
PS_colour_space_t *obj;
stack_depth = (int)ep[-4].value.intval;
base = (int)ep[-3].value.intval;
depth = (unsigned int... | 125,617,560,232,035,630,000,000,000,000,000,000,000 | zcolor.c | 158,638,101,351,150,040,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,159 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicenalternatespace(i_ctx_t * i_ctx_p, ref *space, ref **r, int *CIESubst)
{
ref altspace;
int code;
code = array_get(imemory, space, 2, &altspace);
if (code < 0)
return code;
ref_assign(*r, &altspace);
return 0;
}
| 149,869,415,062,659,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,160 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicenbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp; /* required by "push" macro */
int code, use, n_comp;
ref narray;
code = devicentransform(i_ctx_p, space, &use, stage, stack_depth);
if (code != 0)
return cod... | 97,935,704,162,234,990,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,161 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicencolorants_cont(i_ctx_t *i_ctx_p)
{
ref dict, *pdict = &dict, space[2], sname;
int index, code, depth, stage;
es_ptr ep = esp, pindex, pstage;
os_ptr op = osp;
gs_separation_name sep_name;
pindex = &ep[-2];
pstage = &ep[-1];
index = (int)pindex->value.intval;
stage ... | 212,369,677,490,097,040,000,000,000,000,000,000,000 | zcolor.c | 158,638,101,351,150,040,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,162 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicencompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
ref sname1, sname2;
int code;
code = array_get(imemory, space, 1, &sname1);
if (code < 0)
return 0;
code = array_get(imemory, testspace, 1, &sname2);
if (code < 0)
return 0;
if (!r_is_array(&snam... | 156,464,837,249,624,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,163 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicencomponents(i_ctx_t * i_ctx_p, ref *space, int *n)
{
ref namesarray;
int code;
code = array_get(imemory, space, 1, &namesarray);
if (code < 0)
return code;
*n = r_size(&namesarray);
return 0;
}
| 111,037,432,953,708,530,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,164 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicendomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i, limit, code;
ref namesarray;
code = array_get(imemory, space, 1, &namesarray);
if (code < 0)
return code;
limit = r_size(&namesarray) * 2;
for (i = 0;i < limit;i+=2) {
ptr[i] = 0;
ptr[i+1] = 1;... | 160,610,066,911,004,370,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,165 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicenrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i, limit, code;
PS_colour_space_t *cspace;
ref altspace;
code = array_get(imemory, space, 1, &altspace);
if (code < 0)
return code;
code = get_space_object(i_ctx_p, &altspace, &cspace);
if (code < 0)
... | 120,181,132,360,652,540,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,166 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicentransform(i_ctx_t *i_ctx_p, ref *devicenspace, int *usealternate, int *stage, int *stack_depth)
{
gx_device * dev = igs->device;
ref narray, sname, proc;
int i, code, colorant_number;
*usealternate = 0;
code = array_get(imemory, devicenspace, 1, &narray);
if (code < 0)
... | 256,261,013,180,680,630,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,167 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicenvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
int i, code;
ref narray;
os_ptr op = osp;
code = array_get(imemory, space, 1, &narray);
if (code < 0)
return code;
if (!r_is_array(&narray))
return_error(gs_error_typecheck);
if (num_co... | 314,224,577,432,666,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,168 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicepbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp;
*stage = 0;
*cont = 0;
make_int(op, 0);
return 0;
}
| 65,317,173,788,529,655,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,169 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicepdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref tref;
code = array_get(imemory, space, 1, &tref);
if (code < 0)
return code;
ptr[0] = 0;
ptr[1] = (float)(1 << tref.value.intval);
return 0;
}
| 339,894,396,551,837,750,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,170 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int deviceprange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int code;
ref tref;
code = array_get(imemory, space, 1, &tref);
if (code < 0)
return code;
ptr[0] = 0;
ptr[1] = (float)(1 << tref.value.intval);
return 0;
}
| 266,848,371,695,253,930,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,171 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int devicepvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
return 0;
}
| 297,368,242,264,707,000,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,172 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int dummydomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
return 0;
}
| 13,531,546,734,481,334,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,173 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int falsecompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
return 0;
}
| 50,147,233,504,655,220,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,174 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int fourcomponent(i_ctx_t * i_ctx_p, ref *space, int *n)
{
*n = 4;
return 0;
}
| 10,112,927,366,486,919,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,175 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int get_cie_param_array(const gs_memory_t *mem, const ref *src, int n, float *dst) {
ref valref;
int i;
int code = 0;
for (i = 0; i < n; i++) {
code = array_get(mem, src, i, &valref);
if (code < 0)
return code;
if (r_has_type(&valref, t_integer))
dst[i] = (float)valref.value.intval;
... | 67,470,206,886,784,880,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,176 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | int get_space_object(i_ctx_t *i_ctx_p, ref *arr, PS_colour_space_t **obj)
{
ref spacename, nref;
int i, nprocs = sizeof(colorProcs) / sizeof(PS_colour_space_t), code;
/* If the spaece is an array, the first element is always the name */
if (r_is_array(arr)) {
code = array_get(imemory, arr, 0, &... | 236,101,689,791,930,550,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,177 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int graybasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp;
float Gray, RGB[3];
*cont = 0;
*stage = 0;
check_op(1);
if (!r_has_type(op, t_integer)) {
if (r_has_type(op, t_real)) {
Gray = op->value.realval;
... | 196,303,703,168,014,500,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,178 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int graydomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
ptr[0] = 0;
ptr[1] = 1;
return 0;
}
| 249,620,122,134,314,230,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,179 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int grayinitialproc(i_ctx_t *i_ctx_p, ref *space)
{
gs_client_color cc;
cc.pattern = 0x00;
cc.paint.values[0] = 0;
return gs_setcolor(igs, &cc);
}
| 270,450,290,023,149,300,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,180 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int grayrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
ptr[0] = 0;
ptr[1] = 1;
return 0;
}
| 325,223,062,292,066,370,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,181 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int grayvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error(gs_error_typecheck);
if (num_comps < 1)
return_error(gs_error_stackunderflow);
if (*values > 1.0)
*val... | 119,239,494,979,052,350,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,182 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hasharray(i_ctx_t * i_ctx_p, ref *m1, gs_md5_state_t *md5)
{
int i, code;
ref ref1;
for (i=0;i < r_size(m1);i++) {
code = array_get(imemory, m1, i, &ref1);
if (code < 0)
return 0;
code = r_type(&ref1);
if (code < 0)
return code;
sw... | 87,167,101,858,416,580,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,183 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hashcieaspace(i_ctx_t *i_ctx_p, ref *space, gs_md5_state_t *md5)
{
int code = 0;
ref CIEdict1, spacename;
code = array_get(imemory, space, 0, &spacename);
if (code < 0)
return 0;
gs_md5_append(md5, (const gs_md5_byte_t *)&spacename.value.pname, sizeof(spacename.value.pname));
... | 56,124,384,123,666,210,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,184 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hashciedefgspace(i_ctx_t *i_ctx_p, ref *space, gs_md5_state_t *md5)
{
/* If the problems mentioned above are resolved, then this code could
* be re-instated.
*/
int code = 0;
ref CIEdict1, spacename;
code = array_get(imemory, space, 0, &spacename);
if (code < 0)
return ... | 113,746,058,990,611,450,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,185 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hashciedefspace(i_ctx_t *i_ctx_p, ref *space, gs_md5_state_t *md5)
{
int code = 0;
ref CIEdict1, spacename;
code = array_get(imemory, space, 0, &spacename);
if (code < 0)
return 0;
gs_md5_append(md5, (const gs_md5_byte_t *)&spacename.value.pname, sizeof(spacename.value.pname));
... | 279,891,889,086,690,370,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,186 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hashdictkey(i_ctx_t * i_ctx_p, ref *CIEdict1, char *key, gs_md5_state_t *md5)
{
int code;
ref *tempref1;
code = dict_find_string(CIEdict1, key, &tempref1);
if (code <= 0)
return 1;
if (r_type(tempref1) == t_null)
return 1;
return hasharray(i_ctx_p, tempref1, md5);
}... | 159,667,047,233,533,040,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,187 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int hsb2rgb(float *HSB)
{
float RGB[3], mn, md;
int i;
mn = (1.0 - HSB[1]) * HSB[2];
md = 6.0 * HSB[1] * HSB[2];
switch ((int)floor(6.0 * HSB[0])) {
case 6:
HSB[0] = (float)0;
/* fall through */
default: /* Shuts up compiler warning about RGB being un... | 282,659,067,949,359,540,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,188 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int iccalternatespace(i_ctx_t * i_ctx_p, ref *space, ref **r, int *CIESubst)
{
int components, code = 0;
ref *tempref, ICCdict;
if (!r_is_array(space))
return_error(gs_error_typecheck);
/* Validate parameters, check we have enough operands */
if (r_size(space) != 2)
return_er... | 317,538,501,160,063,850,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,189 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int iccdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int components, i, code = 0;
ref *tempref, ICCdict, valref;
code = array_get(imemory, space, 1, &ICCdict);
if (code < 0)
return code;
code = dict_find_string(&ICCdict, "N", &tempref);
if (code < 0)
return code;
... | 235,776,487,396,324,570,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,190 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int iccompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
int code1, code2;
ref ICCdict1, ICCdict2, *tempref1, *tempref2;
int buff_size;
code1 = array_get(imemory, space, 1, &ICCdict1);
if (code1 < 0)
return 0;
code2 = array_get(imemory, testspace, 1, &ICCdict2);
if (... | 77,187,452,212,400,730,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,191 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int iccrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int components, i, code = 0;
ref *tempref, ICCdict, valref;
code = array_get(imemory, space, 1, &ICCdict);
if (code < 0)
return code;
code = dict_find_string(&ICCdict, "N", &tempref);
if (code < 0)
return code;
... | 59,927,017,402,123,475,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,192 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int iccvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
return 0;
}
| 222,596,095,644,107,000,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,193 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | indexed_cont(i_ctx_t *i_ctx_p)
{
os_ptr op = osp;
es_ptr ep = esp;
int i = (int)ep[csme_index].value.intval;
if (i >= 0) { /* i.e., not first time */
int m = (int)ep[csme_num_components].value.intval;
int code = float_params(op, m, &r_ptr(&ep[csme_map], gs_indexed_map)->values[i * m]);... | 53,915,540,272,331,280,000,000,000,000,000,000,000 | zcolor.c | 158,638,101,351,150,040,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,194 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int indexedalternatespace(i_ctx_t * i_ctx_p, ref *space, ref **r, int *CIESubst)
{
ref alt;
int code;
code = array_get(imemory, *r, 1, &alt);
if (code < 0)
return code;
ref_assign(*r, &alt);
return 0;
}
| 215,556,667,382,897,400,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,195 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int indexedbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
int code;
if (*stage == 0) {
/* Usefully /Indexed can't be the base of any other space, so we know
* the current space in the graphics state is this one.
*/
gs_color... | 50,495,794,264,676,850,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,196 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int indexeddomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
ref hival;
int code;
code = array_get(imemory, space, 2, &hival);
if (code < 0)
return code;
ptr[0] = 0;
ptr[1] = (float)hival.value.intval;
return 0;
}
| 141,058,797,504,481,920,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,197 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int indexedvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
int code, integer;
float fraction;
ref hival;
os_ptr op = osp;
if (num_comps < 1)
return_error(gs_error_stackunderflow);
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_er... | 134,339,093,781,542,950,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,198 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int is_same_colorspace(i_ctx_t * i_ctx_p, ref *space1, ref *space2, bool isCIE)
{
PS_colour_space_t *oldcspace = 0, *newcspace = 0;
ref oldspace, *poldspace = &oldspace, newspace, *pnewspace = &newspace;
int code, CIESubst;
/* Silence compiler warnings */
oldspace.tas.type_attrs = 0;
old... | 51,029,734,505,985,625,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,199 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int labbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op;
int i, components=1;
components = 3;
pop(components);
op = osp;
components = 3;
push(components);
op -= components-1;
for (i=0;i<components;i++) {
make_real... | 30,975,104,461,952,945,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,200 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int labdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i, code;
ref CIEdict, *tempref, valref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a Range, get the values from that */
code = dict_find_string(&CIEdict, "Range", &tem... | 111,425,341,860,634,460,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,201 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int labrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i, code;
ref CIEdict, *tempref, valref;
code = array_get(imemory, space, 1, &CIEdict);
if (code < 0)
return code;
/* If we have a Range entry, get the values from that */
code = dict_find_string(&CIEdict, "Range",... | 167,830,723,951,167,090,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,202 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int labvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
int i;
if (num_comps < 3)
return_error(gs_error_stackunderflow);
op -= 2;
for (i=0;i<3;i++) {
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error(gs_... | 84,393,719,811,525,270,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,203 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static bool name_is_device_color( char *cs_name )
{
return( strcmp(cs_name, "DeviceGray") == 0 ||
strcmp(cs_name, "DeviceRGB") == 0 ||
strcmp(cs_name, "DeviceCMYK") == 0);
}
| 76,078,300,643,543,450,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,204 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int onecomponent(i_ctx_t * i_ctx_p, ref *space, int *n)
{
*n = 1;
return 0;
}
| 84,893,090,869,471,280,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,205 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int patternbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op;
int i, components=0;
if (r_size(space) > 1) {
const gs_color_space * pcs = gs_currentcolorspace(igs);
const gs_client_color * pcc = gs_currentcolor(igs);
int ... | 278,711,540,615,230,940,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,206 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int patterncomponent(i_ctx_t * i_ctx_p, ref *space, int *n)
{
os_ptr op = osp;
int n_comps, code;
const gs_color_space * pcs = gs_currentcolorspace(igs);
gs_client_color cc;
/* check for a pattern color space */
if ((n_comps = cs_num_components(pcs)) < 0) {
n_comps = -n_... | 22,615,960,965,348,290,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,207 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int patternvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
check_op(1);
if (!r_has_type(op, t_dictionary) && !r_has_type(op, t_null))
return_error(gs_error_typecheck);
return 0;
}
| 81,106,513,052,725,770,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,208 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgb2hsb(float *RGB)
{
float HSB[3], v, diff;
int i, j=0;
v = 1.0;
for (i=0;i<3;i++)
HSB[i] = 0.0;
for (i=0;i<3;i++) {
if (RGB[i] > HSB[2]) {
HSB[2] = RGB[i];
j = i;
}
if (RGB[i] < v)
v = RGB[i];
}
if (HSB[2] != 0... | 243,532,663,943,691,280,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,209 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgbbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp;
float RGB[3], CMYK[4], Gray, UCR, BG;
int i;
const gs_color_space * pcs = gs_currentcolorspace(igs);
if (pcs->id == cs_DeviceGray_id) {
/* UGLY hack. Its possible fo... | 90,233,986,663,516,560,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,210 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgbdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i;
for (i = 0;i < 6;i+=2) {
ptr[i] = 0;
ptr[i+1] = 1;
}
return 0;
}
| 269,912,534,579,349,400,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,211 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgbinitialproc(i_ctx_t *i_ctx_p, ref *space)
{
gs_client_color cc;
cc.pattern = 0x00;
cc.paint.values[0] = 0;
cc.paint.values[1] = 0;
cc.paint.values[2] = 0;
return gs_setcolor(igs, &cc);
}
| 330,662,773,467,020,140,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,212 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgbrange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
int i;
for (i = 0;i < 6;i+=2) {
ptr[i] = 0;
ptr[i+1] = 1;
}
return 0;
}
| 110,762,138,983,090,300,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,213 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int rgbvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
int i;
if (num_comps < 3)
return_error(gs_error_stackunderflow);
op -= 2;
for (i=0;i<3;i++) {
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error(gs... | 188,088,038,395,184,900,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,214 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int separationalternatespace(i_ctx_t * i_ctx_p, ref *sepspace, ref **r, int *CIESubst)
{
ref tref;
int code;
code = array_get(imemory, sepspace, 2, &tref);
if (code < 0)
return code;
ref_assign(*r, &tref);
return 0;
}
| 269,383,057,595,625,000,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,215 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int sepbasecolor(i_ctx_t * i_ctx_p, ref *space, int base, int *stage, int *cont, int *stack_depth)
{
os_ptr op = osp; /* required by "push" macro */
int use, code;
code = septransform(i_ctx_p, space, &use, stage, stack_depth);
if (code != 0)
return code;
if (!use) {... | 339,672,383,280,865,540,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,216 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int sepcompareproc(i_ctx_t *i_ctx_p, ref *space, ref *testspace)
{
ref sname1, sname2;
int code;
code = array_get(imemory, space, 1, &sname1);
if (code < 0)
return 0;
code = array_get(imemory, testspace, 1, &sname2);
if (code < 0)
return 0;
if (r_type(&sname1) != r_... | 336,574,384,878,587,460,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,217 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int sepdomain(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
ptr[0] = 0;
ptr[1] = 1;
return 0;
}
| 34,850,850,321,278,113,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,218 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int sepinitialproc(i_ctx_t *i_ctx_p, ref *space)
{
gs_client_color cc;
cc.pattern = 0x00;
cc.paint.values[0] = 1.0;
return gs_setcolor(igs, &cc);
}
| 224,339,229,012,293,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,219 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int seprange(i_ctx_t * i_ctx_p, ref *space, float *ptr)
{
ptr[0] = 0;
ptr[1] = 1;
return 0;
}
| 299,854,733,210,189,130,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,220 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int septransform(i_ctx_t *i_ctx_p, ref *sepspace, int *usealternate, int *stage, int *stack_depth)
{
gx_device * dev = igs->device;
ref sname, proc;
int code, colorant_number;
code = array_get(imemory, sepspace, 1, &sname);
if (code < 0)
return code;
if (r_has_type(&sname, t_name... | 51,543,857,942,736,280,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,221 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int sepvalidate(i_ctx_t *i_ctx_p, ref *space, float *values, int num_comps)
{
os_ptr op = osp;
if (num_comps < 1)
return_error(gs_error_stackunderflow);
if (!r_has_type(op, t_integer) && !r_has_type(op, t_real))
return_error(gs_error_typecheck);
if (*values > 1.0)
*valu... | 2,685,235,908,005,301,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,222 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int set_dev_space(i_ctx_t * i_ctx_p, int components)
{
int code, stage = 1, cont = 0;
switch(components) {
case 1:
code = setgrayspace(i_ctx_p, (ref *)0, &stage, &cont, 1);
break;
case 3:
code = setrgbspace(i_ctx_p, (ref *)0, &stage, &cont, 1);
... | 155,994,923,428,748,660,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,223 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setcalgrayspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
ref graydict;
int code = 0;
float gamma, white[3], black[3];
double dflt_gamma = 1.0;
static const float dflt_black[3] = {0,0,0}, dflt_white[3] = {0,0,0};
gs_clien... | 339,206,618,364,890,600,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,224 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setcieabcspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
int code = 0;
ref CIEDict, *nocie;
ulong dictkey;
gs_md5_state_t md5;
byte key[16];
if (i_ctx_p->language_level < 2)
return_error(gs_error_undefined);
code = dict_find_string(systemdict, "NO... | 266,012,193,332,594,300,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,225 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setcieaspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
int code = 0;
ref CIEDict, *nocie;
ulong dictkey;
gs_md5_state_t md5;
byte key[16];
if (i_ctx_p->language_level < 2)
return_error(gs_error_undefined);
code = dict_find_string(systemdict, "NOCI... | 149,118,094,243,956,560,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,226 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setciedefgspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
int code = 0;
ref CIEDict, *nocie;
ulong dictkey;
gs_md5_state_t md5;
byte key[16];
if (i_ctx_p->language_level < 3)
return_error(gs_error_undefined);
code = dict_find_string(systemdict, "N... | 18,467,389,431,599,100,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,227 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setciedefspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
int code = 0;
ref CIEDict, *nocie;
ulong dictkey;
gs_md5_state_t md5;
byte key[16];
if (i_ctx_p->language_level < 3)
return_error(gs_error_undefined);
code = dict_find_string(systemdict, "NO... | 178,780,233,874,661,700,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,228 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | static int setcmykspace(i_ctx_t * i_ctx_p, ref *r, int *stage, int *cont, int CIESubst)
{
os_ptr op = osp;
gs_color_space *pcs;
int code=0;
ref stref;
do {
switch (*stage) {
case 0:
if (istate->use_cie_color.value.boolval && !CIESubst) {
byte... | 136,237,897,829,073,590,000,000,000,000,000,000,000 | zcolor.c | 161,620,022,692,754,280,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,229 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | setcolor_cont(i_ctx_t *i_ctx_p)
{
ref arr, *parr = &arr;
es_ptr ep = esp;
int i=0, code = 0, usealternate, stage, stack_depth, CIESubst = 0, IsICC = 0;
unsigned int depth;
PS_colour_space_t *obj;
stack_depth = (int)ep[-3].value.intval;
depth = (unsigned int)ep[-2].value.intval;
stage = ... | 11,331,805,180,486,340,000,000,000,000,000,000,000 | zcolor.c | 158,638,101,351,150,040,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
13,230 | ghostscript | b326a71659b7837d3acde954b18bda1a6f5e9498 | http://git.ghostscript.com/?p=mupdf | http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b326a71659b7837d3acde954b18bda1a6f5e9498 | None | 0 | setcolorspace_cont(i_ctx_t *i_ctx_p)
{
ref arr, *parr = &arr;
os_ptr op = osp;
es_ptr ep = esp, pdepth, pstage, pCIESubst;
int i, code = 0, stage, cont, CIESubst = 0;
unsigned int depth;
PS_colour_space_t *obj;
pCIESubst = &ep[-3];
pdepth = &ep[-2];
pstage = &ep[-1];
CIESubst =... | 277,593,145,196,861,750,000,000,000,000,000,000,000 | zcolor.c | 158,638,101,351,150,040,000,000,000,000,000,000,000 | [
"CWE-704"
] | CVE-2018-16513 | In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. | https://nvd.nist.gov/vuln/detail/CVE-2018-16513 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.