Exploit database

GH-e9c4abed697d446a44e1f9202351d16d

rhpco/cve-2018-16509

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2018-16509

9 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files309
rhpco/cve-2018-16509Revision e27d583f36df
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

ghostscript-9.22/psi/iinit.h

Text · 1,495 bytes
/* Copyright (C) 2001-2012 Artifex Software, Inc.
   All Rights Reserved.

   This software is provided AS-IS with no warranty, either express or
   implied.

   This software is distributed under license and may not be copied,
   modified or distributed except as expressly authorized under the terms
   of the license contained in the file LICENSE in this distribution.

   Refer to licensing information at http://www.artifex.com or contact
   Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134, San Rafael,
   CA  94903, U.S.A., +1(415)492-9861, for further information.
*/


/* (Internal) interface to iinit.c */

/* The following will allow for -Z! to trace PS operators. */
/* This is slightly less noisy but less informative than -ZI */
/* #define DEBUG_TRACE_PS_OPERATORS */

#ifndef iinit_INCLUDED
#  define iinit_INCLUDED

/*
 * Declare initialization procedures exported by iinit.c for imain.c.
 * These must be executed in the order they are declared below.
 */
int obj_init(i_ctx_t **, gs_dual_memory_t *);
int zop_init(i_ctx_t *);
int op_init(i_ctx_t *);
#if defined(DEBUG_TRACE_PS_OPERATORS) || defined(DEBUG)
const char *op_get_name_string(op_proc_t opproc);
#endif

int
i_iodev_init(i_ctx_t *i_ctx_p);

/*
 * Test whether there are any Level 2 operators in the executable.
 * (This is different from the language level in which the interpreter is
 * actually running: it is only tested during initialization.)
 */
bool gs_have_level2(void);

#endif /* iinit_INCLUDED */