Bug 188448 - Cannot see Japanese ps in SAFER mode
Summary: Cannot see Japanese ps in SAFER mode
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 5
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-10 06:09 UTC by Mamoru TASAKA
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-17 17:05:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A log of gs in SAFER mode for the test case (2.56 KB, text/plain)
2006-04-10 06:09 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2006-04-10 06:09:59 UTC
Description of problem:
Some Japanese ps file cannot be seen by gs in -dSAFER mode. One of the test case
is https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=116960  (in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163663 ).
Other applications such as evince (in core), gv (in extras) invoke gs in SAFER
mode, so some Japanese ps files (such as the test case) cannot be seen.

Removing -dSAFER option may cause some security hole.

Version-Release number of selected component (if applicable):
ghostscript-8.15.1-7 fonts-japanese-0.20050222-11.1

How reproducible:
100%

Steps to Reproduce:
1. Download a Japanese ps file
2.  See the ps file with gs in SAFER mode
3. 
  
Actual results:
I cannot see ps file with gs (see the attachment file log)

Expected results:
Can see ps file in SAFER mode

Additional info:
When I try gs -h,
Search path:
   . : /usr/share/ghostscript/8.15/lib :
   /usr/share/ghostscript/8.15/Resource : /usr/share/ghostscript/fonts :
   /usr/share/fonts/default/ghostscript : /usr/share/fonts/default/Type1 :
   /usr/share/fonts/default/amspsfnt/pfb :
   /usr/share/fonts/default/cmpsfont/pfb : /etc/ghostscript

/usr/share/fonts/japanese is not included in the search path. When I add
/usr/share/fonts/japanese to GS_LIB environment, gs works correctly with SAFER mode.

Comment 1 Mamoru TASAKA 2006-04-10 06:09:59 UTC
Created attachment 127536 [details]
A log of gs in SAFER mode for the test case

Comment 2 Tim Waugh 2006-04-10 10:37:01 UTC
Fixed for Fedora Core devel in 8.15.1-9.

Comment 3 Tim Waugh 2006-04-10 11:05:44 UTC
Queued for FC5 test update.

Comment 4 Mamoru TASAKA 2006-04-10 16:58:38 UTC
FC5 test update version ghostscript-8.15.1-7.2 works WELL for me.
Thanks!!

Comment 5 Fedora Update System 2006-04-10 21:24:42 UTC
Fixed in ghostscript-8.15.1-7.2.

Comment 6 Mamoru TASAKA 2006-04-17 17:05:41 UTC
Current rawhide ghostscript-8.15.1-9 works WELL for me and I close this bug as
FIXED RAWHIDE.


Note You need to log in before you can comment on or make changes to this bug.