[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-16 Thread Julian Andres Klode
*** This bug is a duplicate of bug 1849773 ***
https://bugs.launchpad.net/bugs/1849773

This is a duplicate of bug 1849773

** This bug has been marked a duplicate of bug 1849773
   
/usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-16 Thread Mue Fom
Bug was introduced by LP #1830473  (Does not handle glyphless fonts, as
used by tesseract)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-11 Thread Mue Fom
Please find attached a sample PDF demonstrating the problem.

It was produced by pdflatex on this file:

%%
% -*- compile-command: "pdflatex t1-test && evince t1-test.pdf" -*-
\documentclass[12pt,a4paper]{article}

% \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}

Just a little test:

Try to select some text in evince!

\end{document}
%%


** Attachment added: "sample pdf"
   
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+attachment/5311733/+files/t1-test.pdf

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: poppler (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-08 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fixes a possible NULL ptr dereference in
TextSelectionPainter::hasGlyphLessFont()" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  New

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp