Summary: | heap-buffer-overflow in Splash::fillGlyph2 | ||
---|---|---|---|
Product: | poppler | Reporter: | pdknsk <pdknsk> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
pdknsk
2018-04-16 01:14:15 UTC
Created attachment 138856 [details]
PDF
Can't reproduce it. Which program are you using? is it custom made? If so i'll need to know the parameters you pass to render_page 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 ... Are you sure it's with that file? With that file poppler_render doesn't get into fillGlyph2 for me Yes, I re-downloaded to verify. I'm thinking this might be related to installed fonts, but since the PDF has an embedded font, it seems unlikely. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/107. |
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.