Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80172 - libXpm: XpmReadFileToImage: error loading *.xpm.gz
Summary: libXpm: XpmReadFileToImage: error loading *.xpm.gz
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 00:49 UTC by Pavel Semerad
Modified: 2005-02-03 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Semerad 2005-01-31 00:49:59 UTC
I have installed xorg-x11-6.8.0-r4 . Someone at Xorg changed handling of
compressed files in libXpm library. Instead of popen there is now s_popen
(s_popen.c in Xpm directory). XpmReadFileToImage prepared command
'gunzip -qc "filename.xpm.gz"' and doublequotes are problem now, because s_popen
does not handle quotes and is calling gunzip with filename.xpm.gz in quotes, and
of course this filename doesn't exist.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-31 08:17:50 UTC
Can you test 6.8.1.902 and confirm that the problem also exists there?

The change is part of a security fix.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-03 21:29:52 UTC
I can't reproduce this with >=6.8.1.902, using sxpm on http://linux.tkdack.com/downloads/grub/penguins.xpm.gz. Reopen if you can.