fc-cache segfaults when scanning an italic BDF font with empty SETWIDTH_NAME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fontconfig (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Binary package hint: fontconfig
Steps to reproduce:
1. Save the attached .bdf font into an empty, temporary directory.
2. Run the following command:
fc-cache .
Expected results:
- fc-cache scans the directory, finds no usable fonts, quits cleanly.
Actual results:
- Segmentation fault.
Notes: Deleting either of the properties in the font prevents the crash, as does changing the value of "SETWIDTH_NAME" to be non-empty.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: fontconfig 2.6.0-1ubuntu4
ProcEnviron:
PATH=/
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: fontconfig
Uname: Linux 2.6.27-11-generic i686
visibility: | private → public |
I'm tagging as Security because not only the attached file crashed fc-cache but also the whole session.