Summary: | Color profiles cannot be read in -dSAFER mode | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Tijl Coosemans <tijl> |
Component: | Regression | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 0strodamus, chris.liddell, tcallawa |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | FreeBSD | ||
Customer: | Word Size: | --- |
Description
Tijl Coosemans
2018-09-05 16:58:19 UTC
*** Bug 699736 has been marked as a duplicate of this bug. *** *** Bug 699724 has been marked as a duplicate of this bug. *** Fixed in: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c8c01f8c4164 I opted to fix the returned string so it didn't include the terminating NULL - otherwise, same fix - thank you! (In reply to Chris Liddell (chrisl) from comment #3) > + currentuserparams /ICCProfilesDir known {currentuserparams /ICCProfilesDir get} if That doesn't have * at the end does it? I think you need this: currentuserparams /ICCProfilesDir known {[currentuserparams /ICCProfilesDir get] (*) .generate_dir_list_templates} if (In reply to Tijl Coosemans from comment #4) > (In reply to Chris Liddell (chrisl) from comment #3) > > + currentuserparams /ICCProfilesDir known {currentuserparams /ICCProfilesDir get} if > > That doesn't have * at the end does it? I think you need this: > > currentuserparams /ICCProfilesDir known {[currentuserparams /ICCProfilesDir > get] (*) .generate_dir_list_templates} if Oops, sorry about that. I'l sort it out in a moment. Add in the wildcard character: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13418541a5ae Thanks for noticing. (In reply to Chris Liddell (chrisl) from comment #6) > http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13418541a5ae I haven't tested it, but I don't think you need to copy the tempfilepaths array. You can just use: //tempfilepaths (*) .generate_dir_list_templates |