Bug 104202 - MCID object is wrong type (integer)
Summary: MCID object is wrong type (integer)
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 00:19 UTC by novalazy+freedesktop
Modified: 2018-01-03 22:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description novalazy+freedesktop 2017-12-11 00:19:54 UTC
In StructElement::parseChild there is an inverted test from commit 9773c153:

    Object mcidObj = childObj->dictLookup("MCID");
    if (mcidObj.isInt()) {
      error(errSyntaxError, -1, "MCID object is wrong type ({0:s})", mcidObj.getTypeName());
      return NULL;
    }
Comment 1 Adrian Johnson 2017-12-11 07:40:45 UTC
The first patch in bug 103912 fixes this.
Comment 2 Albert Astals Cid 2018-01-03 22:46:52 UTC
I've commited only that very first fix since bug 103912 contains lots of stuff and some of it is still unreviewed/uncommited.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.