Bug 85276 - [pdftops] Floating point exception in PSOutputDev.cc:3232
Summary: [pdftops] Floating point exception in PSOutputDev.cc:3232
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 06:39 UTC by MH
Modified: 2016-09-04 13:31 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
segfault-PSOutputDev.cc:3232.pdf (2.01 KB, application/pdf)
2014-10-21 06:39 UTC, MH
Details
150-unfuzzed.pdf (2.01 KB, application/pdf)
2014-10-21 13:49 UTC, MH
Details

Description MH 2014-10-21 06:39:42 UTC
Created attachment 108150 [details]
segfault-PSOutputDev.cc:3232.pdf

OS: Fedora 20 (running in virtualbox)
Dependencies installed with: yum-builddep poppler
Version: GIT Master
Command line for loop demonstration: master/utils/pdftops <attached.pdf> /dev/null

#############################################################################
GDB output:

Reading symbols from /home/foobar/poppler/utils/.libs/lt-pdftops...done.
Starting program: /home/foobar/poppler/utils/.libs/lt-pdftops segfault-psoutputdev.cc-3232-150-pdftopsfuzz-6.pdf /dev/null

Program received signal SIGFPE, Arithmetic exception.
0x00007ffff7acb598 in PSOutputDev::checkPageSlice (this=0x642070, page=0x641c70, rotateA=<optimized out>, useMediaBox=<optimized out>, crop=false, sliceX=0,
    sliceY=0, sliceW=-2147483648, sliceH=2362, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0)
    at PSOutputDev.cc:3232
3232      stripeH = (sliceH + nStripes - 1) / nStripes;
Comment 1 MH 2014-10-21 13:49:02 UTC
Created attachment 108187 [details]
150-unfuzzed.pdf

Attached unfuzzed file as per request.


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.