Bug 85276

Summary: [pdftops] Floating point exception in PSOutputDev.cc:3232
Product: poppler Reporter: MH <ravdune+bugzilla>
Component: utilsAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: fdo-bugs, hanno
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: segfault-PSOutputDev.cc:3232.pdf
150-unfuzzed.pdf

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.