summaryrefslogtreecommitdiff
path: root/base/gsicc_manage.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2016-01-26 08:47:30 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2016-01-26 09:20:31 -0800
commit3bbced3ab549bef42f47fb28c10287b32826d1b4 (patch)
tree5bfedc935af9debb0a071d18c5066ecac98815e7 /base/gsicc_manage.h
parent5e270fffe76164b07b29dec2358ef01003866674 (diff)
downloadghostpdl-3bbced3ab549bef42f47fb28c10287b32826d1b4.tar.gz
Fix for Bug 696514. rinkj device
The rinkj device was dereferencing a NULL pointer related to the ICC device link profile that it can be set up to use. Fixing this issued and playing around with a various command line options revealed a problem in error trapping in the icc code where you could cause a crash by having a bogus device link profile specified on the command line. This fixes that crash also.
Diffstat (limited to 'base/gsicc_manage.h')
-rw-r--r--base/gsicc_manage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gsicc_manage.h b/base/gsicc_manage.h
index 8c2b6d737..2da149745 100644
--- a/base/gsicc_manage.h
+++ b/base/gsicc_manage.h
@@ -99,7 +99,7 @@ int gsicc_set_srcgtag_struct(gsicc_manager_t *icc_manager, const char* pname,
int namelen);
cmm_profile_t* gsicc_get_profile_handle_file(const char* pname, int namelen,
gs_memory_t *mem);
-void gsicc_init_profile_info(cmm_profile_t *profile);
+int gsicc_init_profile_info(cmm_profile_t *profile);
int gsicc_initialize_default_profile(cmm_profile_t *icc_profile);
gsicc_manager_t* gsicc_manager_new(gs_memory_t *memory);
cmm_profile_t* gsicc_profile_new(stream *s, gs_memory_t *memory,