On 2011-09-17 14:09:40 -0400, Michael Gilbert wrote:
> I'm not very happy about this regression, and I don't want it making
> it's way into testing, so I'm making this an RC issue.
> 
> Also, I don't foresee having enough time to work on this for a while,
> so I'm looking for help; primarily in the form of debugging to figure
> out where font loading/parsing is going wrong on these files.

I don't know whether this is related (perhaps since this involves
font settings), but a strace with xpdf 3.02-21 gives:

[...]
14121 open("/home/vinc17/.xpdfrc", O_RDONLY) = -1 ENOENT (No such file or 
directory)
14121 open("/etc/xpdf/xpdfrc", O_RDONLY) = 3
14121 fstat(3, {st_mode=S_IFREG|0644, st_size=3852, ...}) = 0
14121 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7f4087217000
14121 read(3, "#==============================="..., 4096) = 3852
14121 open("/etc/xpdf/includes", O_RDONLY) = 5
14121 fstat(5, {st_mode=S_IFREG|0644, st_size=702, ...}) = 0
14121 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7f4087216000
14121 read(5, "# PLEASE DO NOT EDIT THIS FILE D"..., 4096) = 702
14121 open("/usr/share/xpdf/xpdfrc-arabic", O_RDONLY) = 6
14121 fstat(6, {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
14121 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7f4087215000
14121 read(6, "#----- begin Arabic support pack"..., 4096) = 187
14121 read(6, "", 4096)                 = 0
14121 close(6)                          = 0
[...]

while with xpdf 3.03-4, I get:

[...]
14752 open("/home/vinc17/.xpdfrc", O_RDONLY) = -1 ENOENT (No such file or 
directory)
14752 open("xpdfrc", O_RDONLY)          = -1 ENOENT (No such file or directory)
14752 open("/usr/share/ghostscript/fonts/n022003l.pfb", O_RDONLY) = -1 ENOENT 
(No such file or directory)
14752 open("/usr/local/share/ghostscript/fonts/n022003l.pfb", O_RDONLY) = -1 
ENOENT (No such file or directory)
14752 open("/usr/share/fonts/default/Type1/n022003l.pfb", O_RDONLY) = -1 ENOENT 
(No such file or directory)
14752 open("/usr/share/fonts/default/ghostscript/n022003l.pfb", O_RDONLY) = -1 
ENOENT (No such file or directory)
14752 open("/usr/share/fonts/type1/gsfonts/n022003l.pfb", O_RDONLY) = 3
14752 close(3)                          = 0
14752 open("/usr/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 ENOENT 
(No such file or directory)
14752 open("/usr/local/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 
ENOENT (No such file or directory)
14752 open("/usr/share/fonts/default/Type1/n022004l.pfb", O_RDONLY) = -1 ENOENT 
(No such file or directory)
14752 open("/usr/share/fonts/default/ghostscript/n022004l.pfb", O_RDONLY) = -1 
ENOENT (No such file or directory)
14752 open("/usr/share/fonts/type1/gsfonts/n022004l.pfb", O_RDONLY) = 3
14752 close(3)                          = 0
[...]

This seems to be the first difference.

BTW, since the xpdfrc file is the current directory (if I understand
correctly) is read, this could be a security hole, depending on what
is possible with it.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to