[Poppler-bugs] [Bug 24733] New: Incorrect movie size types

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 26 06:12:18 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24733

           Summary: Incorrect movie size types
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: igorenbein at finjan.com


Created an attachment (id=30694)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=30694)
Patch to the problem

Hello,

I am using version 0.12.0. 
Due to absence of isInt() check, poppler crashes at Annot.cc 

          width = aspect->get(0, &tmp)->getInt(); (line 3542)

          and

          height = aspect->get(1, &tmp)->getInt();  (line 3544)

Moreover, thе attached file (link to it
http://www.hinduismtoday.com/archives/2006/1-3/pdf/section-4_2006-01-01_p68-69.pdf)
does not contains integers at width/height array. It contains doubles. I think
that we should change it to getNum() instead of getInt(). This leads us to do
more changes over the project, such as change of QSize to QSizeF. Patch is
attached.

Regards,
Ilya Gorenbein


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list