<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:pdknsk@gmail.com" title="pdknsk <pdknsk@gmail.com>"> <span class="fn">pdknsk</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - heap-buffer-overflow in Splash::fillGlyph2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106060">bug 106060</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDINFO
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - heap-buffer-overflow in Splash::fillGlyph2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106060#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - heap-buffer-overflow in Splash::fillGlyph2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106060">bug 106060</a>
from <span class="vcard"><a class="email" href="mailto:pdknsk@gmail.com" title="pdknsk <pdknsk@gmail.com>"> <span class="fn">pdknsk</span></a>
</span></b>
<pre>I'm not passing any parameters, other than the page of course. I'm using code
similar to poppler-render. The missing puzzle piece for reproducing it with
poppler-render is the render hint.
--- a/cpp/tests/poppler-render.cpp
+++ b/cpp/tests/poppler-render.cpp
@@ -99,7 +99,6 @@ int main(int argc, char *argv[])
poppler::page_renderer pr;
pr.set_render_hint(poppler::page_renderer::antialiasing, true);
- pr.set_render_hint(poppler::page_renderer::text_antialiasing, true);
poppler::image img = pr.render_page(p.get());
if (!img.is_valid()) {
$ cpp/tests/poppler-render poppler-106060.pdf -o tmp.png
==12125==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x60300000e1b2 at pc 0x0000008af076 bp 0x7ffe4f363510 sp 0x7ffe4f363508
READ of size 1 at 0x60300000e1b2 thread T0
#0 0x8af075 in Splash::fillGlyph2(int, int, SplashGlyphBitmap*, bool)
poppler/splash/Splash.cc:2889:59
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>