Bug 347793 - Okular crashes when opening a .doc file which is named as .pdf file.
Summary: Okular crashes when opening a .doc file which is named as .pdf file.
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.21.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-16 12:43 UTC by Xuân Baldauf
Modified: 2017-03-28 22:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuân Baldauf 2015-05-16 12:43:02 UTC
The PDF reader code crashes when presented with a file which does not satisfy the PDF specification.

Reproducible: Always

Steps to Reproduce:
1. Open LibreOffice Writer. Create an empty LibreOffice Writer document. 
2. Save that LibreOffice Writer document as "empty.doc".
3. Rename that file from "empty.doc" to "empty.doc.pdf".
4. Open this file using Okular.

Actual Results:  
Okular crashes.

Expected Results:  
Okular should either display the file or provide an error message that the file is not readable as PDF.
Comment 1 Albert Astals Cid 2015-05-24 04:12:56 UTC
Please paste the crash backtrace

And attach the file you're using.
Comment 2 Christoph Feck 2015-06-23 22:14:45 UTC
If you can provide the information requested in comment #1, please add it.

For more information, please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 Christoph Feck 2015-07-18 21:55:49 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Albert Astals Cid 2017-03-28 22:21:06 UTC
No answer for years