Skip to content

initialize instance pointer *minst = NULL for first call of gsapi_new_instance(...) -- otherwise roger crashes with segfault

Robert Falkenberg requested to merge (removed):minst_initialization into master

from https://www.ghostscript.com/doc/psi/iapi.c /* Create a new instance of Ghostscript.

  • First instance per process call with *pinstance == NULL
  • next instance in a proces call with *pinstance == copy of valid_instance pointer
  • *pinstance is set to a new instance pointer. */

Merge request reports