Crash in GfxICCBasedColorSpace::parse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poppler (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
#0 cmsGetColorSpace (hProfile=0x0) at cmsio0.c:934
#1 0x00007f174b47b438 in GfxICCBasedColo
from /usr/lib/
#2 0x00007f174b47a952 in GfxColorSpace:
from /usr/lib/
#3 0x00007f174b4a0872 in Page::loadThumb
#4 0x00007f174bbb7de9 in poppler_
#5 0x00007f174bdf5b1b in ?? () from /usr/lib/
#6 0x0000557297930bb2 in evince_
thumbnail=
#7 0x00005572979307d0 in main (argc=<optimised out>, argv=<optimised out>) at evince-
getColorSpace, part of lcms, is passed a null pointer.
GfxICCBasedColo
if (hp == 0) {
error(
} else {
cmsHPROFILE dhp = (state != NULL && state->
if (dhp == NULL) dhp = RGBProfile;
unsigned int cst = getCMSColorSpac
unsigned int dNChannels = getCMSNChannels
unsigned int dcst = getCMSColorSpac
hp can't be null, or else we wouldn't be calling cmsGetColorSpace. This means dhp must be NULL, which can only happen if RGBProfile is null.
RGBProfile is set up in GfxColorSpace:
RGBProfile = loadColorProfil
if (RGBProfile == NULL) {
/* use built in sRGB profile */
RGBProfile = cmsCreate_
}
cmsCreate_
I'm not sure what the fix is though.
libpoppler61:
Installed: 0.44.0-3ubuntu2
liblcms2-2:
Installed: 2.7-1ubuntu1
evince:
Installed: 3.22.0-0ubuntu1
On Ubuntu 16.10 amd64.