Bug 61168 - Wrong height variable used in call for listImage in ImageOutputDev::drawSoftMaskedImage
Summary: Wrong height variable used in call for listImage in ImageOutputDev::drawSoftM...
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium trivial
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 14:04 UTC by Thomas
Modified: 2013-02-20 20:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas 2013-02-20 14:04:23 UTC
I am quite sure I found a minor copy&paste error in utils/ImageOutputDev.cc.
In function ImageOutputDev::drawSoftMaskedImage, function listImage is called twice (once for the image itself, once for the mask). The second call uses the original image's height variable instead of maskHeight. Compare to surrounding functions' use of maskHeight.
Comment 1 Albert Astals Cid 2013-02-20 20:08:00 UTC
Fixed, thanks


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.