page.get_link_mapping segfaults

Bug #226252 reported by Tobias Eberle
4
Affects Status Importance Assigned to Milestone
Poppler Python Bindings
Fix Released
Undecided
Unassigned

Bug Description

if a page contains links and get_link_mapping() is called, a segfault is raised. See the attached example. The same happens with get_image_mapping(). If the page doesn't contain links/images the functions return an empty list without segfaulting.

Revision history for this message
Tobias Eberle (tobias-eberle) wrote :
Revision history for this message
Gian Mario Tagliaretti (gianmt) wrote :

Tobias,

many thanks for your bug report, I have a fix for this but I'm also updating the bindings to the 0.8 poppler release.
do you need a fix and a release for the 0.6 branch or you can wait for the 0.8?

Revision history for this message
Tobias Eberle (tobias-eberle) wrote :

Hi,

depends on how long it takes to the 0.8 release but for the moment I can wait.

Thanks for fixing.

Changed in poppler-python:
status: New → Fix Committed
Revision history for this message
Gian Mario Tagliaretti (gianmt) wrote :

The bug has been fixed and pypoppler-0.8.0 released.

Changed in poppler-python:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.