Bug 212867 - graphics/poppler: crash in getDocInfoStringEntry (poppler version 0.46)
Summary: graphics/poppler: crash in getDocInfoStringEntry (poppler version 0.46)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Olivier Duchateau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-20 21:10 UTC by Bengt Ahlgren
Modified: 2016-09-23 08:30 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
Fix abord document (crash) (1.37 KB, patch)
2016-09-22 06:35 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bengt Ahlgren 2016-09-20 21:10:37 UTC
Version 0.46 unfortunately has a known bug making it crash in getDocInfoStringEntry for many pdfs - see https://bugs.freedesktop.org/show_bug.cgi?id=97134. This hit me when opening a pdf from google slides in okular. Poppler version 0.47 is said to fix this...
Comment 1 Olivier Duchateau freebsd_committer freebsd_triage 2016-09-22 06:35:35 UTC
Created attachment 175045 [details]
Fix abord document (crash)

Could you test this patch, please.
Comment 2 Bengt Ahlgren 2016-09-22 21:22:21 UTC
Thanks for the quick response! Okular no longer crashes with that patch for the problematic pdf.

But isn't it better to just update poppler to version 0.47?
Comment 3 Olivier Duchateau freebsd_committer freebsd_triage 2016-09-22 21:44:55 UTC
(In reply to Bengt Ahlgren from comment #2)

No, because odd releases are considered as unstables.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-09-23 08:17:48 UTC
A commit references this bug:

Author: olivierd
Date: Fri Sep 23 08:17:04 UTC 2016
New revision: 422651
URL: https://svnweb.freebsd.org/changeset/ports/422651

Log:
  - Add patch, which fixes crashes of viewers based on Poppler
  - Bump PORTREVISION

  PR:		212867
  Reported by:	Bengt Ahlgren
  Obtained from:	Upstream repository

Changes:
  head/graphics/poppler/Makefile
  head/graphics/poppler/files/patch-poppler_PDFDoc.cc
Comment 5 Olivier Duchateau freebsd_committer freebsd_triage 2016-09-23 08:18:37 UTC
Committed.
Comment 6 Bengt Ahlgren 2016-09-23 08:30:07 UTC
(In reply to Olivier Duchateau from comment #3)

OK, fair enough - thanks for the quick fix!