Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265683 - x11-libs/libXfont-1.3.4: crashes the X server with bzip2 support enabled (always on gentoo)
Summary: x11-libs/libXfont-1.3.4: crashes the X server with bzip2 support enabled (alw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 18:11 UTC by Sytse Wielinga
Modified: 2009-04-29 13:08 UTC (History)
1 user (show)

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


Attachments
Bugfix for a bug that causes anything using libXfont to crash in some cases (libXfont-1.3.4-bzip2-fix.patch,852 bytes, patch)
2009-04-10 18:13 UTC, Sytse Wielinga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sytse Wielinga 2009-04-10 18:11:19 UTC
The bzip2 patch for libXfont, that was merged after 1.3.3, has a bug that causes it to crash when reading .bdf.gz, .bdf.bz2 or .pmf files. As /usr/bin/X is linked with libXfont, it may crash in some cases.

The developer of the bzip2 patch overlooked it because of the horrific way pmf support was implemented in libXfont; luckily, just after 1.3.4, pmf support was removed, so 1.3.4 is and will be the only version affected.

Attached is a dead simple patch that fixes the problem. In attendance of an upstream patch (I will post the patch upstream too), please release 1.3.4-r1 with this patch, and mask 1.3.4.

Reproducible: Always
Comment 1 Sytse Wielinga 2009-04-10 18:13:34 UTC
Created attachment 187908 [details, diff]
Bugfix for a bug that causes anything using libXfont to crash in some cases
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-10 23:20:35 UTC
please post your emerge --info too.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-04-19 22:33:40 UTC
I think we can move libXfont 1.4.0 to portage now. I've already backported the necessary patches into 1.5.3-r3 or -r4.

This could be a simpler way out...

@x11, this needs to be checked though, I'll try to get to it in a week or so.

Thanks
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-04-29 13:08:41 UTC
libXfont 1.4.0 is now in ~arch, closing.

Thanks