--- a/devices/gdevijs.c +++ b/devices/gdevijs.c @@ -934,6 +934,9 @@ static const char rgb[] = "DeviceRGB"; gx_device_ijs *ijsdev = (gx_device_ijs *)dev; + if (ijsdev->memory->gs_lib_ctx->core->path_control_active) + return_error(gs_error_invalidaccess); + code = gx_default_finish_copydevice(dev, from_dev); if(code < 0) return code; @@ -1363,7 +1366,7 @@ if (code >= 0) code = gsijs_read_string(plist, "IjsServer", ijsdev->IjsServer, sizeof(ijsdev->IjsServer), - dev->LockSafetyParams, is_open); + ijsdev->memory->gs_lib_ctx->core->path_control_active, is_open); if (code >= 0) code = gsijs_read_string_malloc(plist, "DeviceManufacturer",