[Poppler-bugs] [Bug 15606] Reproducible segfault of Poppler when selecting text

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 18 07:08:35 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15606





--- Comment #5 from Marek Kasik <mkasik at redhat.com>  2008-11-18 07:08:34 PST ---
Created an attachment (id=20409)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=20409)
proposed patch

Hi,
this is caused by different sizes of bounding boxes of words and bounding boxes
of lines.
This can happen for a special character in a line. Height of the bounding box
of such line is then higher than bounding boxes of normal words.
If user double clicks in the space inside bounding box of such a line, but
outside bounding box of the closest word, then the application crashes.
(it crashes after searching for the beginning of the selection, because
beginning word is not hit but it is supposed that it was hit)
The attached patch avoids crashing by simple cancellation of such a selection.

  Regards

    Marek


How to reproduce:
1) Open a document in Evince (zoom 400%).
2) Find a line with a special character (lower index, for example).
3) Double click to space between this line and the line below this one (not
close to the word containing the special character). - try this several times
with different vertical positions between those lines


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list